| Code | Title | Duration | Link |
|---|---|---|---|
| Keynote | Andy Jassy Keynote Announcement Recap | 0:01 | https://www.youtube.com/watch?v=TZCxKAM2GtQ |
| Keynote | AWS re:Invent 2016 Keynote: Andy Jassy | 2:22 | https://www.youtube.com/watch?v=8RrbUyw9uSg |
| Keynote | AWS re:Invent 2016 Keynote: Werner Vogels | 2:16 | https://www.youtube.com/watch?v=ZDScBNahsL4 |
| Keynote | [Tuesday Night Live with James Hamilton](h |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| _imageView.hidden = NO; | |
| _imageView.alpha = 1.0f; | |
| // Then fades it away after 2 seconds (the cross-fade animation will take 0.5s) | |
| [UIView animateWithDuration:0.5 delay:0.5 options:0 animations:^{ | |
| // Animate the alpha value of your imageView from 1.0 to 0.0 here | |
| _imageView.alpha = 0.0f; | |
| } completion:^(BOOL finished) { | |
| // Once the animation is completed and the alpha has gone to 0.0, hide the view for good | |
| _imageView.hidden = YES; | |
| }]; |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| <IfModule mod_rewrite.c> | |
| RewriteEngine On | |
| RewriteBase / | |
| RewriteCond %{REQUEST_URI} ^system.* | |
| RewriteRule ^(.*)$ /index.php/$1 [L] | |
| RewriteCond %{REQUEST_FILENAME} !-f | |
| RewriteCond %{REQUEST_FILENAME} !-d | |
| RewriteCond $1 !^(index\.php|img|robots\.txt|css|js|font|resume|blog|human\.txt) | |
| RewriteRule ^(.*)$ index.php/$1 [L] | |
| </IfModule> |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| # xcode-build-bump.sh | |
| # @desc Auto-increment the build number every time the project is run. | |
| # @usage | |
| # 1. Select: your Target in Xcode | |
| # 2. Select: Build Phases Tab | |
| # 3. Select: Add Build Phase -> Add Run Script | |
| # 4. Paste code below in to new "Run Script" section | |
| # 5. Drag the "Run Script" below "Link Binaries With Libraries" | |
| # 6. Insure that your starting build number is set to a whole integer and not a float (e.g. 1, not 1.0) |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| # Xcode | |
| # | |
| # gitignore contributors: remember to update Global/Xcode.gitignore, Objective-C.gitignore & Swift.gitignore | |
| ## Build generated | |
| build/ | |
| DerivedData | |
| ## Various settings | |
| *.pbxuser |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| #Add as Run Script in Xcode | |
| if which swiftlint >/dev/null; then | |
| swiftlint | |
| else | |
| echo "warning: SwiftLint not installed, download from https://github.com/realm/SwiftLint" | |
| fi |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| #add as run script in xcode | |
| if which taylor >/dev/null; then | |
| taylor -p ${PROJECT_DIR} -r xcode | |
| else | |
| echo "Taylor not installed" | |
| fi |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| # Your init script | |
| # | |
| # Atom will evaluate this file each time a new window is opened. It is run | |
| # after packages are loaded/activated and after the previous editor state | |
| # has been restored. | |
| # | |
| # An example hack to log to the console when each text editor is saved. | |
| # | |
| # atom.workspace.observeTextEditors (editor) -> | |
| # editor.onDidSave -> |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| #!/bin/bash | |
| f=$(pwd) | |
| sips --resampleWidth 512 "${f}/${1}" --out "${f}/iTunesArtwork.png" | |
| sips --resampleWidth 1024 "${f}/${1}" --out "${f}/iTunesArtwork@2x.png" | |
| sips --resampleWidth 20 "${f}/${1}" --out "${f}/Icon-App-20x20@1x.png" | |
| sips --resampleWidth 40 "${f}/${1}" --out "${f}/Icon-App-20x20@2x.png" | |
| sips --resampleWidth 60 "${f}/${1}" --out "${f}/Icon-App-20x20@3x.png" | |
| sips --resampleWidth 29 "${f}/${1}" --out "${f}/Icon-App-29x29@1x.png" | |
| sips --resampleWidth 58 "${f}/${1}" --out "${f}/Icon-App-29x29@2x.png" |
OlderNewer