⌘T | go to file |
⌘⌃P | go to project |
⌘R | go to methods |
⌃G | go to line |
⌘KB | toggle side bar |
⌘⇧P | command prompt |
This file contains 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
> DESCRIPTION OF PROBLEM | |
> In Photos.app, Videos.app, and iMovie.app, local videos can be rewound using the video scrubber. Scrubbing backwards in a video is extremely smooth and satisfying. | |
> | |
> Using AVPlayer in our app, ScoreBreak, we cannot achieve the same smoothness when scrubbing a video backwards. There are reports on stack overflow which indicate that this is due to the codec used by AVPlayer. | |
> | |
> We would like to deliver the same beautiful user interaction with videos as offered by your system apps. Can you instruct us on how to achieve this while using AVFoundation? | |
> | |
> STEPS TO REPRODUCE | |
> • Create test application which utilizes AVPlayer for local video file playback | |
> • Scrub backwards using AVPlayer controller |
This file contains 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
/** | |
* Hide the addressbar on ios & android devices | |
* https://gist.github.com/yckart/5609969 | |
* | |
* Based on the work from Nate Smith | |
* @see https://gist.github.com/nateps/1172490 | |
* | |
* Copyright (c) 2013 Yannick Albert (http://yckart.com) | |
* Licensed under the MIT license (http://www.opensource.org/licenses/mit-license.php). | |
* 2013/07/10 |
This file contains 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
#!/usr/bin/env bash | |
# ---------------------------------------------------- | |
# | |
# Automated setup for a Ubuntu server with git, ruby, rvm, nginx. | |
# (Used at Carbonmade) | |
# | |
# Usage: | |
# - SCP this file to your server: scp ubuntu_setup.sh you@server:~ | |
# - Make it executable: chmod +x ubuntu_setup.sh | |
# - Run it: bash ubuntu_setup.sh |