Skip to content

Instantly share code, notes, and snippets.

View andrewstellman's full-sized avatar

Andrew Stellman andrewstellman

View GitHub Profile
@justanotherdot
justanotherdot / Dockerfile.bite_sized_networking
Last active May 20, 2022 08:56
A Dockerfile with (almost) all the tools mentioned in Bite Size Networking by Julia Evans
# N.B. The only tool missing here that is mentioned in the document is `zenmap`
# purely because this image is intended to be run via a CLI and `zenmap` is a GUI
# to `nmap` i.e. one can play around with the tools by running:
#
# $ docker build --name bite_size_networking:latest .
# $ docker run --rm -d --name bsn_test bite_size_networking:latest
# $ docker exec -it bsn_test bash
#
# Alternatively, one can change the `ENTRYPOINT` to `["bash"]` and run:
#
@tskaggs
tskaggs / OSX-Convert-MOV-GIF.md
Last active November 5, 2024 21:41
Creating GIFs from .MOV files in OSX using FFmpeg and ImageMagick

Convert MOV to GIF using FFmpeg and ImageMagick

I tried a few different techniques to make a GIF via command-line and the following gives me the best control of quality and size. Once you're all setup, you'll be pumping out GIFs in no time!

Preparation

Install FFmpeg

  • $ brew install ffmpeg [all your options]
    • Example: $ brew install ffmpeg --with-fdk-aac --with-ffplay --with-freetype --with-frei0r --with-libass --with-libvo-aacenc --with-libvorbis --with-libvpx --with-opencore-amr --with-openjpeg --with-opus --with-rtmpdump --with-schroedinger --with-speex --with-theora --with-tools

Install ImageMagick

@gra-moore
gra-moore / dotNetRdf-Tutorial-Samples.cs
Created April 23, 2012 16:07
Annotated Examples to support a dotNetRdf Tutorial
/**
* This is a set of unit tests that provide a simple walkthrough of dotNetRdf.
* Many samples are taken from or inspired by the User Guide Basic Tutorial.
* The full website is here http://www.dotnetrdf.org/default.asp
*
* This code is made available under the following license:
* http://creativecommons.org/licenses/by/3.0/
*
* Author: Graham Moore
* [email protected]