git fetch <remote-origin-name>
git checkout demo
Branch demo set up to track remote branch demo from origin.
Switched to a new branch 'demo'
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
process.stdin.resume(); | |
process.stdin.setEncoding('ascii'); | |
var input_stdin = ""; | |
var input_stdin_array = ""; | |
var input_currentline = 0; | |
process.stdin.on('data', function (data) { | |
input_stdin += data; | |
}); |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Show hidden characters
{ | |
"folders": [{ | |
"path": "src", | |
"folder_exclude_patterns": ["backup"], | |
"follow_symlinks": true | |
}, | |
{ | |
"path": "docs", | |
"name": "Documentation", | |
"file_exclude_patterns": ["*.css"] |
# Launch sublime from bash command line
ln -s "/Applications/Sublime Text.app/Contents/SharedSupport/bin/subl" ~/bin/subl
Usage: subl [arguments] [files] edit the given files
or: subl [arguments] [directories] open the given directories
or: subl [arguments] - edit stdin
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# EditorConfig is awesome: https://EditorConfig.org | |
# top-most EditorConfig file | |
root = true | |
# Unix-style newlines with a newline ending every file | |
[*] | |
end_of_line = lf | |
insert_final_newline = true |
- Backup your
nginx.conf
files (usually under/etc/nginx/sites-available
) - Remove old nginx - nginx incl. nginx-common:
apt-get autoremove --purge nginx nginx-common
- Add sources list for new nginx
Create /etc/apt/sources.list.d/nginx.list
with the following content:
deb http://nginx.org/packages/mainline/ubuntu/ trusty nginx
deb-src http://nginx.org/packages/mainline/ubuntu/ trusty nginx
- nginx starts with root permissions
- that's because any process that requires to run below port
1024
needs elevated privileges - The TCP/IP port numbers below
1024
are special in that normal users are not allowed to run servers on them. This is a security feaure, in that if you connect to a service on one of these ports you can be fairly sure that you have the real thing, and not a fake which some hacker has put up for you.
- but then the trouble arrives when nginx wants to limit the privileges (because, an unrestricted process can do a lot of damage, and this is why
deno
doesn't even have file systems permissions when it starts) - this is why nginx spawns several child processes
- Dogfooding is using an app or feature shortly before it's publically released.
- The term
dogfood
comes from the expression "eating your own dogfood".
- Fishfooding is using an app or feature really early in its development before it's even really finished.
- The term "fishfood" actually comes from the Google+ team inside of Google.
- Google+ was internally codenamed Emerald Sea.
OlderNewer