Skip to content

Instantly share code, notes, and snippets.

View czy88840616's full-sized avatar
🎯
Focusing

Harry Chen czy88840616

🎯
Focusing
  • Taobao.com
  • Hangzhou, Zhejiang, China
View GitHub Profile
@respectTheCode
respectTheCode / static_server.js
Created February 27, 2012 20:36 — forked from ryanflorence/static_server.js
Node.JS static file web server. Put it in your path to fire up servers in any directory, takes an optional port argument.
var http = require("http"),
url = require("url"),
path = require("path"),
fs = require("fs"),
mime = require("mime")
port = process.argv[2] || 8888;
http.createServer(function(request, response) {
var uri = url.parse(request.url).pathname
@wowh
wowh / tsvn.bat
Last active October 4, 2015 12:08
tortoisesvn command line bat
@echo off
if "%1"=="log" start tortoiseproc /command:%1 /path:"./%2"
if "%1"=="commit" start tortoiseproc /command:%1 /path:"./%2"
if "%1"=="ci" start tortoiseproc /command:commit /path:"./%2"
if "%1"=="update" start tortoiseproc /command:%1 /path:"./%2"
if "%1"=="diff" start tortoiseproc /command:%1 /path:"./%2"
@nicerobot
nicerobot / README.md
Last active June 18, 2024 19:46
Mac OS X uninstall script for packaged install of node.js from https://stackoverflow.com/a/9287292/23056

To run this, you can try:

curl -ksO https://gist.githubusercontent.com/nicerobot/2697848/raw/uninstall-node.sh
chmod +x ./uninstall-node.sh
./uninstall-node.sh
rm uninstall-node.sh
@czy88840616
czy88840616 / trip.md
Last active December 16, 2015 19:00
可能的行程单

一日内

风景类

  • 湘湖
  • 长乐林场
  • 良渚文化村
  • 西湖及周边,花圃,花港,植物园,白堤,苏堤、柳浪闻莺、曲院风荷、植物园、太子湾、杨公堤、云栖、九溪、龙井
  • 西溪湿地
  • 运河
@soffchen
soffchen / surge.conf
Last active March 4, 2024 05:23
surge.conf
[General]
skip-proxy = 127.0.0.1, 192.168.0.0/16, 10.0.0.0/8, 172.16.0.0/12, 100.64.0.0/10, localhost, *.local, ::ffff:0:0:0:0/1, ::ffff:128:0:0:0/1
bypass-tun = 192.168.0.0/16, 10.0.0.0/8, 172.16.0.0/12
# dns-server = 119.29.29.29, 223.5.5.5, 114.114.114.114
loglevel = notify
[Proxy]
BJ-All = custom
BJ-HK-Azure = custom
BJ-US-Azure = custom
@qoomon
qoomon / TravisGitHub.md
Last active August 6, 2023 04:59
Setup GitHub Deploy Keys For Travis