Skip to content

Instantly share code, notes, and snippets.

View mahtaran's full-sized avatar

Luka Leer mahtaran

View GitHub Profile
@scheakur
scheakur / build.gradle
Created July 12, 2014 00:15
Spring Boot + Spring Loaded + Gradle + IntelliJ IDEA = Awesome
buildscript {
repositories {
mavenCentral()
maven { url "http://repo.spring.io/snapshot" }
maven { url "http://repo.spring.io/milestone" }
}
dependencies {
classpath("org.springframework.boot:spring-boot-gradle-plugin:1.1.4.RELEASE")
classpath("org.springframework:springloaded:1.2.0.RELEASE")
}
@KdotJPG
KdotJPG / OpenSimplex2S.java
Last active July 5, 2024 17:32
Visually isotropic coherent noise algorithm based on alternate constructions of the A* lattice.
/**
* K.jpg's OpenSimplex 2, smooth variant ("SuperSimplex")
*
* More language ports, as well as legacy 2014 OpenSimplex, can be found here:
* https://github.com/KdotJPG/OpenSimplex2
*/
public class OpenSimplex2S {
private static final long PRIME_X = 0x5205402B9270C86FL;
@SimoneStefani
SimoneStefani / AESenc.java
Last active August 17, 2021 14:03
Example of AES encryption and decryption in Java
/**
* Code written by P. Gajland
* https://github.com/GaPhil
*
* IMPORTANT:
* This code is for educational and demonstrative purpose only.
* If you need to do serious encryption for "production" it is
* recommended to investigate more traditional libraries and
* gain some specific knowledge on cryptography and security.
*/