Skip to content

Instantly share code, notes, and snippets.

View lpmtsf's full-sized avatar
🕸️
/web/

Konrad lpmtsf

🕸️
/web/
View GitHub Profile
1.) Download a Nerd Font
2.) Unzip and copy to ~/.fonts
3.) Run the command fc-cache -fv to manually rebuild the font cache
function setup() {
createCanvas(400, 400); // canvas
angleMode(DEGREES); // lets use degrees instead of radians
rectMode(CENTER); // lets our rectangles starts from center
ctx = drawingContext; // this one is for using native Js canvas features
x = width / 2; // x coordinate of center of canvas
y = height / 2; // y coordinate of center of canvas
}
sudo apt-get install vim-gtk
// VIMRC
nnoremap <C-y > "+y
vnoremap <C-y> "+y
nnoremap <C-p> "+p
vnoremap <C-p> "+p
sudo chown -R $USER /usr/local
# delete local tag 'v1.1.3'
git tag -d v1.1.3
# delete remote tag 'v1.1.3'
git push origin :refs/tags/v1.1.3