Skip to content

Instantly share code, notes, and snippets.

/* * * * * * * * * * * * * * * * *
* Process-Scheduling Simulator *
* Copyright (c) 2008 *
* Kevin Gisi *
* MIT License *
* * * * * * * * * * * * * * * * */
/* Abstract
* This script provides a menu for determining which
* scheduling algorithm to use, and then prompts the
* user for an input file of processes. Statistics are
require 'net/http'
require 'rubygems'
require 'xmlsimple'
PROJECT_ID = something
TOKEN = something
HOST = "www.pivotaltracker.com"
URL = "/services/v2/projects/#{PROJECT_ID}/stories"
#!/bin/bash
VERSION="0.0.1"
echo "================="
echo "Spurs v$VERSION"
echo "<[email protected]>"
echo "================="
if [ "$(id -u)" != "0" ]; then
@gisikw
gisikw / advanced.feature
Created June 9, 2010 01:47
Examples for Interactive Aruba Steps
Feature: Advanced scripting
As a My script writer
I want to nest tasks inside of questions
So I can respond dynamically to the user's needs
@aruba_interactive
Scenario: Nesting questions
Given a file named "yes.template" with:
"""
<div class="gist" data-id="430931" data-file='aruba_example.feature'>
<!-- Content in case JavaScript is disabled -->
</div>
<div class='gist' data-id='430931' data-file='aruba_example.feature'>
<!-- Content when JavaScript is disabled -->
</div>
<div class='gist' data-id='430931' data-file='aruba_example.feature'>
<!-- Content when JavaScript is disabled -->
</div>
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE plist PUBLIC "-//Apple/DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd">
<plist version="1.0">
<dict>
<key>CFBundleIconFile</key>
<string>intridea.icns</string>
<key>CFBundleExecutable</key>
<string>intridea_presently.sh</string>

Dynamic Ruby for Nubies

Nuby Hoedown MMX

September 2, 2010

About the Speaker

Kevin W. Gisi

Intridea