Skip to content

Instantly share code, notes, and snippets.

View michaelhollman's full-sized avatar

Michael Hollman michaelhollman

  • Hudl (join.hudl.com)
  • Lincoln, NE
View GitHub Profile
@michaelhollman
michaelhollman / nest-test.js
Last active September 3, 2020 07:20
The woes of CasperJS nesting
//nesting thens
casper.then(function () {
this.log('THEN #1', 'info', 'then');
this.then(function () {
this.log('THEN #2', 'info', 'then');
this.then(function () {
this.log('THEN #3', 'info', 'then');
});
this.log('THEN #4', 'info', 'then');
public static int randomInt(int min, int max) {
return (int) (Math.random() * (max - min + 1)) + min;
}
@michaelhollman
michaelhollman / ffmpeg-commands.md
Last active December 6, 2016 01:16
ffmpeg commands

Make a timelapse from images

ffmpeg -framerate 30 -f image2 -i images_%05d.JPG -r 30 -vcodec libx264 -pix_fmt yuv420p -crf 20 output.mp4
  • -framerate 30 input images at 30fps
  • -f image2 process the input as images
  • -i blahblahblah input
  • -r 30 output 30fps
@michaelhollman
michaelhollman / setup.md
Created February 16, 2016 06:21
Kauffman Hackerspace - What's Git?

If you want to follow along with the talk, you'll need to get some stuff set up ahead of time:

  1. Sign up for (or verify you have) a Github account.
  2. Install the Github Desktop client.
  • If you want to use a different GUI, go ahead, but I can't guarantee I'll be able to help you if you get hung up by it.
  1. Verify you can use git in Terminal (on Mac) or in Powershell or Git Bash (on Windows).
  • Mac: You should be able to just type git in Terminal and it will walk you through everything you need to do if it's not already set up.
  • Windows: The Github Desktop installer should set everything up for you. You might need to edit you PATH environment variable.
  1. Optional: Authenticate with Github from you local git
  2. [Dance](https://media.giphy
@michaelhollman
michaelhollman / main.cs
Last active January 8, 2020 22:24
servicestack.text fun
using System;
using ServiceStack.Text;
enum Subset
{
Zero,
}
enum Superset
{
Zero,