https://developer.apple.com/wwdc/schedule/#/
https://developer.apple.com/videos/wwdc2016/
Interesting videos:
| // http://paulirish.com/2011/requestanimationframe-for-smart-animating/ | |
| // http://my.opera.com/emoller/blog/2011/12/20/requestanimationframe-for-smart-er-animating | |
| // requestAnimationFrame polyfill by Erik Möller. fixes from Paul Irish and Tino Zijdel | |
| // MIT license | |
| (function() { | |
| var lastTime = 0; | |
| var vendors = ['ms', 'moz', 'webkit', 'o']; |
| curl -O --compressed https://devimages-cdn.apple.com/wwdc-services/h8a19f8f/049CCC2F-0D8A-4F7D-BAB9-2D8F5BAA7030/contents.json | |
| jq '.contents[] | { title: .title, media: .media.downloadSD, id: .id } | if (.id | test(".*2017.*")) then . else empty end | if .media then .media else empty end' contents.json | xargs -n 1 wget -nc | |
| jq '.contents[] | { title: .title, media: .media.slides, id: .id } | if (.id | test(".*2017.*")) then . else empty end | if .media then .media else empty end' contents.json | xargs -n 1 wget -nc |
| #!/usr/bin/env bash | |
| lipo -extract_family x86_64 $1 -o $1_thin | |
| mkdir $1_objs | |
| cd $1_objs | |
| ar -x ../$1_thin |
| class MyObject | |
| attr_accessor :my_id | |
| def isEqual(object) | |
| object.class == self.class && object.my_id == my_id | |
| end | |
| def hash | |
| my_id.hash | |
| end |
| class AppDelegate | |
| def application(application, didFinishLaunchingWithOptions:options) | |
| if options && options[UIApplicationLaunchOptionsRemoteNotificationKey] | |
| # The application was completely closed and the user launched it by tapping on a notification | |
| else | |
| # The application was completely closed and the user launched it by tapping on the app's icon | |
| end | |
| end |
| header_file = "mach-o/dyld.h" | |
| bridgesupport_file = "#{header_file.tr('/', '_').chomp('.h')}.bridgesupport" | |
| system("/usr/bin/gen_bridge_metadata --format complete --64-bit --cflags -I/usr/include #{header_file} > #{bridgesupport_file}") | |
| bs_frameworks << " --uses-bs #{File.join(Dir.pwd, bridgesupport_file)}" |
| #import <Foundation/Foundation.h> | |
| #import <JavaScriptCore/JavaScriptCore.h> | |
| #import <objc/runtime.h> | |
| const char *_protocol_getMethodTypeEncoding(Protocol *, SEL, BOOL isRequiredMethod, BOOL isInstanceMethod); | |
| //@protocol MyProtocol <JSExport> | |
| // -(void)one:(id)one; | |
| //@end |
| (?i)gol|partidos*|[a|á]rbitros*|bal[o|ó]n|f[u|ú]tbol|neymar|mou|messi|ronaldo|atleti|barça|real madrid|penaltis*|villarato|atl[e|é]tico|busquets|vald[e|é]s|piqué |