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
// Instead of this... | |
Route::group(array('before' => 'language'), function(){ | |
Route::resource('registrations', 'RegistrationsController', array('only' => array('index', 'store'))); | |
}); | |
// Maybe something like this... |
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
// XML sitemap - requires this package: https://github.com/RoumenDamianoff/laravel-sitemap | |
// NOTE: This example uses a closure within routes.php. If attempting this in a controller, | |
// especially with Laravel 5+, make sure to include the required classes, which in this case | |
// would be... | |
// use App; | |
// use URL; | |
// if utilizing the Carbon library for dates, also include Carbon... | |
// use Carbon\Carbon; |
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
{ | |
"files": | |
{ | |
}, | |
"packages": | |
{ | |
"Angular JS": "https://github.com/angular/angular.js/archive/master.zip", | |
"Backbone JS": "https://github.com/documentcloud/backbone/zipball/master", | |
"CodeIgniter": "http://codeigniter.com/download.php", | |
"Ember JS": "https://github.com/emberjs/ember.js/archive/master.zip", |
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
# Terminal visuals from http://osxdaily.com/2013/02/05/improve-terminal-appearance-mac-os-x/ | |
export PS1="\[\033[36m\]\u\[\033[m\]@\[\033[32m\]\h:\[\033[33;1m\]\w\[\033[m\]\$ " | |
export CLICOLOR=1 | |
export LSCOLORS=ExFxBxDxCxegedabagacad | |
alias ls='ls -GFh' | |
export EDITOR='subl' | |
# Keep at top | |
export PATH='/usr/local/bin:/usr/bin:/bin:/usr/sbin:/sbin:~/.composer/vendor/bin' |
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
{ | |
"color_scheme": "Packages/Color Scheme - Default/Monokai.tmTheme", | |
"font_face": "Droid Sans Mono", | |
"font_size": 14, | |
"ignored_packages": | |
[ | |
"Vintage" | |
], | |
"theme": "DefaultPlus Monokai.sublime-theme", | |
"margin": 10, |