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 -x | |
SRC=/home/xf/git/Hotot/data/ | |
DEST=/opt/www/hotot/ | |
echo "\033[1;31;40m[i]Sync ...\033[0m" | |
# ignore .*.swp, .hgignore, etc | |
rsync -av --exclude '.*.*' --exclude '*.coffee' --exclude 'test*' $SRC $DEST | |
# replace conf.vars.platform, key and secret | |
echo "\033[1;31;40m[i] Replace platform, key and secret ...\033[0m" |
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
plugin.enltarget.draw_guardian([ | |
{ | |
"lat": 29.65357, | |
"lng": 115.943885, | |
"time": 1368429231432, | |
"days": 380, | |
"player": "honesty", | |
"title": "九江市生命活水医院", | |
"guid": "ade47c22469242b2b97957cbcda2682c.11" | |
}, |
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
// ==UserScript== | |
// @id iitc-plugin-sh-enl-target-drawer@Breezewish | |
// @name IITC plugin: Draw Shanghai Enlightened Target Portals | |
// @description Draw target portals by SH ENL | |
// @author Breezewish | |
// @category Layer | |
// @version 0.0.4.20140619.203600 | |
// @updateURL https://gist.githubusercontent.com/breeswish/7e8e0d8628a4615afe59/raw/iitc-plugin-sh-enl-target-drawer.meta.js | |
// @downloadURL https://gist.githubusercontent.com/breeswish/7e8e0d8628a4615afe59/raw/iitc-plugin-sh-enl-target-drawer.user.js | |
// @namespace https://github.com/jonatkins/ingress-intel-total-conversion |