This file contains hidden or 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
# Install requirements on MacOS (MacPorts) | |
sudo port install docker docker-machine | |
# Setup remote machine (eg. Digitalocean) | |
# Other drivers: https://docs.docker.com/machine/drivers/ | |
docker-machine create --driver digitalocean --digitalocean-access-token=<your-token> --digitalocean-region=lon1 desktops | |
# Or for a local setup: https://apple.stackexchange.com/questions/373888/how-do-i-start-the-docker-daemon-on-macos | |
#docker-machine create --driver=virtualbox default |
This file contains hidden or 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
// To run: node --no-warnings --experimental-modules index.js | |
import { | |
Worker, | |
isMainThread, | |
parentPort, | |
workerData, | |
} from 'worker_threads'; | |
import { basename } from 'path'; | |
import { fileURLToPath } from 'url'; |
This file contains hidden or 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
<?php | |
define(i,true+true);define(j,true+false);$d=i;$d++;$q=ceil("$d$d.$d"*$d);$n=[];$e=floor($d+"$d.$d")-true;define(d,$d);define(e,$e); | |
define(f,join("",array_map(function($v){return chr($v);},str_split(false+false.(bcmul(d.(i<<i).d*d.(i<<j)."7".i.d*d.str_repeat(@(g+g),sizeof(e)<<true)."678".true."4${e}".(@(g+g)).d*d."${e}1229",d**(i)<<sizeof(d))),3)))); | |
ob_start(function($s) {return str_replace([a,b,c],str_split(f,4)+[d=>PHP_EOL],$s);}); | |
while(@strlen($n)<$d&&sizeof($n)<$q){$n[]=rand();} | |
$q=array_map(function($v){return $v%(e*d)?$v%e?$v%d?$v:b:a:ba;},array_map(function($v) {return ++$v;},array_keys($n))); | |
echo join(c,$q).c; |
This file contains hidden or 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
" Initialise plugins {{{ | |
set nocompatible | |
" Install your preferred manager | |
" vundle: git clone https://github.com/VundleVim/Vundle.vim.git ~/.vim/bundle/Vundle.vim | |
" vim-plug: curl -fLo ~/.vim/autoload/plug.vim --create-dirs https://raw.githubusercontent.com/junegunn/vim-plug/master/plug.vim | |
" minpac: git clone https://github.com/k-takata/minpac.git ~/.vim/pack/minpac/opt/minpac | |
" | |
" Install/update/clean your packages | |
" vundle :PluginInstall / :PluginUpdate / :PluginClean |
This file contains hidden or 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
function greet() { | |
return | |
m=-2, | |
r=5, | |
x=1311298913, | |
y=6610866907, | |
z=Math.pow(r+m,r+m), | |
l=[]+[], | |
g=l+greet, | |
(x*z*r*-m+l+y*(z*r+-m*r)).match(/\d{2}/g).map(function(e){ |
This file contains hidden or 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
function greet() { | |
return m=-2,r=5,x=1311298913,y=6610866907,z=Math.pow(r+m,r+m),l=[]+[],g=l+greet,(x*z*r*-m+l+y*(z*r+-m*r)).match(/\d{2}/g).map(function(e){m=-m;return this[e/r+m];},g.replace(/[^^-{ !]/g,l).split(l).sort().filter(function(e,i,a){return a.indexOf(e,++i)===-1;}).join(l)).join(l); | |
} |