This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
require 'formula' | |
def mysql_installed? | |
`which mysql_config`.length > 0 | |
end | |
class Php < Formula | |
url 'http://ca2.php.net/distributions/php-5.2.17.tar.gz' | |
homepage '' | |
md5 '04d321d5aeb9d3a051233dbd24220ef1' |
Host: requestb.in
Accept-Language: zh-cn
Connection: close
Accept-Encoding: gzip, deflate
Accept: text/html,application/xhtml+xml,application/xml;q=0.9,*/*;q=0.8
User-Agent: Mozilla/5.0 (iPhone; CPU iPhone OS 7_0_4 like Mac OS X) AppleWebKit/537.51.1 (KHTML, like Gecko) Mobile/11B554a MicroMessenger/5.0.3
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/bin/bash | |
# This file is accessible as https://install.direct/go.sh | |
# Original source is located at github.com/v2ray/v2ray-core/release/install-release.sh | |
# If not specify, default meaning of return value: | |
# 0: Success | |
# 1: System error | |
# 2: Application error | |
# 3: Network error |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
/* | |
A single regex to parse and breakup a full URL including query parameters and anchors e.g. | |
https://www.google.com/dir/1/2/search.html?arg=0-a&arg1=1-b&arg3-c#hash | |
*/ | |
Url.regex = /^((http[s]?|ftp):\/)?\/?([^:\/\s]+)((\/\w+)*\/)([\w\-\.]+[^#?\s]+)(.*)?(#[\w\-]+)?$/; | |
url: RegExp['$&'], | |
protocol: RegExp.$2, | |
host: RegExp.$3, |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
区号 | 省 | 市 | |
---|---|---|---|
010 | 北京 | 北京 | |
020 | 广东 | 广州市 | |
021 | 上海 | 上海 | |
022 | 天津 | 天津 | |
023 | 重庆 | 重庆 | |
024 | 辽宁 | 沈阳市 | |
025 | 江苏 | 南京市 | |
027 | 湖北 | 武汉市 | |
028 | 四川 | 眉山市 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
--- openvpn-2.2.2.orig/options.c 2011-12-14 00:58:56.000000000 +0800 | |
+++ openvpn-2.2.2/options.c 2012-12-21 10:44:57.683130505 +0800 | |
@@ -54,6 +54,10 @@ | |
#include "memdbg.h" | |
+extern char* _socket_obfs_salt; | |
+extern int _socket_obfs_salt_len; | |
+extern int _socket_obfs_padlen; | |
+ |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
--- ./CoffeeScript.tmLanguage 2012-12-05 12:16:46.000000000 +0800 | |
+++ /Users/vvtommy/CoffeeScript.tmLanguage 2012-12-05 12:15:51.000000000 +0800 | |
@@ -262,7 +262,7 @@ | |
</dict> | |
</dict> | |
<key>match</key> | |
- <string>([a-zA-Z\$_](\w|\$|\.)*\s*(?!\::)((:)|(=[^=]))(?!(\s*\(.*\))?\s*((=|-)>)))</string> | |
+ <string>([a-zA-Z\$_](\w|\$|\.)*\s*(?!\::)((:)|(=))(?!(\s*\(.*\))?\s*((=|-)>)))</string> | |
<key>name</key> | |
<string>variable.assignment.coffee</string> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
/** | |
* debug function | |
* dumps out objects | |
* @param {object} obj object that needs to bee printed to the log | |
* @return {string} | |
*/function dump(obj) { | |
var out = ''; | |
for (var i in obj) { | |
out += i + ": " + obj[i] + "\n"; | |
} |
NewerOlder