Skip to content

Instantly share code, notes, and snippets.

View dtgay's full-sized avatar

David Gay dtgay

View GitHub Profile
@dtgay
dtgay / fedora-rpg-irc-001.txt
Created June 5, 2012 19:08
Fedora RPG: IRC transcript #1
Any questions about this interaction, or any requests for clarification can be directed to oddshocks.
14:13:29 < oddshocks> I am about to caption stuff that SJ says
14:13:37 < francis-game> okay
14:13:37 < oddshocks> as per his request
14:13:45 < francis-game> thanks
14:13:48 < oddshocks> No problem!
14:14:08 < oddshocks> Good thing that we have a lot of activity in the Google Doc
14:14:32 < oddshocks> At the moment, we have 5 hours worth of stubs. Links to shit
people have written
@dtgay
dtgay / gist:2766933
Created May 22, 2012 05:58
looping through text objects in yaml file for point-and-click-arthur
text_lines = []
for dialog_object in gametext["PLACES"]["start"]["ACTIONS"]["first_visit"]["DIALOG"]:
for text in dialog_object["TEXT"]:
text_lines.append(text)
txt = text_lines[0]
txt2 = text_lines[1]
txt3 = text_lines[2]
@dtgay
dtgay / gist:2647212
Created May 9, 2012 17:47
Java won't append a slash if missing from a String
/**
* Tests the duplicate file finder
* For RIT 4002-219
* Author: David Gay
* Spring 2012
* CODE WRITTEN FOR USE ON A LINUX FILESYSTEM
*/
public class TestDups
{