Skip to content

Instantly share code, notes, and snippets.

@yellowcrescent
yellowcrescent / nginx_builder_hota.sh
Created December 8, 2014 17:49
nginx build script
#!/bin/bash
#
# Nginx build script - jacob@ycnrg.org
#
# Updates code from git/hg repos (or clones if it doesn't exist) for both
# nginx and extra modules, then fires off make
#
# Revision: 3
#
PREFIX="/usr"
@yellowcrescent
yellowcrescent / keybase.md
Created January 15, 2015 19:19
keybase.md

Keybase proof

I hereby claim:

  • I am tetrisfrog on github.
  • I am crescent (https://keybase.io/crescent) on keybase.
  • I have a public key whose fingerprint is A96E 858A 4844 CDD2 17C5 BA6C CAAB 13B5 9DA9 9403

To claim this, I am signing this object:

@yellowcrescent
yellowcrescent / ffmpeg_builder_onodera.sh
Created February 5, 2015 23:14
ffmpeg_builder_onodera.sh
#!/bin/bash
#
# FFmpeg build script - jacob@ycnrg.org
#
# Updates code from git repo, runs configure, then fires off make
#
# Revision: 1
#
PREFIX="/usr"
SRCBASE="/opt/src"
@yellowcrescent
yellowcrescent / gpush
Created February 18, 2015 00:48
Commit validation for ycplay
#!/bin/bash
###############################################################################
#
# ycplay.tv - Commit validation script
# jacob@ycnrg.org
# https://ycnrg.org/
# https://ycplay.tv/
#
###############################################################################
COMMIT_MSG="$1"
@yellowcrescent
yellowcrescent / nginx_builder_hota.sh
Last active August 29, 2015 14:16
nginx_builder_hota.sh
#!/bin/bash
#
# Nginx build script - jacob@ycnrg.org
#
# Updates code from git/hg repos (or clones if it doesn't exist) for both
# nginx and extra modules, then fires off make
#
# Revision: 3
#
PREFIX="/usr"
@yellowcrescent
yellowcrescent / Makefile
Created December 11, 2016 01:17
avr makefile for arduino
# Trying to build a fucking makefile
# jacob AVR makefile
BUILDNAME=BLINKTEST
## Program names
CC=avr-gcc
CXX=avr-g++
OBJ2HEX=avr-objcopy
UISP=avrdude
@yellowcrescent
yellowcrescent / Makefile
Created December 11, 2016 03:35
makefile for pinger thing
# Trying to build a fucking makefile
# jacob AVR makefile
#BUILDNAME=BLINKTEST
BUILDNAME=PINGER-2016
## Program names
CC=avr-gcc
CXX=avr-g++
OBJ2HEX=avr-objcopy
@yellowcrescent
yellowcrescent / blink.c
Created December 14, 2016 01:08
helloavr
@yellowcrescent
yellowcrescent / deadburn
Created December 15, 2016 01:41
deadburn
#!/usr/bin/php
<?php
/*
deadBurn
Multi-tool for working with DeadBeef playlists
including burning CDs.
Copyright (c) 2011-2012 Jacob Hipps
@yellowcrescent
yellowcrescent / fail2ban.yml
Created December 15, 2016 04:56
fail2ban ansible playbook for ce7, ubuntu, and debian
# vim: set ts=2 sw=2 expandtab syntax=yaml:
---
- hosts: all
tasks:
- name: Configure vars (Debian)
set_fact:
paths_include: paths-debian.conf
when: ansible_os_family == "Debian" or ansible_os_family == "Ubuntu"
- name: Configure vars (EL)