Skip to content

Instantly share code, notes, and snippets.

View reynaldlamury's full-sized avatar

reynaldlamury

View GitHub Profile
npm config set fetch-retry-maxtimeout 120000
@reynaldlamury
reynaldlamury / init.vim
Created April 8, 2023 07:25
neovim config file
syntax on
set number
set relativenumber
" additional setting that just a copy and paste from setting tutorial
set laststatus=2
set backspace=2
set nu
"------------------------------------------------------------------------
@reynaldlamury
reynaldlamury / cutoff.css
Last active February 1, 2023 01:16
Cut off part of element's content
body{background:url('http://lorempixel.com/1000/1000/nature/3') 0 0 no-repeat;color:white;}
#outer{
width:300px;
height:150px;
background:#646;
position:relative;
cursor:move;
}
@reynaldlamury
reynaldlamury / GLSL-Noise.md
Created March 14, 2022 12:11 — forked from patriciogonzalezvivo/GLSL-Noise.md
GLSL Noise Algorithms

Generic 1,2,3 Noise

float rand(float n){return fract(sin(n) * 43758.5453123);}

float noise(float p){
	float fl = floor(p);
  float fc = fract(p);
	return mix(rand(fl), rand(fl + 1.0), fc);
}