Skip to content

Instantly share code, notes, and snippets.

// ==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
plugin.enltarget.draw_guardian([
{
"lat": 29.65357,
"lng": 115.943885,
"time": 1368429231432,
"days": 380,
"player": "honesty",
"title": "九江市生命活水医院",
"guid": "ade47c22469242b2b97957cbcda2682c.11"
},
#!/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"