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
{
"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,
@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)
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE plist PUBLIC "-//Apple//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd">
<plist version="1.0">
<dict>
<key>ANSIBlackColor</key>
<data>
YnBsaXN0MDDUAQIDBAUGKyxYJHZlcnNpb25YJG9iamVjdHNZJGFyY2hpdmVyVCR0b3AS
AAGGoKcHCBMZHSQoVSRudWxs1QkKCwwNDg8QERJcTlNDb21wb25lbnRzVU5TUkdCXE5T
Q29sb3JTcGFjZV8QEk5TQ3VzdG9tQ29sb3JTcGFjZVYkY2xhc3NPECcwLjM0NjQyMDY0
NTcgMC40MzAzNDgxODc3IDAuNDcwNTk1MTgxIDFPECcwLjI1ODAzMjg1ODQgMC4zNTg1
@derekclair
derekclair / .vimrc
Last active September 8, 2019 00:37
My "current" `.vimrc`
"""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""
" Maintainer:
" Amir Salihefendic — @amix3k
"
" Awesome_version:
" Get this config, nice color schemes and lots of plugins!
"
" Install the awesome version from:
"
" https://github.com/amix/vimrc
#!/bin/bash
# Instructions!
# cd ~
# wget https://raw.githubusercontent.com/adafruit/Raspberry-Pi-Installer-Scripts/master/adafruit-pitft.sh
# chmod +x adafruit-pitft.sh
# sudo ./adafruit-pitft.sh
if [ $(id -u) -ne 0 ]; then
echo "Installer must be run as root."
@derekclair
derekclair / settings.json
Last active November 13, 2020 17:09
VS Code `settings.json`
{
// "editor.disableTranslate3d": true,
// _________________________________________________________________________ [language]
"[elixir]": {
"editor.formatOnSave": true,
"editor.quickSuggestions": {
"other": true,
"comments": false,
"strings": false
}
@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 / 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 / .eslintrc.js
Last active October 25, 2017 03:25
Proposed: ESLint Config
const OFF = 0;
const WARN = 1;
const ERROR = 2;
module.exports = {
'env': {
'browser': true,
'es6': true,
'node': true,