See what the Stackoverflow community is most excited about today.
Date: 2017-11-10
-
Sass .scss: Nesting and multiple classes?
tags: sass
188 votes, 2 answers and 125305 views
\r\n I'm using Sass (.scss) for my current project. \n\nFollowing example:\n\nHTML\n\n
\n\r\nSCSS\n\n....\r\n\n Hello World\n\n -
OAuth 2.0: Benefits and use cases — why?
tags: oauth, oauth-2.0
207 votes, 2 answers and 59390 views
\r\n Could anyone explain what's good about OAuth2 and why we should implement it? I ask because I'm a bit confused about it — here's my current thoughts:\n\nOAuth1 (more precisely HMAC) requests seem ...\r\n
-
Do I commit the package-lock.json file created by npm 5?
tags: node.js, git, npm, version-control, lockfile
225 votes, 3 answers and 49366 views
\r\n npm 5 was released today and one of the new features include deterministic installs with the creation of a package-lock.json file.\n\nIs this file supposed to be kept in source control?\n\nI'm assuming it'...\r\n
-
Creating folders inside github.com repo without using Git
tags: git, github, github-services
269 votes, 3 answers and 168389 views
\r\n I want to add a new folder to my newly created GitHub repository without installing the Git setup for (Mac/Linux/Win). Is it possible to do so?\n\nI can't have Git all the time with me when I work on ...\r\n
-
The use of Swift 3 @objc inference in Swift 4 mode is deprecated?
tags: swift, swift4, xcode9-beta
243 votes, 6 answers and 33609 views
\r\n Briefly, while using Xcode 9 Beta, I have run into the following warning:\r\n The use of Swift 3 @objc inference in Swift 4 mode is deprecated. Please address deprecated @objc inference warnings, test ...\r\n
-
What is the difference between github and gist?
tags: git, github, repository, gist
270 votes, 6 answers and 56215 views
\r\n What is the purpose of gist and how is it different from regular code sharing/maintaining using github?\r\n
-
tags: osx, git
207 votes, 4 answers and 124055 views
\r\n I am using git. I did a pull from a remote repo and got an error message: "please enter a commit message to explain why this merge is necessary,especially if it merges an updated upstream into a topic ...\r\n
-
How do I delete (unset) an exported environment variable?
tags: linux, environment-variables, unset
967 votes, 3 answers and 547486 views
\r\n Before installing gnuplot I set the environment variable GNUPLOT_DRIVER_DIR = /home/gnuplot/build/src.\n\nDuring the installation something went wrong; now I want to remove the GNUPLOT_DRIVER_DIR ...\r\n
-
Getting a map() to return a list in Python 3.x
tags: python, list, python-3.x, map-function
267 votes, 7 answers and 162121 views
\r\n I'm trying to map a list into hex, and then use the list elsewhere. In python 2.6, this was easy:\n\nA: Python 2.6:\n\n>>> map(chr, [66, 53, 0, 94])\n['B', '5', '\x00', '^']\r\nHowever, on Python 3....\r\n
-
Notifications for new Github project releases?
tags: github
202 votes, 4 answers and 20053 views
\r\n I'm using a library from a Github project. Is there some way to set up a notification for new project releases?\n\nFor example, I want to know when a new release appears here\n\nI know I can be notified ...\r\n