Skip to content

Instantly share code, notes, and snippets.

View cstrouse's full-sized avatar
💭
Bug Bounty

Casey Strouse cstrouse

💭
Bug Bounty
View GitHub Profile
@cstrouse
cstrouse / Dockerfile
Last active April 11, 2020 21:02 — forked from rosstimson/Dockerfile
Easily get ffmpeg on Fedora with support for all the things. Updated to reflect VLC's move to Gitlab for their repository hosting.
# Dockerfile for ffmpeg with pretty much support for everything as per:
# https://trac.ffmpeg.org/wiki/CompilationGuide/Centos
# includes codecs with weird licensing like MP3 and AAC.
#
FROM fedora
MAINTAINER Ross Timson <[email protected]>
# Install build requirements.
RUN dnf install -y autoconf automake cmake freetype-devel gcc gcc-c++ git libtool make mercurial nasm pkgconfig zlib-devel
@cstrouse
cstrouse / ubuntu-kernel-for-acer-c7.sh
Created February 14, 2017 01:54 — forked from carletes/ubuntu-kernel-for-acer-c7.sh
Script to create Ubuntu kernel packages for an Acer C7 Chromebook running ChrUbuntu
#!/bin/bash
set -x
#
# Grab verified boot utilities from ChromeOS.
#
mkdir -p /usr/share/vboot
mount -o ro /dev/sda3 /mnt
cp /mnt/usr/bin/vbutil_* /usr/bin
@cstrouse
cstrouse / f1_protocol.md
Created February 9, 2017 07:07 — forked from crepererum/f1_protocol.md
Traktor F1 USB

Traktor F1 USB Protocol

Devide Info

  • stateless protocol
  • vendor ID: 0x17cc
  • product ID: 0x1120
  • MSB 0 bit numbering
  • little endian

Input

@cstrouse
cstrouse / hybridline.vim
Created February 9, 2017 00:54 — forked from w0ng/hybridline.vim
vim-airline theme based on powerline and hybrid colours
" vim-airline companion theme of Hybrid
" (https://github.com/w0ng/vim-hybrid)
let g:airline#themes#hybrid#palette = {}
let s:N1 = [ '#282a2e' , '#c5c8c6' , 'black' , 15 ]
let s:N2 = [ '#c5c8c6' , '#373b41' , 15 , 8 ]
let s:N3 = [ '#ffffff' , '#282a2e' , 255 , 'black' ]
let g:airline#themes#hybrid#palette.normal = airline#themes#generate_color_map(s:N1, s:N2, s:N3)
let g:airline#themes#hybrid#palette.normal.airline_a = ['#005f00', '#b5bd68', 22, 10, '']