Skip to content

Instantly share code, notes, and snippets.

@toolforger
toolforger / aioobe.sh
Last active February 6, 2017 05:39
Steps to reproduce MasterDuke's AIOOBE from scratch
# Setup installation directory
mkdir install
# Create an environment setup shell file for sourcing
# Make it so that it can be repeated with no ill effects
cat >setup-vars.inc.sh <<EOF
if [ ".\$perl6_prefix" = "." ]; then
export perl6_prefix=`pwd`/install
export PATH=\$perl6_prefix/bin:\$PATH
fi
@toolforger
toolforger / lemur-formatting
Created July 16, 2013 18:30
Lemur formatting settings. Paste to nbproject/project.properties
auxiliary.org-netbeans-modules-editor-indent.CodeStyle.project.expand-tabs=true
auxiliary.org-netbeans-modules-editor-indent.CodeStyle.project.indent-shift-width=4
auxiliary.org-netbeans-modules-editor-indent.CodeStyle.project.spaces-per-tab=4
auxiliary.org-netbeans-modules-editor-indent.CodeStyle.project.tab-size=4
auxiliary.org-netbeans-modules-editor-indent.CodeStyle.project.text-limit-width=100
auxiliary.org-netbeans-modules-editor-indent.CodeStyle.project.text-line-wrap=none
auxiliary.org-netbeans-modules-editor-indent.CodeStyle.usedProfile=project
auxiliary.org-netbeans-modules-editor-indent.text.x-java.CodeStyle.project.alignJavadocExceptionDescriptions=true
auxiliary.org-netbeans-modules-editor-indent.text.x-java.CodeStyle.project.alignJavadocParameterDescriptions=true
auxiliary.org-netbeans-modules-editor-indent.text.x-java.CodeStyle.project.alignJavadocReturnDescription=true
@toolforger
toolforger / lemur-patch-axis
Created May 1, 2013 20:24
Moved axis-specific operations into the Axis enum. The switch construction inside Axis.java is kind of hilarious, but it does work, so whatever ;-) ... it was the best way I could come up with to move the code to the class (well, enum) that it belongs into.
Index: com/simsilica/lemur/component/SpringGridLayout.java
===================================================================
--- com/simsilica/lemur/component/SpringGridLayout.java (Revision 1008)
+++ com/simsilica/lemur/component/SpringGridLayout.java (Arbeitskopie)
@@ -103,144 +103,6 @@
parent.invalidate();
}
- protected float getMajor( Vector3f v )
- {
@toolforger
toolforger / lemur-patch-javadoc
Created May 1, 2013 20:17
Added Javadoc to TbtQuadComponent Please review whether the part about "all coordinates are relative to the lower-left border" is correct.
Index: com/simsilica/lemur/component/TbtQuadBackgroundComponent.java
===================================================================
--- com/simsilica/lemur/component/TbtQuadBackgroundComponent.java (Revision 1008)
+++ com/simsilica/lemur/component/TbtQuadBackgroundComponent.java (Arbeitskopie)
@@ -45,10 +45,45 @@
import com.simsilica.lemur.core.GuiMaterial;
import com.simsilica.lemur.geom.TbtQuad;
-
/**
$ time gradle --offline -d
23:21:09.359 [DEBUG] [org.gradle.logging.internal.DefaultLoggingConfigurer] Finished configuring with level: DEBUG, configurers: [org.gradle.logging.internal.OutputEventRenderer@7c963d9a, org.gradle.logging.internal.logback.LogbackLoggingConfigurer@6ba6895c, org.gradle.logging.internal.JavaUtilLoggingConfigurer@2842e3b]
23:21:12.981 [DEBUG] [org.gradle.logging.internal.DefaultLoggingConfigurer] Finished configuring with level: DEBUG, configurers: [org.gradle.logging.internal.OutputEventRenderer@7c963d9a, org.gradle.logging.internal.logback.LogbackLoggingConfigurer@6ba6895c, org.gradle.logging.internal.JavaUtilLoggingConfigurer@2842e3b]
23:21:13.014 [INFO] [org.gradle.BuildLogger] Starting Build
23:21:13.018 [DEBUG] [org.gradle.BuildLogger] Gradle user home: /home/jo/.gradle
23:21:13.022 [DEBUG] [org.gradle.BuildLogger] Current dir: /home/jo/workspace/gradle-test
23:21:13.029 [DEBUG] [org.gradle.BuildLogger] Settings file: null
23:21:13.033 [DEBUG] [org.gradle.BuildLogger] Build file