I hereby claim:
- I am songgao on github.
- I am songgao (https://keybase.io/songgao) on keybase.
- I have a public key whose fingerprint is 018C 2285 4633 8910 B9C4 DC19 F18B E915 09E1 F508
To claim this, I am signing this object:
gprefresh() { | |
go list -f "{{.Dir}}" ... 2>/dev/null > $GOPATH/.list; | |
} | |
_gpcd() { | |
if [ "$#" -eq 1 ]; then | |
cd $1 | |
else | |
select p in $@; do | |
_gpcd $p | |
unset p |
I hereby claim:
To claim this, I am signing this object:
/* | |
Benchmarking against different approaches to calculate Max() of int. | |
* Patented (WTF?!) Abs used. http://stackoverflow.com/a/9962527/218439 | |
Results; | |
slice size: 1 | |
min_with_branching: 200000000 9.28 ns/op |
package main | |
import ( | |
"io" | |
"net" | |
"os" | |
"fmt" | |
"strings" | |
"syscall" | |
"unsafe" |
If you're like me who uses Safari, and finds Gmail in browser most comfortable to use, you might want to enable notification from Gmail in Safari 6. Notification Center in Mountain Lion does support websites in Safari to send notifications, but by now Gmail does not ask for permission to send notifications. Fortunately Gmail uses html5 notification, which is supported in Safari 6. We can manually request permission from Safari for Gmail.
mail.google.com
.window.webkitNotifications.requestPermission(function(){alert(window.webkitNotifications.checkPermission());})
0
, it means mail.google.com
successfully gets notification permission. Send yourself an email with a different email addreHey |