Skip to content

Instantly share code, notes, and snippets.

@apocas
apocas / nodev4centos6.sh
Last active March 6, 2017 16:40
Compiling Nodejs v4 in Centos 6
#!/bin/bash
#Nodejs v4.x needs gcc v4.8, Centos 6 comes with gcc v.4.4.
#devtools-2 comes already bundled with v4.8
wget http://people.centos.org/tru/devtools-2/devtools-2.repo -O /etc/yum.repos.d/devtools-2.repo
yum install -y devtoolset-2-gcc devtoolset-2-binutils devtoolset-2-gcc-c++
scl enable devtoolset-2 bash
wget https://nodejs.org/dist/latest/node-v4.0.0-linux-x64.tar.gz
tar -zxvf node-v4.0.0-linux-x64.tar.gz
@staltz
staltz / introrx.md
Last active April 25, 2024 04:18
The introduction to Reactive Programming you've been missing