Skip to content

Instantly share code, notes, and snippets.

View rmorrin's full-sized avatar

Ryan Morrin rmorrin

  • Newcastle upon Tyne
View GitHub Profile
@rmorrin
rmorrin / index.js
Created September 30, 2015 14:42
test
var Hapi = require('hapi');
var Sequelize = require('sequelize');
var sequelize = new Sequelize('AdventureWorks', 'test1', 'test', {
dialect: 'mssql',
host: 'localhost'
});
var Person = sequelize.define('Person', {
set backspace=indent,eol,start " make that backspace key work the way it should
filetype indent on " activates indenting for files
set autoindent " auto indenting
set number " line numbers
set nobackup " get rid of anoying ~file
set laststatus=2 " make the last line where the status is two lines deep so you can see status always
set nowrap
set ignorecase
set smartcase
set incsearch " search as you key in
@rmorrin
rmorrin / 0_reuse_code.js
Last active August 29, 2015 14:10
Here are some things you can do with Gists in GistBox.
// Use Gists to store code you would like to remember later on
console.log(window); // log the "window" object to the console
@rmorrin
rmorrin / Cap.png
Last active August 29, 2015 14:05
Image hosting for cmder issue: https://github.com/bliker/cmder/issues/302
Cap.png