Skip to content

Instantly share code, notes, and snippets.

@mistersourcerer
mistersourcerer / color.sh
Created October 10, 2012 15:06
Colorizing Ruby [or other lang] code from command line, to paste in keynote
#!/bin/bash
#http://pygments.org/docs/cmdline/
LANG="ruby"
if [ -n "$2" ]
then
LANG=$2;
fi
@dhh
dhh / linux-setup.sh
Last active July 15, 2024 02:30
linux-setup.sh
# THIS LINUX SETUP SCRIPT HAS MORPHED INTO A WHOLE PROJECT: HTTPS://OMAKUB.ORG
# PLEASE CHECKOUT THAT PROJECT INSTEAD OF THIS OUTDATED SETUP SCRIPT.
#
#
# Libraries and infrastructure
sudo apt update -y
sudo apt install -y \
docker.io docker-buildx \
build-essential pkg-config autoconf bison rustc cargo clang \