- 「Image2Base64」を追加しました。
- 「AdvancedNewFile」を追加しました。
- 「Quick Look」を追加しました。
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
| #user nobody; | |
| worker_processes 1; | |
| #error_log logs/error.log; | |
| #error_log logs/error.log notice; | |
| #error_log logs/error.log info; | |
| #pid logs/nginx.pid; | |
| events { |
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
| win:# mklink /J C:\_nginx\mysql\data C:\Users\Tuana\Dropbox\Araclar\Data\db\mysql | |
| lin:# ln -s target_path link_path | |
| # http://en.wikipedia.org/wiki/Symbolic_link | |
| # centos @ dropbox | |
| $ ln -s /root/Dropbox/_webserver /var/www/html |
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 | |
| namespace { | |
| die('Only to be used as an helper for your IDE'); | |
| } | |
| namespace { | |
| class Auth extends Illuminate\Auth\Guard{ | |
| /** | |
| * Create a new authentication guard. | |
| * |
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 | |
| // app/start/global.php | |
| /* | |
| |-------------------------------------------------------------------------- | |
| | Application Error Logger | |
| |-------------------------------------------------------------------------- | |
| | | |
| | Here we will configure the error logger setup for the application which |
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
| sudo nano /etc/network/interfaces | |
| # This file describes the network interfaces available on your system | |
| # and how to activate them. For more information, see interfaces(5). | |
| # The loopback network interface | |
| auto lo eth0 | |
| iface lo inet loopback | |
| # The primary network interface |
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://stackoverflow.com/questions/16559421/t-can-not-switch-language-in-laravel4?utm_source=laravel | |
| // app/routes.php | |
| Route::get('lang/{lang}', function($lang) | |
| { | |
| Session::put('my.locale', $lang); | |
| return Redirect::to('/'); | |
| }); |
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 | |
| Event::listen('illuminate.query', function($query, $bindings, $time) { | |
| static $count; | |
| if(App::make('env') === 'local') | |
| { | |
| $logFile = __DIR__.'/storage/logs/queries'; | |
| ob_start(); | |
| var_dump($bindings, $query); | |
| $str = ob_get_clean(); | |
| if($count === null) |
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> | |
| */ | |
| namespace { | |
| die('Only to be used as an helper for your IDE'); | |
| } |
A list of amazingly awesome PHP libraries, resources and shiny things.
- Composer/Packagist - A package and dependency manager.
- Composer Installers - A multi framework Composer library installer.