Skip to content

Instantly share code, notes, and snippets.

View danieljoppi's full-sized avatar

Daniel Henrique Joppi danieljoppi

  • Santa Catarina, Brazil
View GitHub Profile
@danieljoppi
danieljoppi / storeImgInMongoWithMongoose.js
Created February 3, 2017 13:56 — forked from aheckmann/storeImgInMongoWithMongoose.js
store/display an image in mongodb using mongoose/express
/**
* Module dependencies
*/
var express = require('express');
var fs = require('fs');
var mongoose = require('mongoose');
var Schema = mongoose.Schema;
// img path
@danieljoppi
danieljoppi / installing_cassandra.md
Created February 3, 2016 13:31 — 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)"