Skip to content

Instantly share code, notes, and snippets.

@ericavonb
ericavonb / git-commit-style-guide.md
Last active September 15, 2025 14:36
Git Commit Style Guide

Git Commit Style Guide

Inspiration: Deis Commit Style Guide

I often quote Deis in sections below.

Motivation

It makes going back and reading commits easier. It also allows you to spend less time thinking about what your commit message should be.

@dpryden
dpryden / ClassLoaderLeakExample.java
Created October 20, 2014 00:01
Example of a ClassLoader leak in Java
import java.io.IOException;
import java.net.URLClassLoader;
import java.nio.file.Files;
import java.nio.file.Paths;
import java.nio.file.Path;
/**
* Example demonstrating a ClassLoader leak.
*
* <p>To see it in action, copy this file to a temp directory somewhere,

Solar System animation - Pure CSS

Here is a true time scaled solar-system, which means that every objects have a time relative to an Earth year.

A Pen by Malik Dellidj on CodePen.

License.

@nvbn
nvbn / core.cljs
Created May 28, 2015 01:31
svg animation
(ns ^:figwheel-always svg-image-example.core
(:require-macros [cljs.core.async.macros :refer [go-loop]])
(:require [cljs.core.async :refer [<! timeout]]
[om.core :as om :include-macros true]
[om-tools.core :refer-macros [defcomponent]]
[om-tools.dom :as dom]))
(enable-console-print!)
(defcomponent rotated-rect-rect
@queertypes
queertypes / read-dt.org
Last active January 10, 2025 02:25
Implement a Dependently Typed Language and Then Some
(function() {
var letters = letters = {
'A': [
[, 1],
[1, , 1],
[1, , 1],
[1, 1, 1],
[1, , 1]
],
'B': [
@smarr
smarr / truffle-material.md
Last active April 2, 2025 18:27
Truffle: Languages and Material
@eevee
eevee / index.md
Last active December 1, 2015 22:18
Super Mario Maker levels

This document is deprecated — see http://eev.ee/everything/tags/mario-maker/ instead.

Test Flight

55A7-0000-0049-50DD · ★★☆☆☆ · tricky · 🍄🍄🍄

A deceptively cheery level. Slightly less fair than intended. I'm sorry.

@rom1504
rom1504 / protocol.json
Last active October 25, 2015 06:00
beginning of mcpe protocol.json
[
{
"packetName": "add_entity_packet",
"clientBound": true,
"serverBound": false,
"fields": [
{
"name": "eid",
"type": "long"
},
@phase
phase / ToolStrength.java
Last active July 1, 2021 19:45
Tool Strengths for Minecraft 1.8. Used in https://github.com/phase/PhaseBot
package xyz.jadonfowler.phasebot.world;
import java.util.*;
import lombok.*;
import xyz.jadonfowler.phasebot.world.material.*;
public enum ToolStrength {
//@formatter:off
WOOD(2f, Material.fromString("wood_sword", "wood_pickaxe", "wood_axe", "wood_spade", "wood_hoe")),
STONE(4f, Material.fromString("stone_sword", "stone_pickaxe", "stone_axe", "stone_spade", "stone_hoe")),