Command Flags
Flag | Options | Description |
---|---|---|
-codec:a |
libfaac, libfdk_aac, libvorbis | Audio Codec |
-quality |
best, good, realtime | Video Quality |
-b:a |
128k, 192k, 256k, 320k | Audio Bitrate |
-codec:v |
mpeg4, libx264, libvpx-vp9 | Video Codec |
:root { | |
--violation-color: red; /* used for clear issues */ | |
--warning-color: orange; /* used for potential issues we should look into */ | |
} | |
/* IMAGES */ | |
/* | |
* Lazy-Loaded Images Check | |
* ==== |
# Splits video to separate scenes files when full black frames are found in the video | |
# Inspired by https://gist.github.com/achesco/4dc2ebf13378a0a61fc26c7fe01f539e | |
# Who got inspired by https://stackoverflow.com/a/38205105 | |
#!/bin/bash | |
file="" | |
out="./" | |
dur=0.05 | |
stripaudio="" |
Command Flags
Flag | Options | Description |
---|---|---|
-codec:a |
libfaac, libfdk_aac, libvorbis | Audio Codec |
-quality |
best, good, realtime | Video Quality |
-b:a |
128k, 192k, 256k, 320k | Audio Bitrate |
-codec:v |
mpeg4, libx264, libvpx-vp9 | Video Codec |
Stop playing gitignore whack-a-mole! This gitignore approach excludes everything except for what we want to track.
From: https://www.billerickson.net/code/sample-gitignore/
Note the update to line 2 to include a slash before **
. That is critical. See: https://git-scm.com/docs/gitignore
function mysite_pending($order_id) { | |
error_log("$order_id set to PENDING", 0); | |
} | |
function mysite_failed($order_id) { | |
error_log("$order_id set to FAILED", 0); | |
} | |
function mysite_hold($order_id) { | |
error_log("$order_id set to ON HOLD", 0); | |
} | |
function mysite_processing($order_id) { |
###Prerequesites
Install flightplan globally
npm install -g flightplan
Install flightplan in your project folder
# -*- mode: ruby -*- | |
# vi: set ft=ruby : | |
box = 'ubuntu/trusty64' | |
hostname = 'emberclibox' | |
domain = 'example.com' | |
ip = '192.168.42.42' | |
ram = '512' | |
$rootScript = <<SCRIPT |
/** | |
* Scoop corners with only one gradient | |
* Caveats: backdrop must be a solid color, | |
* dimensions need to be known | |
* For more flexibility, see: http://lea.verou.me/2011/03/beveled-corners-negative-border-radius-with-css3-gradients/ | |
*/ | |
div { | |
width: 400px; | |
height: 300px; |
/* Vedant Misra (vedantmisra.com) (github.com/vedant) | |
* | |
* Script for exporting Google Keep note files. | |
* | |
* This does not handle attachments or checklists, only note files. Downloads | |
* each note to a .txt file named for the note's title. | |
* | |
* To use this, go to https://drive.google.com/keep/ and wait for the page to | |
* fully load all of your saved notes; scroll to the bottom to confirm they're | |
* loaded. Then paste the below in your URI bar, go to the start of the line, |
# to generate your dhparam.pem file, run in the terminal | |
openssl dhparam -out /etc/nginx/ssl/dhparam.pem 2048 |