Skip to content

Instantly share code, notes, and snippets.

While the world sleeps, I dream

icyleaf icyleaf

While the world sleeps, I dream
View GitHub Profile
icyleaf /
Last active Apr 25, 2017

Initd template for rails with sidekiq

icyleaf / cloudSettings
Last active Nov 26, 2020
Visual Studio Code Sync Settings Gist
View cloudSettings
icyleaf /
Last active Aug 1, 2016
Save all docker images to disk & Load archive file to docker.
for file in $(ls *.tar); do
echo "load $file"
docker load -i $file

icyleaf's atom settings, automatic update by sync-settings

View tmux-cheatsheet.markdown

tmux shortcuts & cheatsheet

start new:


start new with session name:

tmux new -s myname
icyleaf / surge_main.conf
Created May 12, 2016 — forked from jason5ng32/surge.conf
Surge Configs ( Both 2 files are needed )
View surge_main.conf
loglevel = notify
skip-proxy =,,,,
bypass-tun =,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,
# create self-signed server certificate:
# source:
read -p "Enter your domain []: " DOMAIN
echo "Create server key..."
openssl genrsa -des3 -out $DOMAIN.key 1024

PS4 网络环境优化

0 案例环境

  • 中国电信 100M 宽带接入,局域网段 192.168.1/24,光猫拥有管理员权限(后继需要);
  • NetGear WNDR3700v2 跑 OpenWRT 作为家庭主路由器, WAN IP,局域网段 10.10.10/24
  • PS4 无线连家庭网络(主),IP;有线连光猫(备),IP
View ibrute.rb
#!/usr/bin/env ruby
require 'plist'
require 'rest_client'
def try_pass(apple_id, password)
url = "{apple_id}/initClient"
basicOauth = Base64.encode64("#{apple_id}:#{password}")
headers = {
You can’t perform that action at this time.