Examples here use the default settings, see the VidStab readme on GitHub for more advanced instructions.
brew install ffmpeg --with-libvidstab
#!/usr/bin/env sh | |
## | |
# This is script with usefull tips taken from: | |
# https://github.com/mathiasbynens/dotfiles/blob/master/.osx | |
# | |
# install it: | |
# curl -sL https://raw.github.com/gist/4016420/hack.sh | sh | |
# |
javascript:( function() { | |
console.group( 'Performance Information for all entries of ' + window.location.href ); | |
console.log( '\n-> Duration is displayed in ms\n ' ) | |
var entries = window.performance.getEntries(); | |
entries = entries.sort( function( a, b ) { | |
return b.duration - a.duration; | |
} ); | |
javascript:( function() { | |
console.group( 'Performance Information for all entries of ' + window.location.href ); | |
console.log( '\n-> Duration is displayed in ms\n ' ) | |
var entries = window.performance.getEntries(); | |
entries = entries.sort( function( a, b ) { | |
return b.duration - a.duration; | |
} ); | |
Examples here use the default settings, see the VidStab readme on GitHub for more advanced instructions.
brew install ffmpeg --with-libvidstab
/usr/libexec/PlistBuddy -c 'Add :LSUIElement bool true' /Applications/iTerm.app/Contents/Info.plist |
// | |
// Regular Expression for URL validation | |
// | |
// Author: Diego Perini | |
// Updated: 2010/12/05 | |
// | |
// the regular expression composed & commented | |
// could be easily tweaked for RFC compliance, | |
// it was expressly modified to fit & satisfy | |
// these test for an URL shortener: |
/* * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * | |
* Inspired by Filipe Kiss' protip (http://coderwall.com/p/o2hpka), * | |
* I decided to port his PHP variable to JavaScript. * | |
* Do whatever you want with this. Enjoy. Full credit to Filipe. * | |
* * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * */ | |
var status = { | |
100: 'HTTP/1.1 100 Continue', | |
101: 'HTTP/1.1 101 Switching Protocols', |
/* Keyframe animations */ | |
@keyframes bounce-right { | |
0% { width: 520px; } | |
40% { width: 790px; } | |
70% { width: 750px; } | |
85% { width: 765px; } | |
100% { width: 760px; } | |
} | |
@keyframes bounce-left { |
<h1>Split view feature box with CSS skew transform and transitions</h1> | |
<div class="box sunrise"><a href="#box2"></a></div> | |
<div class="slider"> | |
<div class="box sunset"><a href="#box1"></a></div> | |
</div> | |
<footer> | |
<p>Handcrafted by <a href="http://www.twitter.com/dstorey">@dstorey</a> for | |
<a href="http://www.generatedcontent.org/123456/split-feature">GeneratedContent.org</a>. Sunset image, <a href="http://creativecommons.org/licenses/by-nc-sa/2.0/">Some rights reserved</a> by <a href="http://www.flickr.com/photos/42429527@N03/">najeebkhan2009</a>. Sunrise image, <a href="http://creativecommons.org/licenses/by-nd/2.0/">Some rights reserved</a> by <a href="http://www.flickr.com/photos/petehogan/">3dpete</a>.</p> | |
</footer> |
/** | |
* FizzBuzz with CSS | |
*/ | |
body { | |
counter-reset: fizzbuzz; | |
} | |
div { |