Minimal example: transcode from MP3 to WMA:
ffmpeg -i input.mp3 output.wma
You can get the list of supported formats with:
ffmpeg -formats
You can get the list of installed codecs with:
import { | |
createStore, | |
applyMiddleware, | |
} from 'redux'; | |
import { | |
Provider, | |
connect, | |
} from 'react-redux'; | |
import React, { Component } from 'react'; | |
import { render } from 'react-dom'; |
package tm.alashow.playground; | |
public class PrettyIntegers { | |
public static void main( String args[] ) { | |
Character[] map = {'A', 'B', 'C', 'D', 'E', 'F', 'G', 'H', 'J', 'K', | |
'M', 'N', 'P', 'Q', 'R', 'S', 'T', 'U', 'V', 'W', | |
'X', 'Y', 'Z', 'a', 'b', 'c', 'd', 'e', 'f', 'g', | |
'h', 'j', 'k', 'm', 'n', 'p', 'q', 'r', 's', 't', | |
'u', 'v', 'x', 'y', 'z', '1', '2', '3'}; |
function current_branch() { | |
ref=$(git symbolic-ref HEAD 2> /dev/null) || return | |
echo ${ref#refs/heads/} | |
} | |
function gpull() { | |
git pull origin $(current_branch) | |
} | |
function gpush() { |
Hi Nicholas,
I saw you tweet about JSX yesterday. It seemed like the discussion devolved pretty quickly but I wanted to share our experience over the last year. I understand your concerns. I've made similar remarks about JSX. When we started using it Planning Center, I led the charge to write React without it. I don't imagine I'd have much to say that you haven't considered but, if it's helpful, here's a pattern that changed my opinion:
The idea that "React is the V in MVC" is disingenuous. It's a good pitch but, for many of us, it feels like in invitation to repeat our history of coupled views. In practice, React is the V and the C. Dan Abramov describes the division as Smart and Dumb Components. At our office, we call them stateless and container components (view-controllers if we're Flux). The idea is pretty simple: components can't
(by @andrestaltz)
If you prefer to watch video tutorials with live-coding, then check out this series I recorded with the same contents as in this article: Egghead.io - Introduction to Reactive Programming.
## Global parameters | |
## StatsD Plugin: https://github.com/zebrafishlabs/nginx-statsd | |
statsd_server statsd.domain.tld; | |
# Stop proxying to an upstream if any of these happen | |
proxy_next_upstream error timeout invalid_header http_500 http_502 http_503 http_504; | |
# Setup standard forwarding headers | |
proxy_set_header Accept-Encoding ""; |
These are my notes basically. At first i created this gist just as a reminder for myself. But feel free to use this for your project as a starting point. If you have questions you can find me on twitter @thomasf https://twitter.com/thomasf This is how i used it on a Debian Wheezy testing (https://www.debian.org/releases/testing/)
Discuss, ask questions, etc. here https://news.ycombinator.com/item?id=7445545
var BatchStream = require('batch-stream2') | |
var gulp = require('gulp') | |
var coffee = require('gulp-coffee') | |
var uglify = require('gulp-uglify') | |
var cssmin = require('gulp-minify-css') | |
var bower = require('gulp-bower-files') | |
var stylus = require('gulp-stylus') | |
var livereload = require('gulp-livereload') | |
var include = require('gulp-include') | |
var concat = require('gulp-concat') |