Skip to content

Instantly share code, notes, and snippets.

@kang000feng
kang000feng / modernIE-downloader.sh
Created June 1, 2016 13:25 — forked from jedihe/modernIE-downloader.sh
Download all VirtualBox VMs from modern IE, for use on a Linux host.
#!/bin/bash
### IE7 - Vista
mkdir -p ~/modernIE-vms/ie7vista
cd ~/modernIE-vms/ie7vista
wget http://virtualization.modern.ie/vhd/IEKitV1_Final/VirtualBox/Linux/IE7_Vista/IE7.Vista.For.LinuxVirtualBox.part1.sfx
wget http://virtualization.modern.ie/vhd/IEKitV1_Final/VirtualBox/Linux/IE7_Vista/IE7.Vista.For.LinuxVirtualBox.part2.rar
wget http://virtualization.modern.ie/vhd/IEKitV1_Final/VirtualBox/Linux/IE7_Vista/IE7.Vista.For.LinuxVirtualBox.part3.rar
wget http://virtualization.modern.ie/vhd/IEKitV1_Final/VirtualBox/Linux/IE7_Vista/IE7.Vista.For.LinuxVirtualBox.part4.rar
wget http://virtualization.modern.ie/vhd/IEKitV1_Final/VirtualBox/Linux/IE7_Vista/IE7.Vista.For.LinuxVirtualBox.part5.rar
@kang000feng
kang000feng / sysctl.conf
Created May 30, 2016 09:35 — forked from chenshaoju/sysctl.conf
sysctl.conf
#
# /etc/sysctl.conf - Configuration file for setting system variables
# See /etc/sysctl.d/ for additonal system variables
# See sysctl.conf (5) for information.
#
#kernel.domainname = example.com
# Uncomment the following to stop low-level messages on console
#kernel.printk = 3 4 1 3
Microsoft (R) Windows Debugger Version 6.12.0002.633 AMD64
Copyright (c) Microsoft Corporation. All rights reserved.
Loading Dump File [D:\ShareFiles\052916-10500-01.dmp]
Mini Kernel Dump File: Only registers and stack trace are available
Symbol search path is: SRV*D:\symbols\*http://msdl.microsoft.com/download/symbols
Executable search path is:
@kang000feng
kang000feng / shadowsocks_goagent.md
Created May 24, 2016 17:39 — forked from vmlinz/shadowsocks_goagent.md
Shadowsocks with goagent through meow proxy

Shadowsocks with goagent

前几天写了一个GoAgent开多线程教程,里面提到使用Shadowsocks前置代理GoAgent,一直有网友发帖问如何操作,现在明确一下具体作法。
(只讨论在windows下)


ss前置代理GoAgent主要适用于SS看视频慢的用户。因为ss没有大文件自动分段下载功能,下载大文件(看视频)的时候会产生持续的tcp连
接。这种持续的tcp连接很容易被GFW干扰GoAgent有一个独特的“大文件自动分段下载”功能,且可以多线程下载。多线程可以加快下载速度,
自动分段可以避免产生持续的tcp连接,减少被GFW干扰的可能。ss前置代理GoAgent的目的就是使用GoAgent的“大文件自动分段下载”使ss不

产生持续的tcp连接,多线程加快下载速度,改善视频体验。

@kang000feng
kang000feng / surge_main.conf
Created November 1, 2015 09:49 — forked from jason5ng32/surge.conf
Surge Configs ( Both 2 files are needed )
[General]
loglevel = notify
skip-proxy = 192.168.0.0/16, 10.0.0.0/8, 172.16.0.0/12,127.0.0.0/24,100.64.0.0/10
bypass-tun = 0.0.0.0/8, 1.0.0.0/9, 1.160.0.0/11, 1.192.0.0/11, 10.0.0.0/8, 14.0.0.0/11, 14.96.0.0/11, 14.128.0.0/11, 14.192.0.0/11, 27.0.0.0/10, 27.96.0.0/11, 27.128.0.0/9, 36.0.0.0/10, 36.96.0.0/11, 36.128.0.0/9, 39.0.0.0/11, 39.64.0.0/10, 39.128.0.0/10, 42.0.0.0/8, 43.224.0.0/11, 45.64.0.0/10, 47.64.0.0/10, 49.0.0.0/9, 49.128.0.0/11, 49.192.0.0/10, 54.192.0.0/11, 58.0.0.0/9, 58.128.0.0/11, 58.192.0.0/10, 59.32.0.0/11, 59.64.0.0/10, 59.128.0.0/9, 60.0.0.0/10, 60.160.0.0/11, 60.192.0.0/10, 61.0.0.0/10, 61.64.0.0/11, 61.128.0.0/10, 61.224.0.0/11, 100.64.0.0/10, 101.0.0.0/9, 101.128.0.0/11, 101.192.0.0/10, 103.0.0.0/10, 103.192.0.0/10, 106.0.0.0/9, 106.224.0.0/11, 110.0.0.0/7, 112.0.0.0/9, 112.128.0.0/11, 112.192.0.0/10, 113.0.0.0/9, 113.128.0.0/11, 113.192.0.0/10, 114.0.0.0/9, 114.128.0.0/11, 114.192.0.0/10, 115.0.0.0/8, 116.0.0.0/8, 117.0.0.0/9, 117.128.0.0/10, 118.0.0.0/11, 118.64.0.0/10, 118.128.0.0
@kang000feng
kang000feng / ip_range.txt
Created October 4, 2015 17:05
整合XX-net以及CNMan/GoogleIPRange所有IP段,去掉重复IP段,去掉国内/大陆公司IP段,并转换为CIDR格式,共835,660个IP,一晚上就能扫完。
1.0.0.0/24
1.1.1.0/24
1.2.3.0/24
1.9.22.0/24
1.9.24.0/24
1.9.57.0/24
1.9.131.0/24
1.179.248.0/21
1.255.22.0/24
1.255.33.0/24
@kang000feng
kang000feng / openconnect.md
Last active September 21, 2015 18:38 — forked from moklett/openconnect.md
OpenConnect VPN on Mac OS X

Unfortunately, the Cisco AnyConnect client for Mac conflicts with Pow. And by "conflicts", I mean it causes a grey-screen-of-death kernel panic anytime you connect to the VPN and Pow is installed.

As an alternative, there is OpenConnect, a command-line client for Cisco's AnyConnect SSL VPN.

Here's how to get it set up on Mac OS X:

  1. OpenConnect can be installed via homebrew:

     brew update
    

brew install openconnect