> ssh xxx
> Permission denied (publickey,keyboard-interactive).
> chmod 700 ~/.ssh
> chmod 600 ~/.ssh/authorized_keys
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
var Timer = { | |
i: 0, | |
t: 0, | |
queue: {}, | |
tq: {}, | |
add: function (time, callback) { | |
if (!this.queue[time]) { | |
this.queue[time] = []; | |
this.tq[time] = 0; | |
} |
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
普及一些 获取翻墙方法 的方式 #翻墙、 #gfw、 #vpn、 #翻墙软件 | |
1、用Google Reader(https://www.google.com/reader/view/)订阅这两个网站: | |
http://igfw.tk/feed | |
http://feeds2.feedburner.com/chinagfwblog (注) | |
记住Google Reader一定要用加密连接(https://)。 | |
2、发电邮(最好用Gmail)到:fanqiang70ma@gmail.com或者help_gfw@yahoo.com会在稍后回复翻墙方法。有可能在垃圾箱。 | |
3、通过http://goo.gl/uKosJ下载Psiphon 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 | |
# on centos minimal | |
yum install gcc | |
yum install make | |
yum install ncurses-devel | |
yum install lua lua-devel | |
yum install ruby ruby-devel | |
yum install python python-devel | |
yum install perl perl-devel |
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
diff --git a/ios-deploy.xcodeproj/project.pbxproj b/ios-deploy.xcodeproj/project.pbxproj | |
index c58f9d8..6c46afe 100644 | |
--- a/ios-deploy.xcodeproj/project.pbxproj | |
+++ b/ios-deploy.xcodeproj/project.pbxproj | |
@@ -317,7 +317,7 @@ | |
); | |
runOnlyForDeploymentPostprocessing = 0; | |
shellPath = /bin/sh; | |
- shellScript = "echo \"\\\"# AUTO-GENERATED - DO NOT MODIFY\\n\\\"\" > src/ios-deploy/lldb.py.h\nawk '{ print \"\\\"\"$0\"\\\\n\\\"\"}' src/scripts/lldb.py >> src/ios-deploy/lldb.py.h"; | |
+ shellScript = "awk '{ print \"\\\"\"$0\"\\\\n\\\"\"}' src/scripts/lldb.py > src/ios-deploy/lldb.py.h"; |
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
var NO_TOPIC = -1; | |
var Topic; | |
function Handler(s, t) { | |
this.successor = s || null; | |
this.topic = t || 0; | |
} | |
Handler.prototype = { | |
handle: function () { |
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
https://battle.net/download/getInstallerForGame?os=MAC&version=LIVE&gameProgram=WARCRAFT_3 | |
https://battle.net/download/getInstallerForGame?os=mac&locale=enUS&version=PTR&gameProgram=WARCRAFT_3 |
2017 台式机
CPU : 英特尔 i7 7700k
主板: 华硕玩家国度(ROG)MAXIMUS IX HERO M9H主板
显卡: 华硕玩家国度 (ROG) STRIX-GTX1080-A8G-GAMING
硬盘: 英特尔 750 400G PCI-E NVMe SSD固态硬盘
机箱: 追风者(PHANTEKS)416PSTG 黑白色 中塔式机箱
电源: 美商海盗船(USCorsair)额定850W RM850i 电源 80PLUS金牌/C-Link/低载风扇停转
rsync (Everyone seems to like -z, but it is much slower for me)
- a: archive mode - rescursive, preserves owner, preserves permissions, preserves modification times, preserves group, copies symlinks as symlinks, preserves device files.
- H: preserves hard-links
- A: preserves ACLs
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
// arcfour aka RC4 enc/decrypt function | |
// see: http://en.wikipedia.org/wiki/RC4 | |
arcfour = (function () { | |
"use strict"; | |
var swap = function (a, i, j) { | |
var tmp = a[i]; | |
a[i] = a[j]; | |
a[j] = tmp; | |
}; | |