ubuntu 使用shadowsocks要点

其实很简单,最近openvpn实在无法使用了,只有死磕shadowsocks。

在搬瓦工上,重点是使用iptable配置防火墙。

在Azure上,重点是使用0.0.0.0作为服务器地址,以及要打开虚拟机的endpoint,穿过防火墙。

另外也可以搜索一些免费的shadowsocks服务器,不过不是很推荐用于很私人的信息比如访问登陆邮件什么的。

how to run and debug JavaScript code snippet

Mostly I use these methods to run JavaScript code snippet.

1) c9.io

It is a online coding IDE, you could get most convenient abilities, including editing, running, debugging.

2) VisualStudio Code

You could download from https://code.visualstudio.com/. about how to debug, you could refer to the document https://code.visualstudio.com/Docs/debugging

3) FireFox developer tools

FireFox has one Scratchpad feature, but I don’t use it too much.

My suggestion about technical learning – first step

Actions in first step:

1, register on github.com, and star the projects you are interested in.

2, register on codeproject.com, and download the demo code to study.

3, register on inoreader.com or other RSS online website, and subscribe the blogs you like, especially English blogs.

4, register on getpocket.com, and save the articles you are interested in.

For your reference.

Bandwagon VPS安装openVPN记录

https://bandwagonhost.com/aff.php?aff=1651

步骤太简单了:先买一个VPS,我选择的是安装Ubuntu-14-min版本。

接下来跑这个脚本就可以 https://github.com/Nyr/openvpn-install,连接速度快过bandwagon自带的openvpn安装。

然后装个nginx加php,https://www.howtoforge.com/installing-nginx-with-php5-and-php-fpm-and-mysql-support-lemp-on-ubuntu-12.04-lts 唯一花了点时间的就是php-fpm用的是unix socket,在/etc/nginx下面的配置和文章中提到的不一样。查了SO,这里有提到 http://stackoverflow.com/questions/10003978/php-fpm-and-nginx-502-bad-gateway

现在终于什么youtube,twitter都可以上啦。