Skip to content

Instantly share code, notes, and snippets.

@CreaturePhil
CreaturePhil / gist:bca210780386b0f07fc4
Last active August 29, 2015 14:03
Weekly Websites

Weekly Websites

Participants:

CreaturePhil

N19

Every week we challenge each other to see who makes the better website. Push as a effusive organization repo.

intro to algo
discrete mathematics
haskell
software testing methologies
angularjs
developing for android
TeenHacks
1841 Beazley Ct
Fullerton, CA 92833
@CreaturePhil
CreaturePhil / gitnotes.md
Last active August 29, 2015 14:09
Git notes

Git setup

$ git config --global user.name "John Doe"
$ git config --global user.email [email protected]

Check your settings

@CreaturePhil
CreaturePhil / gist:39712e4268702b70561c
Last active August 29, 2015 14:15
npm install express-generator
$ npm install express-generator -g
$ express <project name>
$ express express-blog
create : express-blog
create : express-blog/package.json
create : express-blog/app.js
create : express-blog/public
create : express-blog/public/javascripts
create : express-blog/public/images
create : express-blog/public/stylesheets
create : express-blog/public/stylesheets/style.css
extends layout
block content
h1= title
p Welcome to #{title}
hr
h3 Add a Post
form(action="/" method="post")
p Title
input(type="text" name="title")
router.get('/', function(req, res) {
res.render('index', { title: 'my Blog' });
});
var mongoose = require('mongoose');