###请所有用Android + Google Calendar的童鞋在userscript.org升级到0.3.10版本,否则Android下日历不能正常显示~
链接在此:http://userscripts.org/scripts/show/159785
// ==UserScript== | |
// @name thu-pingjiao | |
// @namespace http://github.com/smilekzs | |
// @include http*://zhjw.cic.tsinghua.edu.cn/pj.xspj_cpryb.do* | |
// @version 0.2 | |
// ==/UserScript== | |
injectScript=function(src){ | |
var scriptEl; | |
scriptEl = document.createElement('script'); |
@:start | |
@echo attempt | |
@curl %* | |
@if errorlevel 1 goto start | |
@echo succeed | |
@:end |
` | |
// ==UserScript== | |
// @name thu-grid-fix | |
// @namespace http://github.com/smilekzs | |
// @version 0.1.1 | |
// @description 修复清华选课系统在chrome下不能正常显示表格的问题 | |
// @include http*://*.cic.tsinghua.edu.cn/* | |
// ==/UserScript== | |
` | |
for el in document.getElementsByClassName('active-templates-row') |
` | |
// vim: nowrap | |
// Copyright (c) 2013, smilekzs. (MIT Licensed) | |
// ==UserScript== | |
// @name renren-markdown | |
// @namespace http://github.com/smilekzs | |
// @version 0.4.15 | |
// @description write well-formatted blogs on renren.com with markdown | |
// @include *blog.renren.com/blog/*Blog* | |
// @include *blog.renren.com/*Entry* |
{"removeAds":true,"removePageTheme":false,"removeStarReminder":true,"removeFloatObject":true,"removeMouseCursor":true,"removeEnterCartoon":true,"removePendant":true,"removeBlogTheme":true,"removeBlogLinks":true,"removeBlogMusicPlayer":false,"removePagesMusicPlayer":false,"removeZhanMusicPlayer":false,"removeFriendList":false,"removeRadioPlayer":false,"homeGadgets":{"topNotice":false,"appList":false,"myApp":false,"recommendApp":true,"appState":false,"vipToolbox":false,"recommendGift":false,"footprint":false,"newFriends":false,"schoolBeauty":false,"sponsors":true,"publicPageAdmin":false,"groups":false,"birthday":false,"webFunction":false,"survey":true,"friendPhoto":true,"newStar":true,"contact":false,"hotSearch":true},"profileGadgets":{"album":false,"blog":false,"share":false,"gift":false,"fav":false,"theme":false,"introduceFriends":false,"activity":true,"lover":false,"specialFriends":false,"mutualFriends":false,"visitors":false,"pages":false,"friends":false,"invitation":false,"musicPlayer":false},"rejectReques |
" quick refactoring: replace keyword under cursor | |
" `<leader>s`: main mapping | |
" `<SID>R`: arbitrary local mapping | |
" stores original position into `s before action | |
function! My_refactor(prefix) | |
return ':' . a:prefix . '%s/\<' . @" . '\>//g' | |
endfunction | |
nnoremap <special> <expr> <SID>refactor My_refactor('') | |
nmap <special> <leader>s msyiw<SID>refactor<left><left> |
# mock-up async for test in browser | |
readfile=(file, cb)-> | |
setTimeout (-> | |
console.log("readfile(#{file}) callback") | |
cb(null, file+'data') | |
), 500 | |
parse=(data, cb)-> | |
setTimeout (-> | |
console.log("parse(#{data}) callback") |
Windows Registry Editor Version 5.00 | |
[-HKEY_CLASSES_ROOT\AllFilesystemObjects\shellex\ContextMenuHandlers\{596AB062-B4D2-4215-9F74-E9109B0A8153}] | |
[-HKEY_CLASSES_ROOT\CLSID\{450D8FBA-AD25-11D0-98A8-0800361B1103}\shellex\ContextMenuHandlers\{596AB062-B4D2-4215-9F74-E9109B0A8153}] | |
[-HKEY_CLASSES_ROOT\Directory\shellex\ContextMenuHandlers\{596AB062-B4D2-4215-9F74-E9109B0A8153}] | |
[-HKEY_CLASSES_ROOT\Drive\shellex\ContextMenuHandlers\{596AB062-B4D2-4215-9F74-E9109B0A8153}] |
###请所有用Android + Google Calendar的童鞋在userscript.org升级到0.3.10版本,否则Android下日历不能正常显示~
链接在此:http://userscripts.org/scripts/show/159785