Skip to content

Instantly share code, notes, and snippets.

View steakunderscore's full-sized avatar
🐦
chirp chirp

Henry Jenkins steakunderscore

🐦
chirp chirp
View GitHub Profile
#!/usr/bin/env ruby
require 'net/ssh'
require 'json'
users = %w(user)
host = localhost
Net::SSH.start(host, ENV['USER'] , port: 29418) do |ssh|
result = ssh.exec!('gerrit ls-projects --type code --format json')
@steakunderscore
steakunderscore / gist:1103318
Created July 25, 2011 00:50 — forked from anonymous/gist:1103283
Now for mac
#!/bin/bash
export target=arm-eabi
export prefix=~/$target
export PATH=$prefix/bin:$PATH
mkdir toolchain && \
cd toolchain && \
wget -c ftp://sources.redhat.com/pub/newlib/newlib-1.19.0.tar.gz && \
wget -c http://ftp.gnu.org/gnu/gdb/gdb-7.2.tar.gz && \
@steakunderscore
steakunderscore / arm-eabi-gcc_on_ubuntu.markdown
Created June 30, 2011 00:27 — forked from Nemo157/arm-eabi-gcc_on_osx.markdown
How I installed arm-eabi-gcc on Ubuntu 11.04

Install some needed libraries

sudo aptitude install libmpc-dev

Make the temp directory to build in

mkdir toolchain
cd toolchain

Get the required sources

@steakunderscore
steakunderscore / arm-elf-gcc_on_osx.sh
Created June 22, 2011 10:46 — forked from Nemo157/arm-eabi-gcc_on_osx.markdown
How I installed arm-elf-gcc on Mac OS X
#!/bin/bash
mkdir toolchain
cd toolchain
wget ftp://sources.redhat.com/pub/newlib/newlib-1.19.0.tar.gz
wget http://ftp.gnu.org/gnu/gdb/gdb-7.2.tar.gz
wget http://ftp.gnu.org/gnu/binutils/binutils-2.21.tar.bz2
wget http://ftp.gnu.org/gnu/gcc/gcc-4.6.0/gcc-core-4.6.0.tar.bz2