Skip to content

Instantly share code, notes, and snippets.

Andrew J. Cosgriff ajc

Block or report user

Report or block ajc

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
@geekle
geekle / makeiso.sh
Created Jan 19, 2014
Create bootable CoreOS ISO from the master PXE images.
View makeiso.sh
#!/bin/bash
# Creates a bootable ISO from CoreOS' PXE images.
# Also adds a run script to the OEM partition and converts the ISO so it can boot from USB media.
# Based heavily off https://github.com/nyarla/coreos-live-iso - Thanks Naoki!
set -e
# Default configurations
SYSLINUX_VERSION="6.02"
@aussiegeek
aussiegeek / tramtracker.rb
Created Jul 25, 2013
Job to get tram data for dashing
View tramtracker.rb
require "rexml/document"
SCHEDULER.every '1m', :first_in => 0 do |job|
stop_no = 1819
url = URI.parse('http://ws.tramtracker.com.au/pidsservice/pids.asmx')
request =Net::HTTP::Post.new(url.path)
request.body = %Q{<?xml version="1.0" encoding="utf-8"?>
<soap12:Envelope xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:soap12="http://www.w3.org/2003/05/soap-envelope">
<soap12:Header>
<PidsClientHeader xmlns="http://www.yarratrams.com.au/pidsservice/">
View make_osx_vagrant_box.sh
# Create an OSX Vagrant Box
# Run this script from the directory that has InstallESD.dmg in it
# Get InstallESD.dmg using the method described on this link
# http://hints.macworld.com/article.php?story=20110831105634716
# Setup a vagrant box
# http://garylarizza.com/blog/2013/01/20/using-veewee-to-build-os-x-vms/
git clone git://github.com/jedi4ever/veewee.git
You can’t perform that action at this time.