This file contains 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
An exception has been thrown during the rendering of a template ("Database configuration errors: There is a problem connecting to the database with the credentials supplied in your db config file.") in "_shared/_sub-nav" at line 1. |
This file contains 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
// Running Command | |
tommy in ~/Sites/testing on guuuuuuuulp! | |
± gulp compass [17:19:30] | |
[gulp] Using file /Users/tommy/Sites/testing/gulpfile.js | |
[gulp] Working directory changed to /Users/tommy/Sites/testing | |
[gulp] Running 'compass'... | |
[gulp] Finished 'compass' in 5.4 ms | |
unchanged assets/images/structure/parts-s91986b218a.png | |
unchanged assets/images/structure/parts-s91986b218a.png |
This file contains 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
// My gulpfile.js | |
var browserify = require('gulp-browserify'); | |
var compass = require('gulp-compass'); | |
var concat = require('gulp-concat'); | |
var exec = require('child_process').exec; | |
var gulp = require('gulp'); | |
var lr = require('tiny-lr'); | |
var refresh = require('gulp-livereload'); | |
var server = lr(); | |
var sys = require('sys'); |
This file contains 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
setVideoDimensions: function() { | |
var $wrapper = $('.video-wrapper'); | |
var $video = $('.video'); | |
var height = $wrapper.height(); | |
var width = $wrapper.width(); | |
// Maintain 16 / 9 aspect ratio | |
if (width / height > 16 / 9) { | |
newWidth = height / 9 * 16; | |
newHeight = height; |
This file contains 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
# Submit PR for current branch against master | |
pr () { | |
local repo=`git remote -v | grep -m 1 "(push)" | sed -e "s/.*github.com[:/]\(.*\)\.git.*/\1/"` | |
local branch=`git name-rev --name-only HEAD` | |
echo "... creating pull request for branch \"$branch\" in \"$repo\"" | |
open https://github.com/$repo/pull/new/$branch | |
} |
This file contains 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
var merge = require('react/lib/merge'); | |
var _ = require('underscore'); | |
var a = { | |
name: 'Tommy', | |
specs: { | |
height: { | |
inches: 60, | |
feet: 6.085 | |
}, |
This file contains 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
<?php | |
/* | |
|-------------------------------------------------------------------------- | |
| Application Routes | |
|-------------------------------------------------------------------------- | |
| | |
| Here is where you can register all of the routes for an application. | |
| It's a breeze. Simply tell Laravel the URIs it should respond to | |
| and give it the Closure to execute when that URI is requested. |
This file contains 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
{ | |
"bold_folder_labels": true, | |
"caret_style": "wide", | |
"color_scheme": "Packages/Theme - Flatland/Flatland Dark.tmTheme", | |
"detect_indentation": true, | |
"draw_centered": true, | |
"draw_white_space": "all", | |
"folder_exclude_patterns": | |
[ | |
"tmp/cache/assets/development", |