Skip to content

Instantly share code, notes, and snippets.

Avatar

Olivier Eeckhoutte oeeckhoutte

View GitHub Profile
@oeeckhoutte
oeeckhoutte / cltools.sh
Created Aug 14, 2016 — forked from justinbellamy/cltools.sh
Install Autoconf and Automake on OS X El Capitan
View cltools.sh
#!/bin/sh
##
# Install autoconf, automake and libtool smoothly on Mac OS X.
# Newer versions of these libraries are available and may work better on OS X
#
# This script is originally from http://jsdelfino.blogspot.com.au/2012/08/autoconf-and-automake-on-mac-os-x.html
#
export build=~/devtools # or wherever you'd like to build
View gulp-test.js
var gulp = require('gulp');
var fs = require('fs');
var istanbul = require('gulp-istanbul');
var jasmine = require('gulp-jasmine');
var clean = require('gulp-clean');
cover = require('gulp-coverage');
var $ = require('gulp-load-plugins')({
scope: ['dependencies']
View .gitignore
# OSX
.DS_Store
.DS_Store?
.AppleDouble
.LSOverride
Icon
# Other OS generated files
ehthumbs.db
Thumbs.db
View .editorconfig
# editorconfig.org
root = true
[*]
charset = utf-8
end_of_line = lf
insert_final_newline = true
trim_trailing_whitespace = true
@oeeckhoutte
oeeckhoutte / installing_cassandra.md
Created Nov 8, 2015 — forked from hkhamm/installing_cassandra.md
Installing Cassandra on Mac OS X
View installing_cassandra.md

Installing Cassandra on Mac OS X

Install Homebrew

Homebrew is a great little package manager for OS X. If you haven't already, installing it is pretty easy:

ruby -e "$(curl -fsSL https://raw.github.com/Homebrew/homebrew/go/install)"
@oeeckhoutte
oeeckhoutte / zsh.md
Created Sep 6, 2015 — forked from tsabat/zsh.md
Getting oh-my-zsh to work in Ubuntu
View zsh.md

Prereq:

apt-get install zsh
apt-get install git-core

Getting zsh to work in ubuntu is weird, since sh does not understand the source command. So, you do this to install zsh

wget https://github.com/robbyrussell/oh-my-zsh/raw/master/tools/install.sh -O - | zsh
@oeeckhoutte
oeeckhoutte / Dockerfile_codebox
Last active Sep 6, 2015
Dockerfile to install codebox on port 8080
View Dockerfile_codebox
FROM ubuntu:latest
WORKDIR /workspace
RUN apt-get update && \
apt-get install -y make g++ python git curl && \
curl -sL https://deb.nodesource.com/setup | sudo bash - && \
apt-get install -y nodejs && \
npm -g install node-gyp codebox && \
cd /usr/lib/node_modules/codebox/node_modules/shux/node_modules/pty.js && \
@oeeckhoutte
oeeckhoutte / install_docker.sh
Last active Aug 29, 2015
Installer Docker sur une machine Debian 8.1
View install_docker.sh
# Installation sur Debian 8.1:
apt-get update
apt-get install -y curl
curl -sSL https://get.docker.com/ | sh
# Tester si l’installation fonctionne:
docker run -i -t ubuntu /bin/bash
# Vérifier qu’on est bien sur une machine Ubuntu
cat /etc/issue
@oeeckhoutte
oeeckhoutte / gist:2af8aab99ded560c2296
Created May 15, 2015
Install distcc Cross Compilation
View gist:2af8aab99ded560c2296
On the Ubuntu Machine
Install dependencies
sudo apt-get install mercurial bison flex texinfo automake curl
sudo apt-get install build-essential libncurses-dev libtool gawk gperf
if you are using a 64bit linux distribution you'll need to install also:
sudo aptitude install ia32-libs
Download the Raspberry Pi compiler for linux
you can download it as a zip or clone the repo at from https://github.com/raspberrypi/tools/
rename the folder to something more identifiable like rpi-tools, we'll refer to this path as $RPI_TOOLS from now on
Install and configure distcc on the Ubuntu Helper machine
@oeeckhoutte
oeeckhoutte / fromOSXMachine
Created Apr 20, 2015
Download and setup ArchLinux on RaspberryPi
View fromOSXMachine
curl -o arch_arm.img.zip -L http://downloads.raspberrypi.org/arch_latest
unzip arch_arm.img.zip
df -h
#Find your SD Card
sudo diskutil unmountDisk /dev/disk2
sudo dd bs=1m if=ArchLinuxARM-2014.01-rpi.img of=/dev/rdisk2
sudo diskutil eject /dev/rdisk2