Skip to content

Instantly share code, notes, and snippets.

Avatar

Una unascribed

View GitHub Profile
View canonical_metals.md

Smores - Canonical Colors

Metals

           Legacy    Modern
Steel      a4b6bd    888
Mithril    be94b2    b9c
Platinum   6fa9dd    9df
Zinc       c5d068 /  830
           ddd87f
Nickel     9f9285    dd9
@cpw
cpw / bootstrap.gradle
Last active Apr 27, 2017 — forked from AbrarSyed/bootstrap.gradle
This makes gradle compile java6 stuff with the actual java 6 classpath. --- Usage: Drop this file in USER_HOME/.gradle/init.d --- You will probably want to change the path to your java6 instance.
View bootstrap.gradle
allprojects {
afterEvaluate {
def versions = [
'1.6' : "/usr/lib/jvm/java-6-openjdk-amd64/jre/lib/",
]
// convert map to classpaths
versions = versions.collectEntries { key, value ->
[key, fileTree(dir: value, include: "*.jar").getAsPath()]
}
@apangin
apangin / HotSpot JVM intrinsics
Last active Jan 14, 2022
HotSpot JVM intrinsics
View HotSpot JVM intrinsics
_hashCode java/lang/Object.hashCode()I
_getClass java/lang/Object.getClass()Ljava/lang/Class;
_clone java/lang/Object.clone()Ljava/lang/Object;
_dabs java/lang/Math.abs(D)D
_dsin java/lang/Math.sin(D)D
_dcos java/lang/Math.cos(D)D
_dtan java/lang/Math.tan(D)D
_datan2 java/lang/Math.atan2(DD)D
_dsqrt java/lang/Math.sqrt(D)D
_dlog java/lang/Math.log(D)D