create different ssh key according the article Mac Set-Up Git
$ ssh-keygen -t rsa -C "[email protected]"
create different ssh key according the article Mac Set-Up Git
$ ssh-keygen -t rsa -C "[email protected]"
| Latency Comparison Numbers (~2012) | |
| ---------------------------------- | |
| L1 cache reference 0.5 ns | |
| Branch mispredict 5 ns | |
| L2 cache reference 7 ns 14x L1 cache | |
| Mutex lock/unlock 25 ns | |
| Main memory reference 100 ns 20x L2 cache, 200x L1 cache | |
| Compress 1K bytes with Zippy 3,000 ns 3 us | |
| Send 1K bytes over 1 Gbps network 10,000 ns 10 us | |
| Read 4K randomly from SSD* 150,000 ns 150 us ~1GB/sec SSD |
| tell application "System Events" | |
| -- get current clipboard contents as a string | |
| set CurrentClipboard to the clipboard as string | |
| -- set the clipboad to your password | |
| set the clipboard to "Y0urVPNPa$$w0rd" | |
| -- start playing with the VPN | |
| tell current location of network preferences | |
| Each existing unread and subsequent new emails after the script is started are | |
| passed as Mail objects to "process_email" function.Function header is provided | |
| but processing implementation is left to the user. Error logs are currently sent | |
| to a rotating log file (in the same directory as the script) and to STDOUT. | |
| Instead of polling or checking the server for new emails every now and then, | |
| IMAP IDLE check is utilized. Ensure that the IMAP server supports IDLE command | |
| and allows at least 5 minutes of idling*** and uses the default ports for this | |
| script to work. Tested to work with Gmail and default installations of MS | |
| Exchange Server. |
Original link: http://www.concentric.net/~Ttwang/tech/inthash.htm
Taken from: http://web.archive.org/web/20071223173210/http://www.concentric.net/~Ttwang/tech/inthash.htm
Reformatted using pandoc
Thomas Wang, Jan 1997
last update Mar 2007
Host: requestb.in
Accept-Language: zh-cn
Connection: close
Accept-Encoding: gzip, deflate
Accept: text/html,application/xhtml+xml,application/xml;q=0.9,*/*;q=0.8
User-Agent: Mozilla/5.0 (iPhone; CPU iPhone OS 7_0_4 like Mac OS X) AppleWebKit/537.51.1 (KHTML, like Gecko) Mobile/11B554a MicroMessenger/5.0.3
| func openbrowser(url string) { | |
| var err error | |
| switch runtime.GOOS { | |
| case "linux": | |
| err = exec.Command("xdg-open", url).Start() | |
| case "windows": | |
| err = exec.Command("rundll32", "url.dll,FileProtocolHandler", url).Start() | |
| case "darwin": | |
| err = exec.Command("open", url).Start() |
| import base64, copy, sys | |
| import requests | |
| import json | |
| from urlparse import urlparse | |
| sip_domain = "company.com" | |
| username = "[email protected]" | |
| password = "somepassword" | |
| def extractAuthURL(str): |
| package main | |
| import ( | |
| "encoding/json" | |
| "fmt" | |
| "log" | |
| "net/http" | |
| ) | |
| // The `json:"whatever"` bit is a way to tell the JSON |