Skip to content

Instantly share code, notes, and snippets.

View mudlee's full-sized avatar
🏠
Working from home

mudlee

🏠
Working from home
View GitHub Profile
@mudlee
mudlee / pom.xml
Created August 22, 2018 05:21
building mods
<build>
<plugins>
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-jar-plugin</artifactId>
<version>${maven.plugins.version}</version>
<configuration>
<outputDirectory>../build/mods</outputDirectory>
<archive>
<addMavenDescriptor>false</addMavenDescriptor>
@mudlee
mudlee / .java
Created May 3, 2018 05:33
Assimp
OUTPUT
[20:42:27.567] 1095 [main] DEBUG com.intermetto.engine.util.StaticMeshLoader - # Processing 2 materials...
[20:42:27.568] 1096 [main] DEBUG com.intermetto.engine.util.StaticMeshLoader - Processing [0] material...
0.6-0.6-0.6 - result: 0
0.0-0.0-0.0 - result: 0
0.0-0.0-0.0 - result: 0
@mudlee
mudlee / pid.log
Created April 7, 2018 19:30
LWJGL profiling
#
# A fatal error has been detected by the Java Runtime Environment:
#
# SIGSEGV (0xb) at pc=0x000000013ed33b82, pid=1177, tid=81935
#
# JRE version: Java(TM) SE Runtime Environment (9.0+11) (build 9.0.4+11)
# Java VM: Java HotSpot(TM) 64-Bit Server VM (9.0.4+11, mixed mode, tiered, compressed oops, g1 gc, bsd-amd64)
# Problematic frame:
# C [GLProfilerFBDisp+0x36b82] gloGetCGLDispatch+0xd3c3
#
Compiling app_dirs v1.1.1
error[E0619]: the type of this value must be known in this context
--> /Users/mudlee/.cargo/registry/src/github.com-1ecc6299db9ec823/app_dirs-1.1.1/src/imp/platform/macos.rs:10:40
|
10 | Ok(Component::RootDir.as_ref().into())
| ^^^^
error: aborting due to previous error
error: Could not compile `app_dirs`.
@mudlee
mudlee / lambdas.java
Created May 30, 2017 19:15
Java 8 Lambdas
batchedEntities.values()
.stream()
.map(BatchedEntities::getEntities)
.collect(Collectors.toList())
.stream()
.flatMap(List::stream)
.collect(Collectors.toList());