Skip to content

Instantly share code, notes, and snippets.

View witt3rd's full-sized avatar
⌨️
coding

Donald Thompson witt3rd

⌨️
coding
View GitHub Profile
@witt3rd
witt3rd / brew-sync.sh
Last active February 25, 2024 12:04 — forked from jpawlowski/brew-sync.sh
Sync Homebrew installations between Macs via Dropbox
#!/bin/bash
# Sync Homebrew installations between Macs via Dropbox
#
BREW="/usr/local/bin/brew"
# first get local settings
echo "Reading local settings ..."
rm -f /tmp/brew-sync.*
@witt3rd
witt3rd / python.md
Last active September 7, 2021 13:29
Python
@witt3rd
witt3rd / kelly.md
Last active August 31, 2021 17:05
For Kelly

Never going to give you up

@witt3rd
witt3rd / unity.md
Last active May 5, 2021 19:36
Unity

Unity

Setup

  • Install the Unity Hub
  • Use the hub to install the latest LTS (long-term support) editor (e.g., 2020.3.6f1 LTS)
  • No additional modules are needed during the editor install, so accept the defaults

Projects

@witt3rd
witt3rd / scala.md
Last active April 18, 2021 14:08
Scala installation, setup, and usage notes

Scala

Install

Installers

These CLI utilities are used to fetch things we need.

@witt3rd
witt3rd / youtube-dl.md
Last active October 25, 2020 14:09
YouTube Download Recipes

youtube-dl Recipes

brew install youtube-dl ffmpeg

Download video or playlist

youtube-dl -f best 'http://www.youtube.com/watch?v=P9pzm5b6FFY'
@witt3rd
witt3rd / idris_tdd_reading_group.md
Last active October 13, 2020 21:54
Type-Driven Development with Idris: Reading Group Questions and Challenges

Type-Driven Development with Idris: Reading Group Questions and Challenges

Chapter 3. Interactive development with types

  • Functions in Idris are defined by collections of pattern-matching equations.
  • Patterns arise from the constructors of a data type.
  1. Describe "type declaration", "type definition", "equation", "expression"
  2. Are type declarations required? When (not)?
  3. What is referential transparency?
  4. Can pattern matching match a specific value?
@witt3rd
witt3rd / linux.md
Last active October 13, 2020 20:43

Linux

Apt

Repair

sudo apt-get -o Dpkg::Options::="--force-overwrite" install --fix-broken
@witt3rd
witt3rd / Pluto.jl.md
Last active October 13, 2020 20:36
Working in Pluto.jl
@witt3rd
witt3rd / pluto-test.jl
Created October 13, 2020 11:49
Test of online interactive notebook
### A Pluto.jl notebook ###
# v0.12.3
using Markdown
using InteractiveUtils
# This Pluto notebook uses @bind for interactivity. When running this notebook outside of Pluto, the following 'mock version' of @bind gives bound variables a default value (instead of an error).
macro bind(def, element)
quote
local el = $(esc(element))