Skip to content

Instantly share code, notes, and snippets.

@mmorris
mmorris / wwdc_2012_urls.txt
Created July 7, 2016 13:41
WWDC 2012 HD video URL list
https://developer.apple.com/devcenter/download.action?path=/videos/wwdc_2012__hd/session_307__building_great_newsstand_apps.mov
https://developer.apple.com/devcenter/download.action?path=/videos/wwdc_2012__hd/session_311__building_and_distributing_custom_b2b_apps_for_ios.mov
https://developer.apple.com/devcenter/download.action?path=/videos/wwdc_2012__hd/session_304__events_and_reminders_in_event_kit.mov
https://developer.apple.com/devcenter/download.action?path=/videos/wwdc_2012__hd/session_300__getting_around_using_map_kit.mov
https://developer.apple.com/devcenter/download.action?path=/videos/wwdc_2012__hd/session_306__integrating_with_facebook_twitter_and_sina_weibo.mov
https://developer.apple.com/devcenter/download.action?path=/videos/wwdc_2012__hd/session_301__introducing_passbook_part_1.mov
https://developer.apple.com/devcenter/download.action?path=/videos/wwdc_2012__hd/session_309__introducing_passbook_part_2.mov
https://developer.apple.com/devcenter/download.action?path=/videos/wwdc_2012__hd/session_3
@mmorris
mmorris / gist:ac2ed3ccbcbde3e07fd6
Last active August 29, 2015 14:23
Configuring TLS with Go for use with AFNetworking
func main()
{
cipherSuites := []uint16{tls.TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256, tls.TLS_ECDHE_ECDSA_WITH_AES_128_GCM_SHA256}
tlsconf := &tls.Config{MinVersion: tls.VersionTLS12, CipherSuites:cipherSuites}
server := &http.Server{Addr:":8008", Handler: nil, TLSConfig: tlsconf}
log.Fatal(server.ListenAndServeTLS("server.crt", "server.key.pem"))
}
### Keybase proof
I hereby claim:
* I am mmorris on github.
* I am mmorris (https://keybase.io/mmorris) on keybase.
* I have a public key whose fingerprint is BC60 D470 89A5 A6F2 2320 2C64 D199 382C 224A 80B7
To claim this, I am signing this object: