This file contains hidden or 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 | |
VPN_SERVICENAME="l2tpd" | |
VPN_PSK="fuckgfw" | |
VPN_IPRANGE="10.1.100" | |
VPN_USERNAME="fill in your username" | |
VPN_PASSWORD="your password" | |
#L2TPD/IPSEC |
This file contains hidden or 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
// 2012 new version | |
// 点击logo到广播 | |
$('.site-nav-logo a').attr('href', 'http://www.douban.com/update/'); | |
// 按"."刷新广播,与twitter快捷键一致 | |
$('body').keypress( | |
function (e) { | |
var code = e.charCode ? e.charCode : e.keyCode; | |
if (code === 46 && !$(':focus').is(':input')) { | |
// '.' to reload |
This file contains hidden or 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
/** | |
* Suds: A Lightweight JavaScript SOAP Client | |
* Copyright: 2009 Kevin Whinnery (http://www.kevinwhinnery.com) | |
* License: http://www.apache.org/licenses/LICENSE-2.0.html | |
* Source: http://github.com/kwhinnery/Suds | |
*/ | |
function SudsClient(_options) { | |
function isBrowserEnvironment() { | |
try { | |
if (window && window.navigator) { |
NewerOlder