Skip to content
// ==UserScript==
// @name 铲除一切害人虫
// @description 移除我想移除,留下我想留下
// @match*
// @match http://**
// @match*
// @version 1.0
// ==/UserScript==
// 在这里添加你想要去掉的dom的id
crypto = require('crypto')
md5_url = (url) -> crypto.createHash('md5').update(url).digest("hex")[0..6]
h = {}
a = []
for r in [1..100000]
z = md5_url(Math.random() + '')
if !h[z]
a.push z
h[z] = 1
<!DOCTYPE html>
<meta http-equiv="content-type" content="text/html; charset=UTF-8">
<script src="/jquery-1.js" type="text/javascript" charset="utf-8"></script>
<script src="/modernizr.js" type="text/javascript" charset="utf-8"></script>
<script src="/mustache.js" type="text/javascript" charset="utf-8"></script>
url\(\"(.*?)/(\w+.png)\"\) #=> url("../images/$2")
# This is probably because you have a too recent version of bundler installed. Integrity v22 is not compatible with bundler > 0.9, but relies on functionality that was in removed in the subsequent version. In my case I installed bundler 0.9 before I ran bundle install:
gem install bundler --version=0.9
# Textmate essential bundles
cd ~/Library/Application\ Support/TextMate/Pristine\ Copy/Bundles
# mkdir -p cd /Applications/
git clone git:// Ack.tmbundle
git clone git://
git clone git:// "Ruby Saas.tmbundle"
git clone git:// Cucumber.tmbundle
git clone git:// JavaScript\ Blue\ Ridge.tmbundle
git clone git:// nginx.tmbundle
Global setup:
Download and install Git
git config --global "panfu"
git config --global
Next steps:
mkdir mochiweb_example
cd mochiweb_example
git init
touch README
(global-set-key "\C-c\C-d" "\C-a\C- \C-n\M-w\C-y")
;; (menu-bar-mode 0)
(tool-bar-mode 0)
(define-key global-map [menu-bar tools] nil)
(add-to-list 'load-path "~/emacs")
(require 'my_config)
# chef-server as ssh tunnel (reverse-proxy) for Mac OS X 10.6 SL
# Based loosely on Readme.rdoc -
# port install CouchDB (may be broken on Snow Leopard)
sudo port install couchdb-devel
sudo launchctl load -w /Library/LaunchDaemons/org.apache.couchdb.plist
sudo launchctl unload -w /Library/LaunchDaemons/org.apache.couchdb.plist
# check for Trace/BPT trap error
Something went wrong with that request. Please try again.