H.264 | |
---|---|
Scan |
- GitHub Staff
- https://www.smockle.com/
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
ffmpeg -i in.mov -vf scale=800:-1 -r 10 -f image2pipe -vcodec ppm - | convert -delay 5 -layers Optimize -loop 0 - out.gif |
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
#!/usr/bin/env bash | |
killall Finder | |
killall Dock | |
/System/Library/Frameworks/CoreServices.framework/Frameworks/LaunchServices.framework/Support/lsregister -kill -r -domain local -domain system -domain user | |
launchctl stop com.apple.pboard | |
launchctl start com.apple.pboard |
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
class Container { | |
constructor(x) { | |
this.__value = x; | |
} | |
static of(x) { | |
return new Container(x); | |
} | |
map(f) { |
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
/*eslint-env browser */ | |
/*eslint quotes: [1, "single"] */ | |
(function() { | |
'use strict'; | |
var selectors = [ '.viewport', 'div.screen', 'div.screen img' ]; | |
selectors.forEach(function(selector) { | |
var element = document.querySelector(selector); | |
if (!(element instanceof HTMLElement)) { return; } |
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
sign(href, method) { | |
return co(function* () { | |
let token = yield this.token; | |
let consumerKey = encodeURIComponent(process.env.TWITTER_CONSUMER_KEY); | |
let consumerSecret = encodeURIComponent(process.env.TWITTER_CONSUMER_SECRET); | |
let accessToken = encodeURIComponent(process.env.TWITTER_ACCESS_TOKEN); | |
let nonce = btoa(Random.string(32)); | |
let timestamp = new Date().getTime(); |
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
// Style JSON keys and values differently | |
atom-text-editor::shadow .meta.structure.dictionary.json { | |
// Keys | |
& > .string.quoted.json, | |
.punctuation.definition.string.json { | |
color: @blue; | |
} | |
// Values | |
& > .value.json > .string.json, |
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
// Hide icons in tabs | |
.tab-bar li.tab .title:before { | |
display: none; | |
} | |
// Left align close button and modified indicator in tabs | |
.tab-bar .tab.active .title, | |
.tab-bar .tab .title { | |
padding-left: 28px; | |
} |
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 the lines below to your init script, | |
# accessible via Atom > Open Your Init Script | |
atom.commands.add 'atom-workspace', 'tabs:force-close-other-tabs', -> | |
tabBar = atom.workspace.getPanes()[0] | |
tabBarElement = atom.views.getView(tabBar).querySelector(".tab-bar") | |
tabBarElement.querySelector(".active").classList.add("right-clicked") | |
atom.commands.dispatch(tabBarElement, 'tabs:close-other-tabs') |
##O’Reilly Fluent Conference 2015
Dates: 20th-22nd April
Location: San Francisco, CA
Ticket Price: $1245
Twitter Attending: 6
Put JavaScript, HTML5, CSS, & the latest web tools to work. Fluent is for everyone who has a hand in web development, from front-end to back-end and everything in between. Get practical training on the latest in HTML5, CSS3, JavaScript, and the frameworks that build on those technologies.
- All Sessions (Tue-Wed) - All Keynotes (Tue-Wed) - 3-month subscription to Safari Pro - Exhibit Hall (Tue-Wed)