Skip to content

Instantly share code, notes, and snippets.

View faddat's full-sized avatar

Jacob Gadikian faddat

View GitHub Profile
[global]
log_level = 'debug'
[mode]
[mode.clients]
enabled = true
refresh = true
misbehaviour = false
[mode.connections]
enabled = false
@faddat
faddat / build-banana-pi.3.4.90.sh
Created July 4, 2016 11:59 — forked from cdave1/build-banana-pi.3.4.90.sh
Shell script for creating banana pi image with kernel 3.4.90
#!/bin/bash
rm -rf build
mkdir -p build
echo "[INFO] Creating u-boot for bananapi"
if [ ! -d u-boot-bananapi ]; then
git clone https://github.com/LeMaker/u-boot-bananapi.git
elif [ -d u-boot-bananapi ]; then
( cd u-boot-bananapi && git pull )
@faddat
faddat / README.md
Created April 17, 2016 04:26 — forked from oscarrenalias/README.md
Docker service discovery with HAproxy, consul and registrator on Docker Machine and Docker Swarm
@faddat
faddat / compile-ffmpeg-nvenc.sh
Created February 28, 2016 06:48
This bash script will compile a static Ffmpeg build with NVENC support on Ubuntu in your home directory. You can modify the script to customize the build options as you see fit.
#!/bin/bash
#This script will compile and install a static ffmpeg build with support for nvenc un ubuntu.
#See the prefix path and compile options if edits are needed to suit your needs.
#install required things from apt
installLibs(){
echo "Installing prerequisites"
sudo apt-get update
sudo apt-get -y --force-yes install autoconf automake build-essential libass-dev libfreetype6-dev libgpac-dev \
@faddat
faddat / preseed.cfg
Last active February 3, 2016 21:01 — forked from anonymous/preseed.cfg
This is a gist
#### Contents of the preconfiguration file (for jessie)
### Localization
# Preseeding only locale sets language, country and locale.
d-i debian-installer/locale string en_US
# The values can also be preseeded individually for greater flexibility.
#d-i debian-installer/language string en
#d-i debian-installer/country string NL
#d-i debian-installer/locale string en_GB.UTF-8
# Optionally specify additional locales to be generated.
#### Contents of the preconfiguration file (for jessie)
### Localization
# Preseeding only locale sets language, country and locale.
d-i debian-installer/locale string en_US
# The values can also be preseeded individually for greater flexibility.
#d-i debian-installer/language string en
#d-i debian-installer/country string NL
#d-i debian-installer/locale string en_GB.UTF-8
# Optionally specify additional locales to be generated.
@faddat
faddat / cloud-config.yaml
Created October 29, 2015 11:43 — forked from janeczku/cloud-config.yaml
RancherOS iPXE boot script and cloud-config. Ramdisk based deployment with persistent storage on disk. Configures private IP on eth1 from EC2 metadata.
#cloud-config
hostname: rancher-os
ssh_authorized_keys:
- ssh-rsa AAAABBBBBBCCCCCCC...
write_files:
- path: /opt/rancher/bin/start.sh
permissions: 0700
content: |
#!/bin/bash
# Configure private network on eth1
@faddat
faddat / Basic_H3_support.patch
Last active October 27, 2015 02:39 — forked from anonymous/Basic_H3_support.patch
big patch for orangepi h3
From ef1d1a9e7f26c477951e183649fae22716760ca2 Mon Sep 17 00:00:00 2001
From: Marco Franceschetti <vonfritz1@gmail.com>
Date: Sun, 25 Oct 2015 20:00:28 +0100
Subject: [PATCH] Add basic H3 support
---
Documentation/devicetree/bindings/clock/sunxi.txt | 2 +
.../bindings/pinctrl/allwinner,sunxi-pinctrl.txt | 1 +
.../bindings/reset/allwinner,sunxi-clock-reset.txt | 1 +
arch/arm/boot/dts/Makefile | 3 +-
@faddat
faddat / bash-hacks.sh
Last active September 3, 2015 00:52 — forked from ds0nt/bash-hacks.sh
Awesome bash hacks --- (for web devs & ninjas, for dot-file pride, for pleasing the monospace gods )
#### #### #### #### #### ####
# / ! /
# / e /
# / M /
# / /
# / k /
# / r /
# / o /
# F /
# /
@faddat
faddat / klouds-iterations.md
Last active August 29, 2015 14:26 — forked from ds0nt/klouds-iterations.md
Klouds Genesis Iteration

Klouds Iterations

KLouds micro dev cycles: closing the loop in 24 hours or less-- this is agility!

Iteration 1

Backend

  1. route validation refactoring - business logic stays lean and meaningful (can you elaborate pls?)
  2. standalone rancher module