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
## arrow up | |
"\e[A":history-search-backward | |
## arrow down | |
"\e[B":history-search-forward |
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
var express = require('express'); | |
var app = express(); | |
app.get('/', function (req, res) { | |
res.send('Hello World!') | |
}) | |
Respond to POST request on the root route (/), the application’s home page: | |
app.post('/', function (req, res) { | |
res.send('Got a POST request') |
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
sysctl -w net.ipv6.conf.all.disable_ipv6=1 | |
sysctl -w net.ipv6.conf.default.disable_ipv6=1 | |
#or | |
sudo sh -c 'echo 1 > /proc/sys/net/ipv6/conf/eth0/disable_ipv6' | |
# permanent | |
echo 'blacklist ipv6' >> /etc/modprobe.d/blacklist |
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
Maybe I tried to talk to you | |
'Cause I thought that you looked lonely | |
Or maybe I was lonely too | |
Maybe I asked to go with you | |
Because I thought that I could love you | |
Or maybe I just wanted the company | |
Maybe I'm in love | |
Or maybe I'm in trouble | |
Maybe I’m just fooling you |