- 代理服务器地址127.0.0.1,端口9527,类型SOCKS5
- 可以直接引用但地址必须是 https://gist.github.com/JinnLynn/5001700/raw/pac.js ,如果使用
View Raw的链接则只是引用特定版本的文件 - 在国内访问GitHub速度较慢,如果可能还是clone到本地使用,偶尔pull即可
- 不定时更新
GenPAC - http://jeeker.net/projects/genpac/
| #!/usr/bin/env bash | |
| curl -Lso- http://update.aegis.aliyun.com/download/uninstall.sh | bash | |
| curl -Lso- http://update.aegis.aliyun.com/download/quartz_uninstall.sh | bash | |
| pkill aliyun-service | |
| rm -rf /etc/init.d/agentwatch /usr/sbin/aliyun-service /usr/local/aegis* | |
| [[ -f /usr/local/cloudmonitor/CmsGoAgent.linux-amd64 ]] && { | |
| /usr/local/cloudmonitor/CmsGoAgent.linux-amd64 stop |
| using System; | |
| #define s2S(s) gcnew String(s.c_str()) | |
| //REF: https://msdn.microsoft.com/en-us/library/1b4az623.aspx | |
| string S2s(String ^s) { | |
| using namespace Runtime::InteropServices; | |
| const char* chars = | |
| (const char*)(Marshal::StringToHGlobalAnsi(s)).ToPointer(); | |
| string ret = chars; |
| #!/bin/sh | |
| # Converts a mysqldump file into a Sqlite 3 compatible file. It also extracts the MySQL `KEY xxxxx` from the | |
| # CREATE block and create them in separate commands _after_ all the INSERTs. | |
| # Awk is choosen because it's fast and portable. You can use gawk, original awk or even the lightning fast mawk. | |
| # The mysqldump file is traversed only once. | |
| # Usage: $ ./mysql2sqlite mysqldump-opts db-name | sqlite3 database.sqlite | |
| # Example: $ ./mysql2sqlite --no-data -u root -pMySecretPassWord myDbase | sqlite3 database.sqlite |
| ::-webkit-scrollbar { | |
| width: 8px; | |
| height: 8px; | |
| } | |
| ::-webkit-scrollbar-track-piece { | |
| background-color: transparent; | |
| } | |
| body::-webkit-scrollbar-track-piece { |
| # -*- coding: utf-8 -*- | |
| """淘宝消费情况统计 | |
| 使用方法: | |
| python taobao.py -u USERNAME -p PASSWORD -s START-DATE -e END-DATE --verbose | |
| 所有参数均可选,如: | |
| python taobao.py -u jinnlynn | |
| 统计用户jinnlynn所有订单的情况 |
| # MacOSX-Kits: https://github.com/JinnLynn/MacOSX-Kits/blob/master/shell/inc/ssh.sh | |
| JPROXY_SERVER_USR="YOUR SSH SERVER USERNAME" | |
| JPROXY_SERVER="YOUR SSH SERVER" | |
| JPROXY_SERVER_KEY="YOUR SSH KEY FILEPATH" | |
| JPROXY_SOCKS_PORT="9527" | |
| # 输出检查结果字符串 | |
| # 使用方法: 判断语句; _kits_check "说明文字" | |
| # 如: [[ 0 -eq 0 ]]; _kits_check "0=0?" |
| #!/usr/bin/env python | |
| # -*- coding: utf-8 -*- | |
| #! 强制默认编码为utf-8 | |
| import sys | |
| reload(sys) | |
| sys.setdefaultencoding('utf8') | |
| import pyfirmata, urllib, json, time | |
| from datetime import datetime |
| #!/usr/bin/env python | |
| # -*- coding: utf-8 -*- | |
| #! 强制默认编码为utf-8 | |
| import sys | |
| reload(sys) | |
| sys.setdefaultencoding('utf8') | |
| # 配置 | |
| # SMTP服务器 用户 密码 | |
| smtp_server = 'SMTP SERVER' |
View Raw的链接则只是引用特定版本的文件GenPAC - http://jeeker.net/projects/genpac/
| <?php | |
| /** | |
| * 导出Wordpress日志到新浪博客 | |
| * Created by JinnLynn 2013.01.11 http://jeeker.net/ | |
| */ | |
| require('./wp-blog-header.php'); | |
| require('wp-includes/class-IXR.php'); | |
| define('SINA_XMLRPC', 'http://upload.move.blog.sina.com.cn/blog_rebuild/blog/xmlrpc.php'); |