Skip to content

Instantly share code, notes, and snippets.

View azenla's full-sized avatar
🏳️‍⚧️
cabbit mode

Alex Zenla azenla

🏳️‍⚧️
cabbit mode
View GitHub Profile
@azenla
azenla / CPUINFO.txt
Created May 21, 2013 00:28
MY CPU Info
processor : 0
vendor_id : GenuineIntel
cpu family : 6
model : 42
model name : Intel(R) Core(TM) i5-2450M CPU @ 2.50GHz
stepping : 7
microcode : 0x25
cpu MHz : 2501.000
cache size : 3072 KB
physical id : 0
@azenla
azenla / GroovyForgeContainer.java
Last active December 17, 2015 15:29
Groovy Forge Container
package mods.groovyforge;
import cpw.mods.fml.common.DummyModContainer;
import cpw.mods.fml.common.LoadController;
import cpw.mods.fml.common.Loader;
import cpw.mods.fml.common.ModMetadata;
import net.minecraftforge.event.EventBus;
import java.util.ArrayList;
@azenla
azenla / ExampleScript.groovy
Last active December 17, 2015 16:39
Example Script for GroovyForge
import mods.groovyforge.*
static def load() {
GroovyForge.logger.info("====It Worked! Yay for GroovyForge!====")
ForgeHelper.addItem(new BlockPlacer(10353), "Block Placer Example", "groovyforge.example.itemBlockPlacer")
}
import net.minecraft.client.renderer.texture.IconRegister;
import net.minecraft.entity.player.EntityPlayer;
import net.minecraft.item.Item;
@azenla
azenla / ModUpdater.xml
Created May 25, 2013 23:48
ModUpdater IntelliJ Module File
<?xml version="1.0" encoding="UTF-8"?>
<module type="JAVA_MODULE" version="4">
<component name="NewModuleRootManager" inherit-compiler-output="true">
<exclude-output />
<content url="file://$MODULE_DIR$">
<sourceFolder url="file://$MODULE_DIR$/src" isTestSource="false" />
</content>
<orderEntry type="inheritedJdk" />
<orderEntry type="sourceFolder" forTests="false" />
<orderEntry type="module" module-name="minecraft" />
@azenla
azenla / modules.xml
Created May 25, 2013 23:51
IntelliJ IDEA Modules File
<?xml version="1.0" encoding="UTF-8"?>
<project version="4">
<component name="ProjectModuleManager">
<modules>
<module fileurl="file://$PROJECT_DIR$/GCPClient/GCPClient.iml" filepath="$PROJECT_DIR$/GCPClient/GCPClient.iml" />
<module fileurl="file://$PROJECT_DIR$/GCPServerTest/GCPServerTest.iml" filepath="$PROJECT_DIR$/GCPServerTest/GCPServerTest.iml" />
<module fileurl="file://$PROJECT_DIR$/GroovyIRC/GroovyIRC.iml" filepath="$PROJECT_DIR$/GroovyIRC/GroovyIRC.iml" />
<module fileurl="file://$PROJECT_DIR$/JPowerSocket/JPowerSocket.iml" filepath="$PROJECT_DIR$/JPowerSocket/JPowerSocket.iml" />
<module fileurl="file://$PROJECT_DIR$/LAnt/LAnt.iml" filepath="$PROJECT_DIR$/LAnt/LAnt.iml" />
<module fileurl="file://$PROJECT_DIR$/Website/Website.iml" filepath="$PROJECT_DIR$/Website/Website.iml" />
@azenla
azenla / DummyClientStackTrace.txt
Created May 27, 2013 03:10
Dummy Client StackTrace
user@ChrUbuntu:~/Downloads$ mono DummyClient_R2.exe
Unhandled Exception:
System.Net.Sockets.SocketException: Connection refused
at System.Net.Sockets.Socket.Connect (System.Net.EndPoint remoteEP) [0x00000] in <filename unknown>:0
at System.Net.Sockets.TcpClient.Connect (System.Net.IPEndPoint remoteEP) [0x00000] in <filename unknown>:0
at System.Net.Sockets.TcpClient.Connect (System.Net.IPAddress[] ipAddresses, Int32 port) [0x00000] in <filename unknown>:0
[ERROR] FATAL UNHANDLED EXCEPTION: System.Net.Sockets.SocketException: Connection refused
at System.Net.Sockets.Socket.Connect (System.Net.EndPoint remoteEP) [0x00000] in <filename unknown>:0
at System.Net.Sockets.TcpClient.Connect (System.Net.IPEndPoint remoteEP) [0x00000] in <filename unknown>:0
@azenla
azenla / downloadTest.txt
Created May 29, 2013 21:21
Download Tester
This is an example file for testing my FileUtilities class in GCPClient!
@azenla
azenla / FileTest.java
Created May 30, 2013 02:57
File Adder and Remover
package test;
import java.io.*;
import java.util.ArrayList;
import java.util.Iterator;
public class FileTest {
public static ArrayList<String> original = new ArrayList<String>();
public static void main(String[] args) throws IOException {
File file = new File("./original.txt");
@azenla
azenla / GCPClient.PKGBUILD
Last active December 18, 2015 02:19
PKGBUILD for GCPClient
# Contributor: Kenneth Endfinger <[email protected]>
pkgname=gcpclient
pkgver={CLIENT.VERSION}
pkgrel=1
pkgdesc="GCPClient is the official GCP Client that is written in Java"
arch=('i686' 'x86_64')
url="https://bitbucket.org/directmyfile/gcpclient/"
license=('GPL')
depends=('jre7-openjdk')
makedepends=('apache-ant' 'jdk7-openjdk')
@azenla
azenla / donation.html
Created June 11, 2013 05:22
Donation Button for DirectMyFile
<form action="https://www.paypal.com/cgi-bin/webscr" method="post" target="_top">
<input type="hidden" name="cmd" value="_s-xclick">
<input type="hidden" name="encrypted" value="-----BEGIN PKCS7-----MIIHRwYJKoZIhvcNAQcEoIIHODCCBzQCAQExggEwMIIBLAIBADCBlDCBjjELMAkGA1UEBhMCVVMxCzAJBgNVBAgTAkNBMRYwFAYDVQQHEw1Nb3VudGFpbiBWaWV3MRQwEgYDVQQKEwtQYXlQYWwgSW5jLjETMBEGA1UECxQKbGl2ZV9jZXJ0czERMA8GA1UEAxQIbGl2ZV9hcGkxHDAaBgkqhkiG9w0BCQEWDXJlQHBheXBhbC5jb20CAQAwDQYJKoZIhvcNAQEBBQAEgYAeLDdTyS5HBBD8jby/2oXN79cPpZg1xbxVM9nuCNNxbYcrkXxlnqNb6vUpAUgvl6le7h9+qbIDPf7E8sqNLUSj8qQPfghL7ze8rFg3OfOuFyYwS1BsDmFjZkcEYdO6V99EFVScMNcp10zWXVi2Dm5FPdcguG/lbT2MkGobtTShTTELMAkGBSsOAwIaBQAwgcQGCSqGSIb3DQEHATAUBggqhkiG9w0DBwQID/IeU/90s/6AgaBHPfZtVk4zx6fr4K/EC6n5CplU0EuVTWCWwgFQcyYp4H4gI6E5gw7yfexfWFzc852zatpw7YrBzKjy2ewt4XHIhHnSJ1t0lyxsieHI/wGUdaDFh/U17ebR+s0oYbuRTDiyJ1Z7vzskx8oE3t7Qtpx/AcBBYntV8bInTKfAKReLH5Z1Mjqm4thFQYdpKyX1wDlcE2eEriLT1Ti/1ObwNGP7oIIDhzCCA4MwggLsoAMCAQICAQAwDQYJKoZIhvcNAQEFBQAwgY4xCzAJBgNVBAYTAlVTMQswCQYDVQQIEwJDQTEWMBQGA1UEB