This file contains hidden or 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
"name": "yspb", | |
"version": "1.0.0", | |
"description": "", | |
"main": "index.js", | |
"scripts": { | |
"test": "echo \"Error: no test specified\" && exit 1" | |
}, | |
"author": "", | |
"license": "ISC", |
This file contains hidden or 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
Australia=AU | |
Austria=AT | |
Brazil=BR | |
Canada=CA | |
China=CN | |
Denmark=DK | |
Finland=FI | |
France=FR | |
Germany=DE | |
Hong Kong=HK |
This file contains hidden or 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
//full color names list | |
const colors = [ | |
{ name: "absolute zero", hex: '#0048BA', lab: { L: 34, A: 28, B: -65 }, light: false }, | |
{ name: "acajou", hex: '#4C2F27', lab: { L: 23, A: 12, B: 11 }, light: false }, | |
{ name: "acid green", hex: '#B0BF1A', lab: { L: 74, A: -23, B: 71 }, light: true }, | |
{ name: "aero", hex: '#7CB9E8', lab: { L: 73, A: -7, B: -30 }, light: true }, | |
{ name: "aero blue", hex: '#C9FFE5', lab: { L: 96, A: -22, B: 7 }, light: true }, | |
{ name: "african violet", hex: '#B284BE', lab: { L: 61, A: 28, B: -23 }, light: true }, | |
{ name: "air force blue", hex: '#5D8AA8', lab: { L: 55, A: -7, B: -21 }, light: true }, | |
{ name: "air superiority blue", hex: '#72A0C1', lab: { L: 64, A: -7, B: -22 }, light: true }, |
This file contains hidden or 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
{ | |
"presets": [ | |
"@babel/preset-env", | |
"@babel/preset-react" | |
] | |
} |
This file contains hidden or 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
{ | |
"presets": [ | |
"@babel/preset-env", | |
"@babel/preset-react" | |
] | |
} |
This file contains hidden or 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
[Unit] | |
Description=sshfs service script | |
Requires=network-online.target network.target | |
After=network-online.service network.target | |
[Install] | |
WantedBy=multi-user.target | |
[Service] | |
Type=simple |
This file contains hidden or 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
#! /bin/sh | |
### BEGIN INIT INFO | |
# Provides: sockd | |
# Required-Start: $remote_fs $syslog | |
# Required-Stop: $remote_fs $syslog | |
# Default-Start: 2 3 4 5 | |
# Default-Stop: 0 1 6 | |
# Short-Description: Start the dante SOCKS server. | |
# Description: SOCKS (v4 and v5) proxy server daemon (sockd). | |
# This server allows clients to connect to it and |
This file contains hidden or 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
logoutput: /var/log/socks.log | |
internal: eth0 port = 1080 | |
external: eth0 | |
socksmethod: username | |
user.privileged: root | |
user.notprivileged: nobody | |
client pass { |
This file contains hidden or 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
#make directories | |
mkdir /git | |
mkdir /db | |
mkdir /db/modules | |
mkdir /downloads | |
#update packages, install gcc and redis | |
add-apt-repository ppa:chris-lea/redis-server -y && \ | |
apt-get update && \ | |
apt-get upgrade -y && \ |
This file contains hidden or 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
[Unit] | |
Description=Redis In-Memory Data Store | |
After=network.target | |
[Service] | |
User=redis | |
Group=redis | |
ExecStart=/usr/local/bin/redis-server /db/redis.conf | |
ExecStop=/usr/local/bin/redis-cli shutdown | |
Restart=always |
NewerOlder