apt-get install python-pip
pip install shadowsocks
sudo ssserver -p 443 -k password -m aes-256-cfb --user nobody -d start
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
# $OpenBSD: sshd_config,v 1.100 2016/08/15 12:32:04 naddy Exp $ | |
# This is the sshd server system-wide configuration file. See | |
# sshd_config(5) for more information. | |
# This sshd was compiled with PATH=/usr/local/bin:/usr/bin | |
# The strategy used for options in the default sshd_config shipped with | |
# OpenSSH is to specify options with their default value where | |
# possible, but leave them commented. Uncommented options override the |
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
<html> | |
<style> | |
.outer { | |
padding: 20px; | |
background-color: aqua; | |
} | |
.inner { | |
padding: 40px; | |
background-color: black; |
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
console.log('1, time = ' + new Date().toString()) | |
setTimeout(macroCallback, 0); | |
new Promise(function (resolve, reject) { | |
console.log('2, time = ' + new Date().toString()) | |
resolve(); | |
console.log('3, time = ' + new Date().toString()) | |
new Promise((rs1) => { | |
console.log('rs1') | |
rs1(); | |
}).then(() => { |
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
{"accessToken":"fake","refreshToken":"fake","tokenEndpoint":"https://accounts.google.com/o/oauth2/token","scopes":["openid","https://www.googleapis.com/auth/userinfo.email"],"expiration":2588150347472} |
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
{"lastUpload":"2018-09-25T05:10:50.141Z","extensionVersion":"v3.1.2"} |
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
{"lastUpload":"2018-09-25T05:06:53.836Z","extensionVersion":"v3.1.2"} |
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
apt install git zsh | |
### [ohmyzsh] | |
sh -c "$(curl -fsSL https://raw.github.com/robbyrussell/oh-my-zsh/master/tools/install.sh)" | |
### [docker](https://yeasy.gitbooks.io/docker_practice/content/compose/install.html) | |
1. docker | |
curl -sSL http://acs-public-mirror.oss-cn-hangzhou.aliyuncs.com/docker-engine/internet | sh - | |
2. docker-compose | |
curl -L https://get.daocloud.io/docker/compose/releases/download/1.12.0/docker-compose-`uname -s`-`uname -m` > /usr/local/bin/docker-compose | |
chmod +x /usr/local/bin/docker-compose |
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 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
在黑客世界里,当提出一个技术问题时,你能得到怎样的回答?这取决于挖出答案的难度,同样取决于你提问的方法。本指南旨在帮助你提高发问技巧,以获取你最想要的答案。 | |
首先你必须明白,黑客们只偏爱艰巨的任务,或者能激发他们思维的好问题。 如若不然,我们还来干吗?如果你有值得我们反复咀嚼玩味的好问题,我们自会对你感激不尽。好问题是激励,是厚礼,可以提高我们的理解力,而且通常会暴露我们以前从没意识到或者思考过的问题。对黑客而言,“问得好!”是发自内心的大力称赞。 | |
尽管黑客们有蔑视简单问题和不友善的坏名声,有时看起来似乎我们对新手,对知识贫乏者怀有敌意,但其实不是那样的。 | |
我们不想掩饰对这样一些人的蔑视--他们不愿思考,或者在发问前不去完成他们应该做的事。这种人只会谋杀时间--他们只愿索取,从不付出,无端消耗我们的时间,而我们本可以把时间用在更有趣的问题或者更值得回答的人身上。 我们称这样的人为“失败者”(由于历史原因,我们有时把它拼作“lusers”)。 | |
我们在很大程度上属于志愿者,从繁忙的生活中抽出时间来解惑答疑,而且时常被提问淹没。所以我们无情的滤掉一些话题,特别是抛弃那些看起来象失败者的家伙,以便更高效的利用时间来回答胜利者的问题。 |
NewerOlder