Skip to content

Instantly share code, notes, and snippets.

@nevan
nevan / instagram_map_link.user.js
Created September 6, 2011 12:44
Add a link to Google Maps to an Instagram page
@nevan
nevan / jp_en_replacements.txt
Created June 20, 2012 13:35
Japanese and English full-width and half-width character equivalents
abcdefghijklmnopqrstuvwxyz
abcdefghijklmnopqrstuvwxyz
ABCDEFGHIJKLMNOPQRSTUVWXYZ
ABCDEFGHIJKLMNOPQRSTUVWXYZ
1234567890
1234567890
@nevan
nevan / gist:3e1174f27e753db4731e
Last active January 9, 2022 19:04
WWDC 2015 Session Videos
https://developer.apple.com/videos/wwdc/2015/?id=101 101 Keynote
https://developer.apple.com/videos/wwdc/2015/?id=102 102 Platforms State of the Union
https://developer.apple.com/videos/wwdc/2015/?id=103 103 Apple Design Awards
https://developer.apple.com/videos/wwdc/2015/?id=104 104 What's New in Xcode
https://developer.apple.com/videos/wwdc/2015/?id=105 105 Introducing WatchKit for watchOS 2
https://developer.apple.com/videos/wwdc/2015/?id=106 106 What's New in Swift
https://developer.apple.com/videos/wwdc/2015/?id=107 107 What's New in Cocoa Touch
https://developer.apple.com/videos/wwdc/2015/?id=108 108 Building Watch Apps
https://developer.apple.com/videos/wwdc/2015/?id=112 112 Think Audacious
https://developer.apple.com/videos/wwdc/2015/?id=201 201 iOS Accessibility
/*
* libMobileGestalt header.
* Mobile gestalt functions as a QA system. You ask it a question, and it gives you the answer! :)
*
* Copyright (c) 2013-2014 Cykey (David Murray)
* All rights reserved.
https://github.com/Cykey/ios-reversed-headers/blob/master/MobileGestalt/MobileGestalt.h
*/
#include <CoreFoundation/CoreFoundation.h>
@nevan
nevan / OpenInBBEdit.sh
Created May 6, 2016 10:19
TextMate command to open current file in BBEdit
#!/bin/sh
/usr/local/bin/bbedit +$TM_LINE_NUMBER "$TM_FILEPATH"
# Opens the current file in BBEdit with the line number you were working on selected
# In TextMate's Bundle editor: new command with settings
# Save: Current File
# Input: Entire Document
# Output: Discard
# Key Equivalent: my shortcut key
# selector: source.php (means it only works in php files)
@nevan
nevan / wwdc_2016_videos.txt
Last active October 2, 2024 10:45
WWDC 2016 Video Titles and URLs
101 Keynote http://devstreaming.apple.com/videos/wwdc/2016/101g0jrsvv5qcoduisk/101/101_hd_keynote.mp4
102 Platforms State of the Union http://devstreaming.apple.com/videos/wwdc/2016/102w0bsn0ge83qfv7za/102/102_hd_platforms_state_of_the_union.mp4
103 Apple Design Awards http://devstreaming.apple.com/videos/wwdc/2016/103m0752oxdkymyk6gy/103/103_hd_apple_design_awards.mp4
201 Internationalization Best Practices http://devstreaming.apple.com/videos/wwdc/2016/201h1g4asm31ti2l9n1/201/201_hd_internationalization_best_practices.mp4
202 What's New in Accessibility http://devstreaming.apple.com/videos/wwdc/2016/202w2zhc4l8yomptqnt/202/202_hd_whats_new_in_accessibility.mp4
203 What's New in Cocoa http://devstreaming.apple.com/videos/wwdc/2016/203x2w42att1kdzg1ce/203/203_hd_whats_new_in_cocoa.mp4
204 iMessage Apps and Stickers Part 1 http://devstreaming.apple.com/videos/wwdc/2016/204t23fvanrkj7a1oj7/204/204_hd_imessage_apps_and_stickers_part_1.mp4
205 What's New in Cocoa Touch http://devstreaming.apple.co
http://devstreaming.apple.com/videos/wwdc/2016/102w0bsn0ge83qfv7za/102/102_platforms_state_of_the_union.pdf
http://devstreaming.apple.com/videos/wwdc/2016/201h1g4asm31ti2l9n1/201/201_internationalization_best_practices.pdf
http://devstreaming.apple.com/videos/wwdc/2016/202w2zhc4l8yomptqnt/202/202_whats_new_in_accessibility.pdf
http://devstreaming.apple.com/videos/wwdc/2016/203x2w42att1kdzg1ce/203/203_whats_new_in_cocoa.pdf
http://devstreaming.apple.com/videos/wwdc/2016/204t23fvanrkj7a1oj7/204/204_imessage_apps_and_stickers_part_1.pdf
http://devstreaming.apple.com/videos/wwdc/2016/205n2okotvilcayc8rc/205/205_whats_new_in_cocoa_touch.pdf
http://devstreaming.apple.com/videos/wwdc/2016/206a38wgme6uponcuwd/206/206_whats_new_in_tvos.pdf
http://devstreaming.apple.com/videos/wwdc/2016/207i37356qcyyh2yxos/207/207_whats_new_in_foundation_for_swift.pdf
http://devstreaming.apple.com/videos/wwdc/2016/208j30f4v1a1i9i5fg9/208/208_whats_new_in_watchos_3.pdf
http://devstreaming.apple.com/videos/wwdc/2016/209e37d5ks3pfj21ij5/2
------------------------------------------------------------------------------------------------------------------------
Search for 11_0
------------------------------------------------------------------------------------------------------------------------
Accounts/ACAccountType.h:12: ACCOUNTS_EXTERN NSString * const ACAccountTypeIdentifierTwitter NS_DEPRECATED(NA, 10_13, 5_0, 11_0, "Use Twitter SDK instead");
Accounts/ACAccountType.h:13: ACCOUNTS_EXTERN NSString * const ACAccountTypeIdentifierFacebook NS_DEPRECATED(NA, 10_13, 6_0, 11_0, "Use Facebook SDK instead");
Accounts/ACAccountType.h:14: ACCOUNTS_EXTERN NSString * const ACAccountTypeIdentifierSinaWeibo NS_DEPRECATED(NA, 10_13, 6_0, 11_0, "Use Sina Weibo SDK instead");
Accounts/ACAccountType.h:15: ACCOUNTS_EXTERN NSString * const ACAccountTypeIdentifierTencentWeibo NS_DEPRECATED(NA, 10_13, 7_0, 11_0, "Use Tencent Weibo SDK instead");
Accounts/ACAccountType.h:19: ACCOUNTS_EXTERN NSString * const ACFacebookAppIdKey NS_DEPRECATED(NA, 10_13, 6_0, 11_0, "
@nevan
nevan / WWDC 2021 Sessions.txt
Created June 14, 2021 17:55
Session numbers and titles for WWDC 2021
101 Keynote
111 Keynote (ASL)
10321 Monday@WWDC21
102 Platforms State of the Union
112 Platforms State of the Union (ASL)
10049 Add intelligence to your widgets
10021 Add rich graphics to your SwiftUI app
10085 Apple’s privacy pillars in focus
10122 Bring accessibility to charts in your app
10005 Connect Bluetooth devices to Apple Watch