This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| #from http://www.sergeychernyshev.com/blog/speed-up-your-site-drop-in-htaccess-file/ | |
| <IfModule mod_deflate.c> | |
| # Insert filter | |
| SetOutputFilter DEFLATE # Netscape 4.x has some problems... | |
| BrowserMatch ^Mozilla/4 gzip-only-text/html # Netscape 4.06-4.08 have some more problems | |
| BrowserMatch ^Mozilla/4\.0[678] no-gzip # NOTE: Due to a bug in mod_setenvif up to Apache 2.0.48 | |
| # the above regex won't work. You can use the following | |
| # workaround to get the desired effect: | |
| BrowserMatch \bMSI[E] !no-gzip !gzip-only-text/html # Don't compress images |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| /* | |
| * Copyright (c) 2010 Tobias Schneider | |
| * This script is freely distributable under the terms of the MIT license. | |
| */ | |
| (function(){ | |
| var UPC_SET = { | |
| "3211": '0', | |
| "2221": '1', | |
| "2122": '2', |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| /** | |
| * Arc model | |
| * | |
| * @module Arc | |
| * @requires mongoose (npm install mongoose) | |
| * @requires User (models/User.js) | |
| * @global mongoose | |
| */ | |
| var Schema = mongoose.Schema, | |
| User = require('./User.js'); |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| function render(view,locals){ | |
| return function(req,res){ | |
| res.render(view,locals || {}); | |
| }; | |
| } | |
| var render = #(view,locals){ | |
| return #(req,res){ | |
| res.render(view,locals || {}); | |
| } |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| info it worked if it ends with ok | |
| verbose cli [ 'node', '/usr/local/bin/npm', 'install' ] | |
| info using npm@1.0.15 | |
| info using node@v0.4.8 | |
| verbose config file /home/jdevries/.npmrc | |
| verbose config file /usr/local/etc/npmrc | |
| silly testEngine { author: { name: 'Marc Harter', email: 'wavded@gmail.com' }, | |
| silly testEngine name: 'rowe-law', | |
| silly testEngine version: '0.0.1', | |
| silly testEngine repository: { url: '' }, |
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| { | |
| "01": "Alabama", | |
| "02": "Alaska", | |
| "04": "Arizona", | |
| "05": "Arkansas", | |
| "06": "California", | |
| "08": "Colorado", | |
| "09": "Connecticut", | |
| "10": "Delaware", | |
| "11": "District of Columbia", |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| #!/usr/bin/env coffee | |
| global.mongoose = require 'mongoose' | |
| mongoose.connect 'mongodb://localhost/test' | |
| Schema = mongoose.Schema | |
| User = new Schema | |
| userId : { type: String, index: true, required: true } | |
| contacts : [ { type: Schema.ObjectId, ref: 'User' } ] |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| #!/usr/bin/env coffee | |
| global.mongoose = require 'mongoose' | |
| mongoose.connect 'mongodb://localhost/test' | |
| Schema = mongoose.Schema | |
| User = new Schema | |
| userId : { type: String, index: true, required: true } | |
| contacts : [ { type: Schema.ObjectId, ref: 'User' } ] |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| # Path to your oh-my-zsh configuration. | |
| export ZSH=$HOME/.oh-my-zsh | |
| # Set name of the theme to load. | |
| # Look in ~/.oh-my-zsh/themes/ | |
| # Optionally, if you set this to "random", it'll load a random theme each | |
| # time that oh-my-zsh is loaded. | |
| export ZSH_THEME="lukerandall" | |
| # Set to this to use case-sensitive completion |