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
Streams callback Unexpected token r j=0 ["r.com\/download\/android\" rel=\"nofollow\"\u003ETwitter for Android\u003C\/a\u003E","contributors":null,"in_reply_to_screen_name":null,"entities":", "{"urls":[],"user_mentions":[{"indices":[3,14],"screen_name":"blacktulip","name":"blacktulip","id":11664822,"id_str":"11664822"},{"indices":[16,24],"screen_name":"cosbeta","name":"cosbeta","id":14697308,"id_str":"14697308"}],"hashtags":[]},"retweeted_status":{"text":"@cosbeta \u6c5f\u4e1c\uff0c\u95ee\u4f60\u4e2a\u4e25\u8083\u7684\u95ee\u9898\uff0c\u5f53\u5e74\u9879\u7fbd\u4e3a\u5565\u4e0d\u80af\u53bb\u4f60\u90a3\u513f\u554a\uff1f","in_reply_to_status_id_str":"191793101721976832","coordinates":null,"created_at":"Mon Apr 16 07:41:16 +0000 2012","in_reply_to_user_id_str":"14697308","favorited":false,"source":"\u003Ca href=\"http:\/\/itunes.apple.com\/us\/app\/twitter\/id409789998?mt=12\" rel=\"nofollow\"\u003ETwitter for Mac\u003C\/a\u003E","contributors":null,"in_reply_to_screen_name":"cosbeta","entities":{"urls":[],"user_ |
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 -x | |
SRC=$PWD/data/ | |
DEST=$PWD/web.hotot.org/ | |
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 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
# /etc/nginx/sites-available/blog.shellexy.info | |
server { | |
resolver 8.8.8.8; | |
listen 80; | |
server_name blog.shellexy.info; | |
#access_log off; | |
access_log /var/log/nginx/blog.shellexy.info.access.log; | |
location / { | |
#避免远方启用压缩导致无法替换纯文本 | |
proxy_set_header Accept-Encoding ""; |
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
diff --git indicator-applet/src/applet-main.c indicator-applet/src/applet-main.c | |
--- indicator-applet/src/applet-main.c | |
+++ indicator-applet/src/applet-main.c | |
@@ -362,6 +362,21 @@ accessible_desc_update (IndicatorObject | |
return; | |
} | |
+static gboolean | |
+do_menu_reposition(gpointer menu) | |
+{ |
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
王 | |
江 | |
周 | |
胡 | |
刘 | |
李 | |
吴 | |
毛 | |
温 | |
习 |
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
文件迁移到 https://bitbucket.org/shellexy/picplz_backup/raw/tip/picplz_backup.py |
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
# /etc/nginx/sites-available/fanfou.shellex.info | |
# 这儿假设的域名是 fanfou.shellex.info | |
# 请替换为实际的域名 | |
server { | |
resolver 8.8.8.8; | |
listen 443; | |
server_name fanfou.shellex.info; | |
ssl on; |
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
//给添加 get、set、keys、values、items、update 方法: | |
window.localStorage.__proto__.get = function(key, defaultvalue) { | |
var txt = window.localStorage.getItem(key); | |
if (txt == null) { | |
return defaultvalue; | |
} | |
try{ | |
return JSON.parse(txt); | |
} catch(e){ | |
return txt; |
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
javascript: (function() { | |
NodeList.prototype.forEach = Array.prototype.forEach; | |
var navId = 'shellexy_html5nav_bar'; | |
if (nav = document.getElementById(navId)) { | |
document.body.style.marginLeft = document.body.getAttribute('marginLeft'); | |
return nav.parentElement.removeChild(nav); | |
} | |
if (!document.styleSheets.length) { | |
document.body.appendChild(document.createElement('style')); | |
} |