Skip to content

Instantly share code, notes, and snippets.

View wrightmikea's full-sized avatar
💭
rusting away

Mike Wright wrightmikea

💭
rusting away
  • San Francisco Bay Area
View GitHub Profile
@wrightmikea
wrightmikea / LUA.lua
Created February 14, 2023 22:10 — forked from nilesh-tawari/LUA.lua
LUA cheatSheet
-- [[ Cheatsheet for LUA from http://www.newthinktank.com/2015/06/learn-lua-one-video/]]
-- Prints to the screen (Can end with semicolon)
print("Hello World")
--[[
Multiline comment
]]
-- Variable names can't start with a number, but can contain letters, numbers
use std::collections::HashMap;
use std::fmt;
use std::io;
use std::num::ParseFloatError;
use std::rc::Rc;
/*
Types
*/
@wrightmikea
wrightmikea / Install-Docker-on-Linux-Mint.sh
Created January 31, 2016 18:31 — forked from sethbergman/Install-Docker-on-Linux-Mint.sh
Install Docker on Linux Mint 17.3
# Check that HTTPS transport is available to APT
if [ ! -e /usr/lib/apt/methods/https ]; then
sudo apt-get update
sudo apt-get install -y apt-transport-https
fi
# Add the repository to your APT sources
sudo echo deb https://get.docker.com/ubuntu docker main > /etc/apt/sources.list.d/docker.list
# Then import the repository key

A comparison of the src directory for three versions of d3. Also see d3 src tree.