Skip to content

Instantly share code, notes, and snippets.

View derekclair's full-sized avatar
:octocat:
git commit'n

Derek Clair derekclair

:octocat:
git commit'n
View GitHub Profile
@derekclair
derekclair / PostPreview.js
Created May 31, 2018 07:52 — forked from keatz55/PostPreview.js
Context API - Simple Session Example
import React from 'react';
import Paper from 'material-ui/Paper';
import withSession from '../hocs/withSession';
class PostPreview extends React.PureComponent {
render() {
const { session } = this.props;
return (
<Paper square elevation={1}>
@derekclair
derekclair / Editor.js
Created May 31, 2018 07:52 — forked from keatz55/Editor.js
Context API - Simple Tree Structure Example
import React from 'react';
import Paper from '@material-ui/core/Paper';
import uuidv4 from 'uuid/v4';
import TreeContext from './contexts/TreeContext';
import Node from './components/Node';
import NodeEditor from './components/NodeEditor';
class Editor extends React.Component {
@derekclair
derekclair / gist:340bb2da0bedc8a3d314e54e74058cdb
Created May 31, 2019 05:09 — forked from tayvano/gist:6e2d456a9897f55025e25035478a3a50
complete list of ffmpeg flags / commands
Originall From: Posted 2015-05-29 http://ubwg.net/b/full-list-of-ffmpeg-flags-and-options
This is the complete list that’s outputted by ffmpeg when running ffmpeg -h full.
usage: ffmpeg [options] [[infile options] -i infile]… {[outfile options] outfile}…
Getting help:
-h — print basic options
-h long — print more options
-h full — print all options (including all format and codec specific options, very long)
{
"aliasColors": {},
"bars": false,
"dashLength": 10,
"dashes": false,
"datasource": null,
"fill": 1,
"gridPos": {
"h": 9,
"w": 12,
{
"aliasColors": {},
"bars": false,
"dashLength": 10,
"dashes": false,
"datasource": null,
"fill": 1,
"gridPos": {
"h": 9,
"w": 12,