Skip to content

Instantly share code, notes, and snippets.

View CrashenX's full-sized avatar
🍪
Ohm nom nom

Jesse J. Cook CrashenX

🍪
Ohm nom nom
  • Greater St. Louis
View GitHub Profile
@CrashenX
CrashenX / vm-bridge
Last active July 25, 2016 18:05
Example script for configuring host networking for KVM guest. Works for wireless interface on host.
#!/bin/bash
# "Bridge" Networking between KVM Guest and Host
#
# Copyright (c) 2014 Jesse J. Cook
#
# Permission is hereby granted, free of charge, to any person obtaining a copy
# of this software and associated documentation files (the "Software"), to deal
# in the Software without restriction, including without limitation the rights
# to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
# copies of the Software, and to permit persons to whom the Software is
@CrashenX
CrashenX / git-cc
Created March 14, 2012 12:36
git-cc script
#!/usr/bin/env ruby
@authors = {}
def parse_blame(line)
key, value = line.split(" ", 2)
case key
when "author"
@name = value
when "author-mail"