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
| /* | |
| SublimeLinter default settings | |
| */ | |
| { | |
| /* | |
| Sets the mode in which SublimeLinter runs: | |
| true - Linting occurs in the background as you type (the default). | |
| false - Linting only occurs when you initiate it. | |
| "load-save" - Linting occurs only when a file is loaded and saved. |
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
| global: | |
| env: | |
| - LARAVEL_ENV: pagoda | |
| web1: | |
| name: l4-web | |
| shared_writable_dirs: | |
| - app/storage/cache | |
| - app/storage/logs | |
| - app/storage/meta | |
| - app/storage/sessions |
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
| /* Localized versions of Info.plist keys French */ | |
| "Credits" = "Crédits"; | |
| "Here are some great libraries I used to create this application:" = "Here are some great libraries I used to create this application:"; | |
| "About" = "À propos"; | |
| "Thank You" = "Remerciements"; | |
| "Thank you to the amazing team at GitHub for creating a great product, without their hard work, none of this would have been possible." = "Merci à l'équipe extraordinaire à GitHub pour créer un excellent produit, sans leur travail acharné, rien de tout cela n'aurait été possible."; | |
| "About the Developer" = "À propos du Développeur"; | |
| "Icon Design" = "Icon Design"; |
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
| [hub] | |
| protocol = ssh | |
| [user] | |
| name = Nicolas Widart | |
| email = n.widart@gmail.com | |
| [color] | |
| status = auto | |
| diff = auto | |
| branch = auto | |
| [mergetool] |
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
| <?php | |
| //http://example.com/users | |
| Route::get('users', function() | |
| { | |
| // Récupère tout les users de la DB | |
| $users = User::all(); | |
| // Crée la vue qui liste les users | |
| return View::make('users')->with('users', $users); |
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
| <?php | |
| //http://example.com/users | |
| Route::get('users', 'UserController@index'); | |
| //http://example.com/users/1 | |
| Route::get('users/{id}', 'UserController@show'); | |
| //http://example.com/users | |
| Route::post('users', 'UserController@create'); |
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
| <?php | |
| Route::controller('users', 'UserController'); | |
| class UserController extends BaseController { | |
| //http://example.com/users/profile/1 | |
| public function getProfile( $id ) | |
| { | |
| return "A user with id : $id."; |
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
| <?php | |
| Route::resource('users', 'UserController'); | |
| class UserController extends BaseController { | |
| // http://example.com/users | |
| public function index() | |
| { | |
| return "Tous les utilisateurs!"; |
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
| <?php | |
| /** | |
| * An helper file for Laravel 4, to provide autocomplete information to your IDE | |
| * Generated with https://github.com/barryvdh/laravel-ide-helper | |
| * | |
| * @author Barry vd. Heuvel <barryvdh@gmail.com> | |
| */ | |
| exit('Only to be used as an helper for your IDE'); | |
| class App extends Illuminate\Support\Facades\App{ |
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
| # Apache Server Configs v1.1.0 | MIT License | |
| # https://github.com/h5bp/server-configs-apache | |
| # (!) Using `.htaccess` files slows down Apache, therefore, if you have access | |
| # to the main server config file (usually called `httpd.conf`), you should add | |
| # this logic there: http://httpd.apache.org/docs/current/howto/htaccess.html. | |
| # ############################################################################## | |
| # # CROSS-ORIGIN RESOURCE SHARING (CORS) # | |
| # ############################################################################## |