This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
// shamelessly stolen from https://p5js.org/reference/#/p5/loadShader | |
// ported to work with https://thebookofshaders.com/edit.php | |
precision highp float; | |
const int I = 500; | |
void main() { | |
vec2 vPos = gl_FragCoord.xy; | |
vec2 p = vec2(-0.74364388703, 0.13182590421); | |
float r = .00001; | |
vec2 c = p + vPos * r, z = c; | |
float n = 0.0; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
find ~/.local/share/Modartt/Pianoteq/Archive/ -type f -name \*.mid | sort | perl -MYAML::XS -nE 'if ( m{(\d{4}-\d{2}-\d{2}).+?(\d+)\s+notes,\s+(\d+)\s+seconds} ) { $s{$1}{notes} += $2; $s{$1}{minutes} += $3 / 60 } else { die } }{ say Dump \%s' |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
// Use Gists to store code you would like to remember later on | |
console.log(window); // log the "window" object to the console |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Stanislaws-MacBook-Pro:~ fpbruzan$ curl -kL http://install.perlbrew.pl | bash | |
% Total % Received % Xferd Average Speed Time Time Time Current | |
Dload Upload Total Spent Left Speed | |
0 315 0 0 0 0 0 0 --:--:-- 0:00:01 --:--:-- 0 | |
100 1022 100 1022 0 0 314 0 0:00:03 0:00:03 --:--:-- 5161 | |
## Download the latest perlbrew | |
## Installing perlbrew | |
perlbrew is installed: ~/perl5/perlbrew/bin/perlbrew |