Skip to content

Instantly share code, notes, and snippets.

@firejdl
firejdl / arm-elf-gcc_on_osx.sh
Last active December 29, 2015 20:29 — forked from steakunderscore/arm-elf-gcc_on_osx.sh
Build newlib, gdb, binutils, and gcc for targetting arm-elf. Changes from @steakunderscore's version: I updated all software to the latest version (e.g. the latest version of the 4.6 branch of gcc is 4.6.4). I made it possible to run this script in parts, commenting out all but the part that I was currently compiling, to ensure each part compile…
#!/bin/bash
# number of threads to use for compilation
export THREADS=4
mkdir toolchain
cd toolchain
# grab sources
wget ftp://sources.redhat.com/pub/newlib/newlib-1.20.0.tar.gz
@firejdl
firejdl / demo.rb
Created March 28, 2014 19:04 — forked from mostlygeek/demo.rb
Chef ruby_block and dynamic resource creation
ruby_block "sync_build_from_s3" do
action :nothing
block do
# latest_file contains path to the latest.txt, which lists files to sync
file = File.new(latest_file, "r");
run_context = Chef::RunContext.new(node, node.run_context.cookbook_collection, node.run_context.events)
#
# Create the directory to hold the new build files
#
@firejdl
firejdl / keybase.md
Last active August 29, 2015 14:11
keybase.md

Keybase proof

I hereby claim:

  • I am firejdl on github.
  • I am firejdl (https://keybase.io/firejdl) on keybase.
  • I have a public key whose fingerprint is CD5E 5B00 7122 6FB6 4528 6D43 EFB3 EE75 65F4 CE62

To claim this, I am signing this object: