Attention: the list was moved to
https://github.com/dypsilon/frontend-dev-bookmarks
This page is not maintained anymore, please update your bookmarks.
| #!/bin/sh | |
| function get_project_path() | |
| { | |
| echo $(pwd | sed 's/\/home\/git\/repositories\///' | sed 's/\.git$//') | |
| } | |
| branch=$(git rev-parse --symbolic --abbrev-ref $1) | |
| if [ $branch == "hml" ] | |
| then |
Attention: the list was moved to
https://github.com/dypsilon/frontend-dev-bookmarks
This page is not maintained anymore, please update your bookmarks.
These are my notes basically. At first i created this gist just as a reminder for myself. But feel free to use this for your project as a starting point. If you have questions you can find me on twitter @thomasf https://twitter.com/thomasf This is how i used it on a Debian Wheezy testing (https://www.debian.org/releases/testing/)
Discuss, ask questions, etc. here https://news.ycombinator.com/item?id=7445545
| /** | |
| * 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; |
| /* | |
| * OpenSimplex (Simplectic) Noise Test for Unity (C#) | |
| * This file is in the Public Domain. | |
| * | |
| * This file is intended to test the functionality of OpenSimplexNoise.cs | |
| * Attach this script to a GameObject with mesh (eg a Quad prefab). | |
| * Texture is updated every frame to assist profiling for performance. | |
| * Using a RenderTexture should perform better, however using a Texture2D | |
| * as an example makes this compatible with the free version of Unity. | |
| * |
| /* | |
| * OpenSimplex Noise in Java. | |
| * by Kurt Spencer | |
| * | |
| * Tileable 3D version, preliminary release. | |
| * Could probably use further optimization. | |
| * | |
| * w6, h6, and d6 are each 1/6 of the repeating period. | |
| * for x, y, z respectively. If w6 = 2, h6 = 2, d6 = 2, | |
| * then the noise repeats in blocks of (0,0,0)->(12,12,12) |
| /* OpenSimplex Noise in C# | |
| * Ported from https://gist.github.com/KdotJPG/b1270127455a94ac5d19 | |
| * and heavily refactored to improve performance. */ | |
| using System; | |
| using System.Collections.Generic; | |
| using System.Linq; | |
| using System.Runtime.CompilerServices; | |
| namespace NoiseTest |