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
global endTime | |
set starttime to 2510 | |
set endTime to 2528 | |
on captureAndStep() | |
tell application "VLC" to activate | |
tell application "System Events" | |
keystroke "s" using {command down, option down} | |
keystroke "e" |
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
on captureAndStep() | |
tell application "VLC" to activate | |
tell application "System Events" | |
keystroke "s" using {command down, option down} | |
keystroke "e" | |
end tell | |
tell application "VLC" to display dialog "Capture next frame?" buttons {"Yes", "No, I'm done"} default button 1 cancel button 2 with title "Continue?" | |
if result = {button returned:"Yes"} then | |
captureAndStep() | |
end if |
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
// linear-gradient | |
//============================================================ | |
// @see http://dev.w3.org/csswg/css3-images/#linear-gradients | |
// | |
// @param dir : top, left, 90deg | |
// @param start-color : #000, rgba(255,255,255,0.5) | |
// @param end-color : #000, rgba(255,255,255,0.5) | |
// | |
// NOTE: The direction for the IE gradient is automagically | |
// worked out for you based either on the direction or the |
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
/* Basic two stop gradient */ | |
.example-gradient { | |
.linear-gradient(150deg, #eee, #aaa); | |
} | |
/* Outputs */ | |
.example-gradient { | |
background: -webkit-linear-gradient(150deg, #EEE 0%, #AAA 100%); | |
background: -moz-linear-gradient(150deg, #EEE 0%, #AAA 100%); | |
background: -ms-linear-gradient(150deg, #EEE 0%, #AAA 100%); | |
background: -o-linear-gradient(150deg, #EEE 0%, #AAA 100%); |