Skip to content

Instantly share code, notes, and snippets.

@doylecnn
doylecnn / gmailCheck.go
Last active August 29, 2015 14:08
check gmail
package main
import (
"flag"
"fmt"
"log"
"net/http"
"strings"
"code.google.com/p/goauth2/oauth"
@doylecnn
doylecnn / diff.sh
Created April 11, 2014 06:19
windows 上 cygwin 下使用 git difftool 配合beyound compare 3 要用到的辅助脚本
# !/bin/sh
# diff is called by git difftool with 2 parameters:
# old-file-path new-file-path
# config in .gitconfig:
# [diff]
# tool = mybc3
# [difftool]
# prompt = false
# [difftool "mybc3"]
# cmd = /cygdrive/c/WINDOWS/diff.sh \"$LOCAL\" \"$REMOTE\"