Skip to content

Instantly share code, notes, and snippets.

View ritikm's full-sized avatar

Ritik Malhotra ritikm

View GitHub Profile
@ritikm
ritikm / fusefs.h
Created September 2, 2015 20:26
fusefs.h
#ifndef FSTUTORIAL_FUSEFS_H_
#define FSTUTORIAL_FUSEFS_H_
#include <ctype.h>
#include <dirent.h>
#include <errno.h>
#include <fcntl.h>
#include <osxfuse/fuse.h>
#include <limits.h>
#include <stdlib.h>
@ritikm
ritikm / 1_settings.js
Created October 15, 2013 22:57
Pure-JS method of importing settings into Meteor.js. This file is put in server/lib.
environment = process.env.NODE_ENV || "development";
var settings = {
development: {
public: {},
private: {}
},
staging: {
public: {},
private: {}