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

Recommended IOS Programming App

Oct 25, 2016
Programming
App

How to set up your own cloud storage

Oct 23, 2016

Vdisk shut down, 360yunpan shut down. It seems that we are losing every alternatives to store file on cloud. Buying more removable disk is not the solution. In fact, the best option is setting up your own cloud storage service.

Today I’m going to guide you to set up owncloud service. owncloud is an open source & free platform to store & share your files from all your devices(Including web/mobile/desktop). You could set it up for your own or share the service with your friends or family. I’d introduce you both ways to do so.

cloud
owncloud