Skip to content

Instantly share code, notes, and snippets.

Richard Willis badsyntax

Block or report user

Report or block badsyntax

Hide content and notifications from this user.

Learn more about blocking users

Contact Support about this user’s behavior.

Learn more about reporting abuse

Report abuse
View GitHub Profile
badsyntax /
Last active May 2, 2019
Getting started with Go development on macOS
View basic_settings.json
"workbench.colorCustomizations": {
"statusBar.background": "#000000",
"statusBar.noFolderBackground": "#000000"
"files.trimTrailingWhitespace": true,
"editor.renderWhitespace": "all"
badsyntax /
Last active Jun 6, 2019
Getting started with Java development on macOS

Getting started with Java development on macOS

Install multiple Java versions

To start, list current installed Java versions:

/usr/libexec/java_home -verbose
View cli.js
#!/usr/bin/env node
const fs = require('fs');
const path = require('path');
const walk = require('walk');
const yargs = require('yargs');
const getOwnersForFile = require('./get-owners-for-file');
const argv = yargs.command('$0 [options] <path>', false, _yargs => {
badsyntax / .bashrc
Last active Nov 6, 2018
latest .bashrc
View .bashrc
shopt -s autocd
shopt -s cdspell
shopt -s direxpand
shopt -s dirspell
alias ls="ls -G"
export GREP_OPTIONS='--color=always'
if [ -f "$(brew --prefix)/etc/bash_completion" ]; then
. $(brew --prefix)/etc/bash_completion
View .eslintrc
"extends": [
"env": {
"browser": true,
"jest": true
  • Headlamp
  • Mandarins (3)
  • Bananas (2)
  • Snicker bars (3)
  • Trekking sticks
  • Jacket
  • Light jacket
  • Thermal underwear (cold start)
  • Trekking shoes
  • Trekking pants
badsyntax / add.png
Last active Feb 24, 2018
Adding Namecheap glue and nameserver records for a mailinabox server
badsyntax / crontab
Created Feb 29, 2016
pflogsumm rocks
View crontab
@daily /usr/sbin/pflogsumm -d yesterday --problems /var/log/mail.log | mail -s "Mail Server: Yesterday's mail activity"
badsyntax /
Created Dec 18, 2015
Install and Enable the LXD REST API in Ubuntu 14.04
sudo apt-get install -y software-properties-common
sudo add-apt-repository -y ppa:ubuntu-lxc/lxd-stable
sudo apt-get update
sudo apt-get install -y lxd
sudo newgrp lxd
sudo lxc config set core.https_address
sudo lxc config trust add $HOME/.config/lxc/client.crt
You can’t perform that action at this time.