Skip to content

Instantly share code, notes, and snippets.

View oeeckhoutte's full-sized avatar

Olivier Eeckhoutte oeeckhoutte

View GitHub Profile
# intellij javascript live templates
Just a dump of handy live templates I use with **IntelliJ**.
They should also work with **WebStorm**.
## How to
- Go to `settings`.
- Search for `live templates`.
- Under the javascript section you should be able to manage your templates.
@oeeckhoutte
oeeckhoutte / Install Wifi And Docker on my Pi
Created April 20, 2015 17:26
Install Wifi and Docker on ArchLinux
# Install the wireless tools
pacman -Syu
pacman -S wireless_tool
# Setup the configuration
wifi-menu
# Autostart the wifi with
netctl list
netctl enable wlan0-olivier
@oeeckhoutte
oeeckhoutte / fromOSXMachine
Created April 20, 2015 18:35
Download and setup ArchLinux on RaspberryPi
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
@oeeckhoutte
oeeckhoutte / gist:2af8aab99ded560c2296
Created May 15, 2015 21:45
Install distcc Cross Compilation
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 / install_docker.sh
Last active August 29, 2015 14:26
Installer Docker sur une machine Debian 8.1
# 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 / Dockerfile_codebox
Last active September 6, 2015 16:01
Dockerfile to install codebox on port 8080
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 / zsh.md
Created September 6, 2015 15:59 — forked from tsabat/zsh.md
Getting oh-my-zsh to work in Ubuntu
@oeeckhoutte
oeeckhoutte / installing_cassandra.md
Created November 8, 2015 16:32 — forked from hkhamm/installing_cassandra.md
Installing Cassandra on Mac OS X

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 / .editorconfig
Created December 22, 2015 08:52
Editorconfig
# editorconfig.org
root = true
[*]
charset = utf-8
end_of_line = lf
insert_final_newline = true
trim_trailing_whitespace = true
# OSX
.DS_Store
.DS_Store?
.AppleDouble
.LSOverride
Icon
# Other OS generated files
ehthumbs.db
Thumbs.db