Skip to content

Instantly share code, notes, and snippets.

View nrempel's full-sized avatar
🦀

Nick Rempel nrempel

🦀
View GitHub Profile
@nrempel
nrempel / replace-debian-with-arch.txt
Created January 28, 2016 16:54 — forked from m-ou-se/replace-debian-with-arch.txt
Instructions to replace a live Debian installation with Arch
# Download latest archlinux bootstrap package, see https://www.archlinux.org/download/
wget http://ftp.nluug.nl/os/Linux/distr/archlinux/iso/2016.01.01/archlinux-bootstrap-2016.01.01-x86_64.tar.gz
# Make sure you'll have enough entropy for pacman-key later.
apt-get install haveged
# Install the arch bootstrap image in a tmpfs.
mount -t tmpfs none /mnt
cd /mnt
tar xvf ~/archlinux-bootstrap-2016.01.01-x86_64.tar.gz --strip-components=1
@nrempel
nrempel / api.js
Created October 14, 2013 06:49 — forked from fwielstra/api.js
/* The API controller
Exports 3 methods:
* post - Creates a new thread
* list - Returns a list of threads
* show - Displays a thread and its posts
*/
var Thread = require('../models/thread.js');
var Post = require('../models/post.js');
@nrempel
nrempel / jitsuerror
Created January 29, 2013 06:17
jitsu failed to install helloworld
info: Welcome to Nodejitsu nbrempel
info: jitsu v0.11.6, node v0.8.18
info: It worked if it ends with Nodejitsu ok
info: Executing command install helloworld
info: Installing helloworld locally
warn: Downloading packages from npm, this may take a moment...
error: Error running command install helloworld
error: EACCES, open '/home/nbrempel/.npm/d01b9e40-nodeapps-helloworld.lock'
error: Error: EACCES, open '/home/nbrempel/.npm/d01b9e40-nodeapps-helloworld.lock'
help: For help with this error contact Nodejitsu Support: