Skip to content

Instantly share code, notes, and snippets.

@lambdaverse
lambdaverse / MeshTutorial1.java
Created December 24, 2017 19:13 — forked from mattdesl/MeshTutorial1.java
Mesh Tutorial 1
import com.badlogic.gdx.ApplicationListener;
import com.badlogic.gdx.Gdx;
import com.badlogic.gdx.backends.lwjgl.LwjglApplication;
import com.badlogic.gdx.graphics.Color;
import com.badlogic.gdx.graphics.GL20;
import com.badlogic.gdx.graphics.Mesh;
import com.badlogic.gdx.graphics.OrthographicCamera;
import com.badlogic.gdx.graphics.VertexAttribute;
import com.badlogic.gdx.graphics.VertexAttributes.Usage;
import com.badlogic.gdx.graphics.glutils.ShaderProgram;
@lambdaverse
lambdaverse / jdk-squashfs-ramdisk-ubuntu.md
Last active November 3, 2020 22:00
JDK on ram disk with Ubuntu 14.04
  1. Create RAM disk
  2. Create JAVA squashfs
  3. Mount Java to RAM disk
  4. Set Java to default

make RAMDISK using tmpfs:

$shell > sudo mkdir /media/ramdisk
$shell > sudo mount -t tmpfs tmpfs /media/ramdisk