How to set up Nginx reverse proxy for Blocked Websites

Mar 10, 2017

Today I’ll guide you the set up an nginx server to host mirrors for blocked websites.

So you can visit them freely in restricted areas.

You’ll need a server that can access those blocked websites as well as can be accessed by your local machine.

If you haven’t got one, follow the very first step of this former tutorial.

linux
nginx

Use Atom as your Markdown editor

Feb 15, 2017

I’ve tested all the popular text/markdown editors on Valentine’s Day.

Including:

As a front-end developer who often write technical articles on github, I found that the best writing editor for me is Atom.

Baidu IFE warmup tasks solutions

Feb 15, 2017

IFE Answers

1.umbrella

Use your imagination, you could even draw three lines to pass this task.

My Amazon Books Wish List

Feb 14, 2017

The Amazon wish list has many bugs.I even can not share it to my friends via URL.

So I use two lines JavaScript to convert them into markdown:

list = $$('h5 a')
list.forEach(function(link){console.log('* ['+link.innerText+']' + '('+link.href+')')})
js
amazon

Fix php strtotime bug on 32bit server

Feb 2, 2017

You may get an integer overflow bug if you’re using strtotime on a 32bit server.

This was the Y2K38 problem.

The UNIX timestamp will reach the int variable limitation on 32bit OS at 19 January 2038.

However, we can fix this bug by using a customized function:

php

How to set up your own shadowsocks

Nov 30, 2016

史上最简单的从零开始Shadowsocks教程

1.打开搬瓦工VPS推荐站

shadowsocks