- 登录页,需要干掉验证脚本
- 主页面需要去掉Frameset,单独打开iFrame
- 覆写报名页的脚本,修复各种兼容性问题
- 复写弹出页的脚本,填写完成后,读取
Console
中的window.returnResult
- 报名页中调用
renderSubject(returnResult)
- 打印页没有
savePdf
脚本,直接打开iframe
并保存为pdf
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
while true; do pbpaste | sed -e "s/name:production-db/\$server-master/g" | sed -e "s/name:production-replicadb/\$server-replica/g" | pbcopy; sleep 1; done |
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
class ChineseSpamFilter | |
class << self | |
def spam?(job) | |
tencent_email?(job.email) && | |
( | |
in_cjk?(job.title, 0.2) || | |
in_cjk?(job.company, 0.2) | |
) | |
end |
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
git-clean-squashed='git checkout -q master && git for-each-ref refs/heads/ "--format=%(refname:short)" | while read branch; do mergeBase=$(git merge-base master $branch) && [[ $(git cherry master $(git commit-tree $(git rev-parse $branch^{tree}) -p $mergeBase -m _)) == "-"* ]] && git branch -D $branch; done' |
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
class ObservableMonitor { | |
constructor(observable) { | |
this.observable = observable | |
this.promise = observable.materialize().toArray().toPromise() | |
} | |
complete(subject = this.observable) { | |
subject.onCompleted() | |
return this |
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
{ | |
$concat: [ | |
{ '$substr': [{ '$year': '$time.utc' }, 0, 4] }, | |
'-', | |
{ | |
'$cond': [ | |
{ '$lte': [{'$month': '$time.utc'}, 9] }, | |
{ '$concat': ['0', { '$substr': [{ '$month': '$time.utc' }, 0, 2] } ] }, | |
{ '$substr': [{ '$month': '$time.utc' }, 0, 2] } | |
] |
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
<?xml version="1.0" ?> | |
<root> | |
<item> | |
<name>KBT Race2</name> | |
<item> | |
<name>Volume Control</name> | |
<appendix>Fn + F1 to Mute Key</appendix> | |
<appendix>Fn + F2 to Volume Down Key</appendix> | |
<appendix>Fn + F3 to Volume Up Key</appendix> |
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
/***************** | |
* bossFight.js * | |
***************** | |
* | |
* NO FARTHER, DR. EVAL!!!! | |
* YOU WILL NOT GET OUT OF HERE ALIVE!!!! | |
* IT'S TIME YOU SEE MY TRUE FORM!!!! | |
* FACE MY ROBOT WRATH!!!!! | |
*/ |
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
/********************** | |
* superDrEvalBros.js * | |
********************** | |
* | |
* You're still here?! Well, Dr. Eval, let's see | |
* how well you can operate with one less dimension. | |
* | |
* Give up now. Unless you have a magic mushroom | |
* up your sleeve, it's all over. | |
*/ |
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
/**************************** | |
* documentObjectMadness.js * | |
**************************** | |
* | |
* I can't believe it! I can't believe you made it onto | |
* Department of Theoretical Computation's web server! | |
* YOU SHOULD HAVE BEEN DELETED! This shouldn't even be | |
* possible! What the hell were the IT folks thinking? | |
* | |
* No matter. I still have the Algorithm. That's the |