This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/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" |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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/"> |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# 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 |