Skip to content

Instantly share code, notes, and snippets.

View ScottDillman's full-sized avatar
🏠
Working in ways that dramatically strain or break gestalt and abstraction.

Scott Dillman ScottDillman

🏠
Working in ways that dramatically strain or break gestalt and abstraction.
View GitHub Profile
@ScottDillman
ScottDillman / gist:13308d6d5f59fadd68391c36504c895c
Created October 24, 2017 17:47 — 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)
@ScottDillman
ScottDillman / ffmpeg.md
Created October 25, 2017 20:10 — forked from Jiab77/ffmpeg.md
Compilation FFMpeg / NVENC + QSV + VAAPI + VDPAU + OpenCL

Compilation FFMpeg / NVENC + NVRESIZE + QSV + VAAPI + VDPAU + OpenCL

nVidia nvresize patch is outdated and not more compatible to the latest version of FFmpeg, so it's not included in this documentation.

(even if I've passed a lot of time at trying to make it compile... without any success)

Please don't rely on this page: https://developer.nvidia.com/ffmpeg, the implementation is a hack and was never been added to the main FFmpeg tree.

See:

@ScottDillman
ScottDillman / protoapp.sh
Last active October 11, 2018 20:38
Bash script to set up an isolated node environment, and an app with Aurelia framework with Electron or plain Typescript for application prototyping
#!/bin/bash
#===============================================================================
#title : newApp.sh
#description : This script will generate a skeleton electron app using
# : UniteJS and the Aurelia framework as well as creating
# : an isolated Node.js environment
#author : scott@bitwise.ninja
#date : 20180903
#version : 0.1
#usage : bash newApp.sh
@ScottDillman
ScottDillman / getnode.sh
Last active January 16, 2019 14:45
set up isolated node env
#!/bin/bash
#===============================================================================
#title : node_env.sh
#description : This script will generate an isolated Node.js environment
#date : 20180912
#version : 0.1
#usage : bash node_env.sh
#notes : Edit user settings before running if needed
#bash_version : 4.3.48(1)-release
## REQUIREMENS:

Keybase proof

I hereby claim:

  • I am scottdillman on github.
  • I am scottdillman (https://keybase.io/scottdillman) on keybase.
  • I have a public key ASC2ogHQTRJSJeP7sOYYW_AQMIZhJqJhO9A0O_j85rAjZgo

To claim this, I am signing this object:

@ScottDillman
ScottDillman / cli-repos.txt
Created June 23, 2020 16:07
CLI Tools repos
https://github.com/Aloxaf/silicon.git
https://github.com/BurntSushi/ripgrep.git
https://github.com/BurntSushi/xsv.git
https://github.com/Peltoche/lsd.git
https://github.com/XAMPPRocky/tokei.git
https://github.com/clog-tool/clog-cli.git
https://github.com/dalance/amber.git
https://github.com/dalance/flexlint.git
https://github.com/dalance/procs.git
https://github.com/dandavison/delta.git
@ScottDillman
ScottDillman / obsidian-notice.css
Last active March 30, 2021 14:54
CSS fragment to create notices and pulsating bullets from code blocks
/**
* I use .app-container to get around CSS selector specificity
*/
.app-container pre[class*="language-note-"] {
border: 2px solid;
}
/* Make the first line of note bold */
*[class*="language-note"]::first-line {
@ScottDillman
ScottDillman / file_type_sorter.py
Created March 4, 2024 13:47 — forked from notalentgeek/file_type_sorter.py
My Python script to sort file based on its MIME type into separate folders.
# This is a Python script that let you arrange
# files into a folder for each extension. Actually
# I lied, this script is not about file extension
# but about a file's mime type. So, in case there
# are files that has no extension this script can
# predict what the file's extension could be.
# However, the only requirement is that file need
# to be able to be read by the computer's OS. For
# example image files usually has no problem with
# this script also with other media files. But,