Skip to content

Instantly share code, notes, and snippets.

🏠
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.
Block or report user

Report or block ScottDillman

Hide content and notifications from this user.

Learn more about blocking users

Contact Support about this user’s behavior.

Learn more about reporting abuse

Report abuse
View GitHub Profile
View keybase.md

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 / getnode.sh
Last active Jan 16, 2019
set up isolated node env
View getnode.sh
#!/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:
@ScottDillman
ScottDillman / protoapp.sh
Last active Oct 11, 2018
Bash script to set up an isolated node environment, and an app with Aurelia framework with Electron or plain Typescript for application prototyping
View protoapp.sh
#!/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 / ffmpeg.md
Created Oct 25, 2017 — forked from Jiab77/ffmpeg.md
Compilation FFMpeg / NVENC + QSV + VAAPI + VDPAU + OpenCL
View ffmpeg.md

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:

View gist:13308d6d5f59fadd68391c36504c895c
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 / fmsnbc.user.js
Last active Oct 19, 2017
greasemonkey script to get direct link to video on msnbc.com
View fmsnbc.user.js
// ==UserScript==
// @name fmsnbc
// @author ctrauma
// @namespace http://dreamcyclestudios.com
// @description Create a direct link to MSNBC videos to avoid poor video performance
// @twitterURL https://twitter.com/chalktrauma
// @homepage http://dreamcyclestudios.com
// @license https://creativecommons.org/licenses/by-sa/4.0/
// @updateURL https://gist.github.com/CTrauma/a0bd3e89d8e05fd5ea3d3a92d55db702
// @downloadURL https://gist.github.com/CTrauma/a0bd3e89d8e05fd5ea3d3a92d55db702
View AGE build error
"P:\projects\age\builds\JM_BAT\Artifacts\Build\Windows\Source\AtomicTool\GenerateAtomicNET.vcxproj" (default target) (1) - >
(CustomBuild target) ->
P:\projects\age\builds\JM_BAT\Script\AtomicNET\AtomicNET\Core\AtomicNET.cs(5,7): error CS0246: The type or namespace nam e 'AtomicPlayer' could not be found (are you missing a using directive or an assembly reference?) [P:\projects\age\builds\ JM_BAT\Artifacts\AtomicNET\Build\AtomicNET\AtomicNET.csproj] [P:\projects\age\builds\JM_BAT\Artifacts\Build\Windows\Source \AtomicTool\GenerateAtomicNET.vcxproj]
P:\projects\age\builds\JM_BAT\Script\AtomicNET\AtomicNET\Application\PlayerApp.cs(9,38): error CS0246: The type or names pace name 'AppBase' could not be found (are you missing a using directive or an assembly reference?) [P:\projects\age\buil ds\JM_BAT\Artifacts\AtomicNET\Build\AtomicNET\AtomicNET.csproj] [P:\projects\age\builds\JM_BAT\Artifacts\Build\Windows\Sou rce\AtomicTool\GenerateAtomicNET.vcxproj]
P:\projects\age\builds\JM_BAT\Script\AtomicNET\AtomicN
View package nightmare
% sudo apt-get install freeglut3-dev !315
Reading package lists... Done
Building dependency tree
Reading state information... Done
The following packages were automatically installed and are no longer required:
libdmx-dev libfontenc-dev libfs-dev libpciaccess-dev
libunity-control-center1 libxaw7-dev libxfont-dev libxmu-dev libxmu-headers
libxmuu-dev libxpm-dev libxres-dev libxss-dev libxtst-dev libxvmc-dev
libxxf86dga-dev unity-settings-daemon x11proto-bigreqs-dev x11proto-dmx-dev
x11proto-dri3-dev x11proto-fonts-dev x11proto-present-dev
@ScottDillman
ScottDillman / build_AtomicGameEngine.txt
Last active Jun 26, 2016
Build AtomicGameEngine from source on Windows in 10 Easy Steps
View build_AtomicGameEngine.txt
Build AtomicGameEngine from source on Windows in 10 Easy Steps
I. From a fresh Windows install
A. [ Install build tools ] Run the following in an admin console:
01. @powershell -NoProfile -ExecutionPolicy Bypass -Command "iex ((new-object net.webclient).DownloadString('https://chocolatey.org/install.ps1'))" && SET PATH=%PATH% ; %ALLUSERSPROFILE% \chocolatey\bin
02. Restart admin shell:
View main.c
#include <stdio.h>
#include <stdlib.h>
#include <string.h>
/* _POOL - pool
* int size - the size of the pool in bytes
* void* ipPool - pointer to memory malloc'd by the operating system
*/
typedef struct _POOL
{
You can’t perform that action at this time.