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
import groovy.json.JsonSlurper | |
import groovy.swing.SwingBuilder | |
import java.awt.BorderLayout as BL | |
import java.awt.Color | |
import java.awt.Font | |
import javax.swing.WindowConstants as WC | |
String base = 'http://api.icndb.com/jokes/random?limitTo=[nerdy]' |
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
import groovy.json.JsonBuilder | |
def names = ['samrg472', 'kaendfinger', 'Logan'] | |
def builder = new JsonBuilder() | |
builder { | |
nameList names | |
} | |
println builder.toPrettyString() |
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
package org.testing.gui | |
import groovy.swing.SwingBuilder | |
import javax.swing.JFrame | |
import java.awt.BorderLayout as BL | |
class TestingGUI { | |
static void main(String[] args) { | |
new SwingBuilder().edt { |
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
forgeInstaller = 'https://dl.dropboxusercontent.com/u/33489746/optiforge/minecraftforge-installer-1.6.2-9.10.0.828.jar' |
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
{ | |
"ComputerCraft": "http://repo.minetweak.org/mods/ComputerCraft1.56.zip", | |
"OpenPeripheral": "https://dl.dropboxusercontent.com/u/4295615/OpenPeripheral-0.2.1-preview8.jar", | |
"ImmibisCore": "http://dl.dropboxusercontent.com/u/2944265/mods/autobuilt/files/immibis-core-56.0.3.jar", | |
"ImmibisPeripherals": "http://dl.dropboxusercontent.com/u/2944265/mods/autobuilt/files/immibis-peripherals-56.0.1.jar", | |
"TConstruct": "https://dl.dropboxusercontent.com/u/42769935/Tinker_Test_1.6/TConstruct_1.6.2_1.4.dev.27.jar", | |
"": "", | |
"configs": [ | |
{ | |
"file": "ComputerCraft.cfg", |
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
/usr/lib/jvm/java-7-openjdk-amd64/bin/java -Didea.launcher.port=7532 -Didea.launcher.bin.path=/home/kaendfinger/Tools/idea-IU-130.1486/bin -Dfile.encoding=UTF-8 -classpath /usr/lib/jvm/java-7-openjdk-amd64/jre/lib/javazic.jar:/usr/lib/jvm/java-7-openjdk-amd64/jre/lib/rt.jar:/usr/lib/jvm/java-7-openjdk-amd64/jre/lib/jce.jar:/usr/lib/jvm/java-7-openjdk-amd64/jre/lib/jsse.jar:/usr/lib/jvm/java-7-openjdk-amd64/jre/lib/charsets.jar:/usr/lib/jvm/java-7-openjdk-amd64/jre/lib/resources.jar:/usr/lib/jvm/java-7-openjdk-amd64/jre/lib/compilefontconfig.jar:/usr/lib/jvm/java-7-openjdk-amd64/jre/lib/rhino.jar:/usr/lib/jvm/java-7-openjdk-amd64/jre/lib/management-agent.jar:/usr/lib/jvm/java-7-openjdk-amd64/jre/lib/ext/sunjce_provider.jar:/usr/lib/jvm/java-7-openjdk-amd64/jre/lib/ext/zipfs.jar:/usr/lib/jvm/java-7-openjdk-amd64/jre/lib/ext/pulse-java.jar:/usr/lib/jvm/java-7-openjdk-amd64/jre/lib/ext/sunpkcs11.jar:/usr/lib/jvm/java-7-openjdk-amd64/jre/lib/ext/java-atk-wrapper.jar:/usr/lib/jvm/java-7-openjdk-amd64/jre/lib/ext/lo |
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
Could not read error output of: command 'patch'. | |
java.io.IOException: Stream Closed | |
at java.io.FileOutputStream.writeBytes(Native Method) | |
at java.io.FileOutputStream.write(FileOutputStream.java:318) | |
at org.gradle.process.internal.streams.ExecOutputHandleRunner.run(ExecOutputHandleRunner.java:52) | |
at org.gradle.internal.concurrent.DefaultExecutorFactory$StoppableExecutorImpl$1.run(DefaultExecutorFactory.java:66) | |
at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1145) | |
at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:615) | |
at java.lang.Thread.run(Thread.java:724) | |
Could not read error output of: command 'patch'. |
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
(raring)kaendfinger@localhost:~/FlashDrive/Code/MC/MCore$ ./gradlew jar | |
Download https://oss.sonatype.org/content/repositories/snapshots/com/github/abrarsyed/gmcp/GMCP/0.7.4-SNAPSHOT/GMCP-0.7.4-20130813.005829-1.pom | |
Download http://repo1.maven.org/maven2/com/googlecode/java-diff-utils/diffutils/1.3.0/diffutils-1.3.0.pom | |
Download https://oss.sonatype.org/content/repositories/snapshots/com/github/abrarsyed/gmcp/GMCP/0.7.4-SNAPSHOT/GMCP-0.7.4-20130813.005829-1.jar | |
Download http://repo1.maven.org/maven2/com/googlecode/java-diff-utils/diffutils/1.3.0/diffutils-1.3.0.jar | |
:getForge | |
:doFMLMappingPreProcess | |
:resolveMinecraftStuff | |
> Building > :getMinecraft^C(raring)kaendfinger@localhost:~/FlashDrive/Code/MC/MCore$ ./gradlew jar | |
:getForge UP-TO-DATE |
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
package com.github.abrarsyed.gmcp | |
class ConfigParser { | |
private String file; | |
private final category = /\[(.*?)\]/ | |
private final property = /\s?(.+?)\s=\s(.+)\s?/ | |
HashMap<String, HashMap<String, String>> map | |
ConfigParser(File file) { | |
this.file = file |
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
import org.nanobot.NanoBot | |
def bot = new NanoBot('irc.esper.net', 6667, 'GNanoBot') | |
bot.on('ready', { event -> | |
bot.join('#Minetweak') | |
}) | |
bot.on('message', { event -> | |
println "<${event['to']}><${event['from']}> ${event['msg']}" |