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
| config defaultToCurrentScreen true | |
| config nudgePercentOf screenSize | |
| config resizePercentOf screenSize | |
| # Push Bindings | |
| bind 1:shift;cmd push left bar-resize:screenSizeX/2 | |
| bind 2:shift;cmd push right bar-resize:screenSizeX/2 | |
| bind 3:shift;cmd push up bar-resize:screenSizeY/2 | |
| bind 4:shift;cmd push down bar-resize:screenSizeY/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
| source 'https://rubygems.org' | |
| gem 'rails', '3.2.3' | |
| gem 'jquery-rails', '2.0.1' | |
| gem 'bootstrap-sass', '2.0.0' | |
| gem 'bcrypt-ruby', '3.0.1' | |
| gem 'faker', '1.0.1' | |
| gem 'will_paginate', '3.0.3' | |
| gem 'bootstrap-will_paginate', '0.0.5' |
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
| { | |
| "Abstract Factory": "Creates an instance of several families of classes", | |
| "Adapter": "Match interfaces of different classes", | |
| "Bridge": "Separates an object\u2019s interface from its implementation", | |
| "Builder": "Separates object construction from its representation", | |
| "Chain of Responsibility": "A way of passing a request between a chain of objects", | |
| "Command": "Encapsulate a command request as an object", | |
| "Composite": "A tree structure of simple and composite objects", | |
| "Decorator": "Add responsibilities to objects dynamically", | |
| "Facade": "A single class that represents an entire subsystem", |
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
Show hidden characters
| { | |
| "cmd": ["/usr/local/share/npm/bin/coffeelint","$file","-f","/path/coffeelint.json"] | |
| } |
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
| class Ctrl | |
| constructor: (@$scope) -> | |
| angular.module('app').controller 'ctrl', ['$scope', Ctrl] |
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
| Array(30).join(' ') // empty string | |
| !!variable // to boolean | |
| Array.prototype.slice.call(arguments) // array like object into an array | |
| str += 'Using' // number casting | |
| Function.call.apply(Foo.prototype.method, arguments); // Foo.prototype.method.call(this, arg1, arg2... argN) |
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
| // Generated on 2013-08-22 using generator-angular 0.3.1 | |
| 'use strict'; | |
| var LIVERELOAD_PORT = 35729; | |
| var lrSnippet = require('connect-livereload')({ port: LIVERELOAD_PORT }); | |
| var mountFolder = function (connect, dir) { | |
| return connect.static(require('path').resolve(dir)); | |
| }; | |
| // # Globbing | |
| // for performance reasons we're only matching one level down: |
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
| // Karma configuration | |
| // http://karma-runner.github.io/0.10/config/configuration-file.html | |
| module.exports = function(config) { | |
| config.set({ | |
| // base path, that will be used to resolve files and exclude | |
| basePath: '', | |
| // testing framework to use (jasmine/mocha/qunit/...) | |
| frameworks: ['jasmine'], |
NewerOlder