Skip to content

Instantly share code, notes, and snippets.

Robpol86 Robpol86

Block or report user

Report or block Robpol86

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 wrappers.c
Designed for makemkvcon running inside a Docker container writing MKV files to /output.
The problem:
makemkvcon creates MKV files with the maximum of 0644 file mode. The current umask limits the maximum file mode, but
does not itself increase permissions (only decreases). This means when a user has a umask of 0002 and touches a new
file, it will have permissions of 664. However when makemkvcon runs MKV files will have permissions of 644.
The solution:
This code compiles into a shared object which is loaded at the beginning of makemkvcon's execution. This will
Robpol86 /
Created Nov 30, 2016 — forked from porjo/
ffmpeg time-lapse

Convert sequence of JPEG images to MP4 video

ffmpeg -r 24 -pattern_type glob -i '*.JPG' -i DSC_%04d.JPG -s hd1080 -vcodec libx264 timelapse.mp4

  • -r 24 - output frame rate
  • -pattern_type glob -i '*.JPG' - all JPG files in the current directory
  • -i DSC_%04d.JPG - e.g. DSC_0397.JPG
  • -s hd1080 - 1920x1080 resolution

Slower, better quality

Robpol86 / output.txt
Created Nov 9, 2015
GoPro Hero3 Black Edition Linux Kernel Failure
View output.txt
(binwalk)support@moops gopro-linux (master) $ git remote -v
origin (fetch)
origin (push)
(binwalk)support@moops gopro-linux (master) $ git status
# On branch master
nothing to commit, working directory clean
(binwalk)support@moops gopro-linux (master) $ diff .config arch/arm/configs/hero3black-standalone_kernel_defconfig
< # Sun Nov 8 17:56:15 2015
Robpol86 / git
Last active Oct 3, 2016
Setup git.
View git
# Moved to
Robpol86 /
Last active Dec 25, 2018
This is how I setup Raspbian on a Raspberry Pi.

Raspbian Setup (Raspberry Pi)

Steps written for 2017-11-29-raspbian-stretch-lite.img at the time of this writing.

sudo raspi-config

Since I'm from the US and primarily use my Raspberry Pis on my Atrix Lapdock, I use these settings:

  • en_US.UTF-8 UTF-8
  • US/Pacific Ocean
Robpol86 /
Last active Oct 8, 2018
This is how I setup my Fedora (or RHEL/CentOS) boxes.

Fedora Server Setup

Steps updated for Fedora Server 28 64-bit DVD ISO.

Installation Options

  • Software selection: Fedora Custom Operating System
    • No add-ons checked.
  • Network & Host Name: Set Hostname
Robpol86 /
Last active Jun 17, 2019
Documenting the way I setup my Nintendo Wii.

System Setup: Wii

This is currently incomplete! I did not document all the IOS changes I've done.

I have a 2008 Nintendo Wii, which will have a 2 GB SD (not SDHC) card that holds ProjectM and Homebrew software, and a 32 GB USB flash drive housing my purchased ripped games on the bottom-most USB port. This guide will assume both flash devices are newly formatted with the SD card being FAT16 and FAT32 for the USB drive.

Install Homebrew Software

Robpol86 /
Last active Dec 19, 2015
Setup guide I use after flashing a new ROM on my Android phones/devices.

System Setup: Android

This guide explains how I setup my Android devices after flashing a new ROM or just wiping the device to start over. I use it to stay consistent every time I wipe one of my devices.

Backup First

  1. Before flashing, backup with Helium to Google Drive like so:
Robpol86 /
Last active Dec 19, 2015 — forked from mikeflynn/
System setup guide for a command-line chroot environment on Chromebook Pixel laptops.

Chromebook Pixel Setup

    Work in progress.


  • Put the Pixel in developer mode.
Robpol86 /
Created Jun 30, 2013
Disables on-board Ethernet to fix Raspberry Pi WiFi+Lapdock
# Provides: disable-ethernet
# Required-Start: $local_fs
# Required-Stop:
# Default-Start: S
# Default-Stop:
# Short-Description: Disables on-board Ethernet to fix WiFi+Lapdock
# Description: When using the Raspberry Pi Model B on the
You can’t perform that action at this time.