Skip to content

Instantly share code, notes, and snippets.

View jiewmeng's full-sized avatar

Jiew Meng jiewmeng

  • WatchTowr
  • Singapore
View GitHub Profile
@jiewmeng
jiewmeng / MongooseNotes.md
Created August 12, 2012 01:44
MongooseJS Notes

Connection to MongoDB

Connect to different MongoDB database depending on enviornment

# server.coffee
mongoose = require "mongoose"
app.configure "development", ->
	mongoose.connect "localhost", "app-dev"
@jiewmeng
jiewmeng / ArchInstall.md
Created August 12, 2012 07:56
Arch Linux Build

Arch Linux Install Notes

Core Packages

dbus xorg-server xorg-server-utils alsa-utils mesa xf86-video-ati sudo xfce4 lxdm

For NVIDIA, use xf86-video-nouveau For VirtualBox guest, virtualbox-archlinux-additions

@jiewmeng
jiewmeng / .gitignore
Created August 15, 2012 03:15
Script to create express app with CoffeeScript etc. and modular folder structure
node_modules/
public/css/app
public/js/app
lib-cov
*.seed
*.log
*.csv
*.dat
*.out