设置 git config --global http.https://git.521000.best.proxy socks5://127.0.0.1:1086
设置完成后, ~/.gitconfig 文件中会增加以下条目:
[http "https://github.com"]
proxy = socks5://127.0.0.1:1086
| import haxe.ds.StringMap; | |
| import haxe.web.Dispatch; | |
| import haxe.web.Dispatch.DispatchError; | |
| #if sys | |
| import Sys.println; | |
| import Sys.print; | |
| #else | |
| import haxe.Log.trace in println; | |
| import haxe.Log.trace in print; |
| require 'formula' | |
| class LibdnetPython <Formula | |
| depends_on 'libdnet' | |
| url 'http://libdnet.googlecode.com/files/libdnet-1.12.tgz' | |
| homepage 'http://code.google.com/p/libdnet/' | |
| sha1 '71302be302e84fc19b559e811951b5d600d976f8' | |
| def install | |
| ENV["CFLAGS"] = "-O3 -w -pipe" |
| # -*- coding: utf-8 | |
| """\ | |
| A simple demo of logging configuration with YAML (Python 2.7) | |
| ============================================================= | |
| Requires PyYAML -> "easy_install PyYAML" | |
| See the recipes for configuring logging with dicts and YAML | |
| - http://docs.python.org/2.7/howto/logging-cookbook.html | |
| - http://stackoverflow.com/questions/10519392/python2-7-logging-configuration-with-yaml |
| #!/usr/bin/env python | |
| # -*- coding: utf-8 -*- | |
| # -*- Python -*- | |
| # | |
| # http://www.employees.org/~mstenber/iphonebackupdb.py | |
| # | |
| # $Id: iphonebackupdb.py,v 1.2 2010/05/28 08:30:38 mstenber Exp $ | |
| # | |
| # Author: Markus Stenberg <[email protected]> | |
| # |
| // Implementation of a UDP proxy | |
| package main | |
| import ( | |
| "flag" | |
| "fmt" | |
| "log" | |
| "net" | |
| "os" |
| # | |
| # InflatePVRCCZTexture.rb - By Michael J. Sikorsky @robotsNpencils | |
| # Converts .pvr.ccz textures to .pvr | |
| # | |
| # Usage: ruby InflatePVRCCZTexture.rb {INPUT FILE.pvr.ccz} {OUTPUT FILE.pvr} | |
| # Example: | |
| # ruby InflatePVRCCZTexture.rb agametexture.pvr.ccv agametexture.pvr | |
| # | |
| # README: |
| <?xml version="1.0" encoding="utf-8"?> | |
| <project> | |
| <!-- <meta /> | |
| Use meta nodes to set metadata for your application. The description is ignored | |
| on most targets, but is useful for packaging like Chrome Apps or Opera Widgets. | |
| For compatibility with Android and webOS, the package name must include at least |
| // http://www.ietf.org/rfc/rfc1928.txt | |
| // Tested with: curl http://www.google.se/ --socks5 1080 --proxy-user foo:bar | |
| var States = { | |
| CONNECTED:0, | |
| VERIFYING:1, | |
| READY:2, | |
| PROXY: 3 | |
| }; |
| package maroo.codec | |
| { | |
| import flash.utils.ByteArray; | |
| import mx.utils.Base64Decoder; | |
| public class PList | |
| { | |
| public static function parse(source:XML):Object | |
| { | |
| switch (source.name().localName) { |