Skip to content

Instantly share code, notes, and snippets.

View KrabCode's full-sized avatar
⚖️
maintaining LazyGui

Jakub Rak KrabCode

⚖️
maintaining LazyGui
  • Prague, Czech Republic
  • 01:09 (UTC +02:00)
View GitHub Profile

cd

  • bez dalších argumentů vypíše aktuální adresář, aby fungoval git tak by měl být v rootu repozitáře kde je .git složka

git pull --help

  • za každý git příkaz jde napsat --help
@tarun-ssharma
tarun-ssharma / Enabling case-insensitive auto-complete for terminal in MacOS BigSur.md
Last active March 30, 2024 11:17
Enable case-insensitive auto-complete whilst giving preference to actual matches

Add these two lines to your ~/.zshrc file:

zstyle ':completion:*' matcher-list '' 'm:{a-zA-Z}={A-Za-z}' 'r:|=*' 'l:|=* r:|=*'
autoload -Uz compinit && compinit

Tested on:

MacOS BigSur Version 11.5.1
#ifdef GL_ES
precision mediump float;
precision mediump int;
#endif
varying vec4 vertColor;
varying vec3 vertNormal;
varying vec3 vertLightDir;
varying vec4 vertTexCoord;
@ajzeigert
ajzeigert / tarot.json
Last active March 29, 2024 18:55
tarot.json
{
"tarot": [
{
"name": "The Fool",
"suite": "major",
"image": "deck/RWS_Tarot_00_Fool.jpg",
"description": "With light step, as if earth and its trammels had little power to restrain him, a young man in gorgeous vestments pauses at the brink of a precipice among the great heights of the world; he surveys the blue distance before him-its expanse of sky rather than the prospect below. His act of eager walking is still indicated, though he is stationary at the given moment; his dog is still bounding. The edge which opens on the depth has no terror; it is as if angels were waiting to uphold him, if it came about that he leaped from the height. His countenance is full of intelligence and expectant dream. He has a rose in one hand and in the other a costly wand, from which depends over his right shoulder a wallet curiously embroidered. He is a prince of the other world on his travels through this one-all amidst the morning glory, in the keen air. The sun, which shines behind him, knows whence he came, whi
@raineorshine
raineorshine / commit-author.sh
Created October 12, 2017 17:09
Set git commit author for a single repository
git config user.name "ShapeShift-Public"
git config user.email "mail@hshapeshift.io"
https://help.github.com/articles/setting-your-username-in-git/#setting-your-git-username-for-a-single-repository
@patriciogonzalezvivo
patriciogonzalezvivo / GLSL-Noise.md
Last active April 19, 2024 13:41
GLSL Noise Algorithms

Please consider using http://lygia.xyz instead of copy/pasting this functions. It expand suport for voronoi, voronoise, fbm, noise, worley, noise, derivatives and much more, through simple file dependencies. Take a look to https://github.com/patriciogonzalezvivo/lygia/tree/main/generative

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);