Skip to content

Instantly share code, notes, and snippets.

##Cross compile CGO go program for Raspberry Pi on x86_64 linux
# Install cross compilation toolset
sudo apt-get install gcc-5-arm-linux-gnueabi
sudo apt-get install gcc-arm-linux-gnueabihf
# Alternatively get the cross compile toolchain from raspberry pi website as
# the standard gcc toolchain need ARMv7
git clone https://github.com/raspberrypi/tools
# Pi Zero uses /arm-bcm2708/arm-rpi-4.9.3-linux-gnueabihf
@deepakkamesh
deepakkamesh / .tmux
Last active June 17, 2018 02:17
Setting up golang dev on Linux ARM (raspberry pi)
# https://github.com/seebi/tmux-colors-solarized/blob/master/tmuxcolors-256.conf
set-option -g status-bg colour235 #base02
set-option -g status-fg colour136 #yellow
set-option -g status-attr default
# set window split
bind-key v split-window -h
bind-key b split-window
# default window title colors