Skip to content

Instantly share code, notes, and snippets.

View ilg-ul's full-sized avatar

Liviu Ionescu ilg-ul

View GitHub Profile
@ilg-ul
ilg-ul / build-arm-none-eabi-gdb.sh
Created October 7, 2015 17:53
Build the ARM version of GDB on OS X.
#! /bin/bash
set -euo pipefail
IFS=$'\n\t'
GDB_VERSION="7.10"
GDB_BUILD_FOLDER="~/Work/gdb"
mkdir -p "${GDB_BUILD_FOLDER}"
cd "${GDB_BUILD_FOLDER}"
@ilg-ul
ilg-ul / install-homebrew.sh
Last active November 5, 2016 10:11
Install Homebrew in /opt/homebrew.
#!/usr/bin/env bash
if [[ ${DEBUG} != "" ]]; then
set -x
fi
set -o errexit
set -o pipefail
set -o nounset
@ilg-ul
ilg-ul / install-macports-from-sources.sh
Last active November 5, 2016 10:12
Install MacPorts in /opt/macports from sources.
#!/usr/bin/env bash
if [[ ${DEBUG} != "" ]]; then
set -x
fi
set -o errexit
set -o pipefail
set -o nounset