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
const array = ['+3', '+13', '+4', '-2', '-4', '+15', '-1', '+6', '+3', '-10', '+9', '-5', '-7', '-15', '+8', '-11', '+19', '+7', '+6', '+1', '-13', '+19', '+7', '+13', '-18', '+2', '+6', '+5', '+8', '+17', '-11', '+14', '-10', '-7', '-9', '-9', '+11', '+15', '-4', '+6', '+13', '-18', '+7', '+4', '+16', '-6', '-7', '+14', '+3', '-15', '+1', '-9', '-21', '-2', '+9', '-11', '-8', '-10', '-11', '+16', '+8', '-12', '+8', '+7', '+1', '+19', '-5', '-3', '-29', '-7', '+11', '+22', '+14', '-13', '+19', '+19', '-6', '+15', '+20', '+6', '+9', '+4', '-9', '-8', '-19', '+14', '-5', '+7', '-8', '+17', '-4', '-3', '+6', '+14', '-16', '-18', '+1', '-12', '-4', '-15', '+24', '+3', '-5', '+11', '-16', '+4', '-14', '-3', '+6', '+19', '+3', '-23', '+19', '-8', '+21', '+13', '+11', '+5', '-18', '-13', '+21', '-14', '+9', '+21', '+12', '-5', '-16', '+14', '-13', '+6', '-18', '-20', '+27', '+9', '-6', '+18', '+8', '-3', '-3', '-4', '+8', '+1', '+7', '+15', '+13', '-2', '-4', '-16', '+7', '-10', '-7', '+12', '-6', '-1', '+13', '+2', |
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
# After creating a Dockerfile | |
docker build -t {tag-name} . | |
# Run one-off commands that are visible on host in current directory: | |
# docker run | |
# --rm [remove container after done] | |
# -it [with an interactive shell] | |
# -v ${pwd}:/opt [with volume of present working directory mounted in /opt] | |
# -w [with container working directory of /opt] | |
# {container} [the container name] |
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
{ | |
// Prevent Microsoft from spying on me | |
"workbench.enableExperiments": false, | |
"workbench.settings.enableNaturalLanguageSearch": false, | |
"telemetry.enableCrashReporter": false, | |
"telemetry.enableTelemetry": false, | |
"npm.fetchOnlinePackageInfo": false, | |
// I use "scoop" for updates, so disable auto-updates | |
"update.enableWindowsBackgroundUpdates": false, |
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
# -*- mode: ruby -*- | |
# vi: set ft=ruby : | |
Vagrant.configure("2") do |config| | |
# For a complete reference, please see the online documentation at | |
# https://docs.vagrantup.com. | |
# Every Vagrant development environment requires a box. You can search for | |
# boxes at https://vagrantcloud.com/search. | |
config.vm.box = "generic/ubuntu1804" |
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
#!/usr/bin/env sh | |
# Update | |
sudo apt update | |
# Upgrade | |
sudo apt upgrade -y | |
# Install fonts and Z-shell | |
sudo apt install xfonts-terminus zsh -y |
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
# If you come from bash you might have to change your $PATH. | |
export PATH=$HOME/bin:/usr/local/bin:$PATH | |
# Path to your oh-my-zsh installation. | |
export ZSH=/home/loek/.oh-my-zsh | |
# Set name of the theme to load. Optionally, if you set this to "random" | |
# it'll load a random theme each time that oh-my-zsh is loaded. | |
# See https://github.com/robbyrussell/oh-my-zsh/wiki/Themes | |
ZSH_THEME="amuse" |