Skip to content

Instantly share code, notes, and snippets.

📖
Focusing

ming.z zvving

📖
Focusing
Block or report user

Report or block zvving

Hide content and notifications from this user.

Learn more about blocking users

Contact Support about this user’s behavior.

Learn more about reporting abuse

Report abuse
View GitHub Profile
@zvving
zvving / private.xml
Created Jun 22, 2015
karabiner_private.xml
View private.xml
<?xml version="1.0"?>
<root>
<devicevendordef>
<vendorname>POKER_PRO_X</vendorname>
<vendorid>0x0f39</vendorid>
</devicevendordef>
<deviceproductdef>
<productname>POKER_PRO_X</productname>
<productid>0x0671</productid>
</deviceproductdef>
@zvving
zvving / CLLocation+Sino.h
Last active Jan 9, 2019
火星坐标系转换扩展。Earth(国外 WGS84), mars(国内 GCJ-02), bearPaw(百度 BD-09) 坐标系间相互转换
View CLLocation+Sino.h
//
// CLLocation+Sino.h
//
// Created by i0xbean@gmail.com on 13-4-26.
// 火星坐标系转换扩展
//
// earth(国外 WGS84), mars(国内 GCJ-02), bearPaw(百度 BD-09) 坐标系间相互转换
// 未包含 mars2earth. 需要这个可参考 http://xcodev.com/131.html
#import <CoreLocation/CoreLocation.h>
@zvving
zvving / proxy-socket-node-config.md
Created Dec 8, 2012
SwitchySharp+shadowsocks-nodejs Windows 下配置介绍
View proxy-socket-node-config.md

安装浏览器

  • 安装 谷歌浏览器360极速浏览器(入门用户推荐这个吧,Google老被墙)均可,其它浏览器就算了吧。(查看此教程也请尽量使用这两个浏览器)

设置浏览器代理扩展

  • 安装 Proxy SwitchySharp , 谷歌浏览器版打开这个链接(可能被墙),360极速浏览器打开这个链接,打开网页后,点击右上角的安装此扩展;
  • 安装扩展之后,浏览器右上角
  • 配置 SwitchySharp, 见图: SwitchySharp 配置
  • 之后选择直接连接,就是直接访问,选择新建的情景模式就是我们要添加的翻墙;
  • 现在选中刚添加的情景模式,访问 https://twitter.com 。这时只会提示找不到代理服务器,这是正常的,因为你还没有配置代理服务器。然后把 SwitchySharp 切回直接连接,能正常访问国内网站先。
@zvving
zvving / f2ck_9fw.pac
Last active Oct 13, 2015
使用此 pac 方便的在 OS X 中配置 ssh 代理
View f2ck_9fw.pac
function FindProxyForURL(url, host) {
var ssh1 = 'SOCKS5 192.168.10.10:1080;SOCKS 192.168.10.10:1080';
var exp1 = [
'*youtube*',
'*facebook*',
'*google*',
'*ytimg.com/*',
'*fbcdn.net/*',
'*git-scm.com/*',
You can’t perform that action at this time.