Skip to content

Instantly share code, notes, and snippets.

View ETiV's full-sized avatar
🛥️
船迟又遇打头风

ETiV

🛥️
船迟又遇打头风
  • Shanghai, China
  • 23:35 (UTC +08:00)
View GitHub Profile
@ETiV
ETiV / Direct_Links_in_Google_Search.user.js
Last active August 29, 2015 14:25 — forked from astanin/Direct_Links_in_Google_Search.user.js
Remove indirections from Google search results on all TLDs (GreaseMonkey script)
// ==UserScript==
// @name CleanComments
// @namespace ForBetterJanDan
// @description 眼不见心不烦, 删除煎蛋多说"吐槽"中某些人的评论
// @include http://jandan.net/*
// @version 1
// ==/UserScript==
document.addEventListener('DOMNodeInserted',function(){
// 屏蔽关键字列表, 内容为多说的UserID
// ==UserScript==
// @name CleanComments
// @namespace ForBetterJanDan
// @description 眼不见心不烦, 删除煎蛋多说"吐槽"中某些人的评论
// @include http://jandan.net/pic*
// @include http://jandan.net/ooxx*
// @version 2
// ==/UserScript==
if ($ != undefined) {
@ETiV
ETiV / nginx.conf
Created June 4, 2013 17:24 — forked from leon/nginx.conf
server {
listen 80;
server_name localhost;
root /home/website/web;
rewrite ^/app\.php/?(.*)$ /$1 permanent;
try_files $uri @rewriteapp;
location @rewriteapp {