rockdai / rockdai.github.io Goto Github PK
View Code? Open in Web Editor NEWwww.rockdai.com
www.rockdai.com
由于安装的是 Python 版本的 Shadowsocks ,所以首先安装 pip。
$ sudo yum -y install epel-release
$ sudo yum -y install python-pip
$ pip install --upgrade pip
$ pip install shadowsocks
$ vi /etc/shadowsocks.json
配置文件内容:
{
"server": "0.0.0.0",
"server_port": <port>,
"local_address": "127.0.0.1",
"local_port": 1080,
"password": "<password>",
"timeout": 600,
"method": "aes-256-cfb"
}
$ vi /etc/systemd/system/shadowsocks.service
配置内容:
[Unit]
Description=Shadowsocks
[Service]
TimeoutStartSec=0
ExecStart=/usr/bin/ssserver -c /etc/shadowsocks.json
[Install]
WantedBy=multi-user.target
执行以下命令启动服务:
systemctl enable shadowsocks
systemctl start shadowsocks
查看服务状态:
systemctl status shadowsocks -l
$ tail -f /var/log/shadowsocks.log
yo
Hey
请参照以下步骤配置您的设备:
3. 选中「使用自动配置脚本」,然后复制分配给您的 PAC 脚本地址,并将其粘贴在「地址」一栏
4. 注意:「复制」和「粘贴」,只有这么两个动作
5. 一路点击「确定」
6. 如果你使用 Firefox 或 Chrome 浏览器,确认禁用了各种代理插件
7. Spotify、Dropbox、终端(包括iTerm)等程序需要单独设置
8. 大功告成!
'use strict';
const Obj = {
yo: function () {
console.log(this);
}
};
Obj.yo(); // { yo: [Function] }
let x = Obj.yo;
x(); // undefined
以前居然不知道。
A declarative, efficient, and flexible JavaScript library for building user interfaces.
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google ❤️ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.