- JavaScript.is (Sexy)
- Eloquent JavaScript
- Frontend - learn & resources
- Learnjs.io
#Laravel 5 Simple ACL manager
Protect your routes with user roles. Simply add a 'role_id' to the User model, install the roles table and seed if you need some example roles to get going.
If the user has a 'Root' role, then they can perform any actions.
Simply copy the files across into the appropriate directories, and register the middleware in App\Http\Kernel.php
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 | |
add_action( 'wp_enqueue_scripts', 'enqueue_my_styles' ); | |
function enqueue_my_styles() { | |
global $wp_styles; | |
// Load the main stylesheet | |
wp_enqueue_style( 'my-theme', get_stylesheet_uri() ); |
The popular open-source contract for web designers and developers by Stuff & Nonsense
- Originally published: 23/12/2008
- Revised date: 15/12/2013
- Original post
Dumping ground for Links
- http://linuxphile.org/post/show/integrating-tinymce-with-laravel
- http://www.lifeofguenter.de/2015/04/laravel-queues-with-supervisor-on.html
- http://zrashwani.com/server-sent-events-example-laravel/#.VUXkgGlVhBe
- http://www.laraveltherightway.com/
- https://github.com/TimothyDJones/awesome-laravel
- http://blog.jetbrains.com/phpstorm/2015/01/laravel-development-using-phpstorm/
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 | |
add_action( 'wp_enqueue_scripts', 'colormag_scripts_styles_method' ); | |
/** | |
* Enqueues styles and scripts. | |
*/ | |
function colormag_scripts_styles_method() { | |
$suffix = ( defined( 'SCRIPT_DEBUG' ) && SCRIPT_DEBUG ) ? '' : '.min'; | |
wp_enqueue_script( 'colormag-bxslider', COLORMAG_JS_URL . '/jquery.bxslider' . $suffix . '.js', array( 'jquery' ), '4.1.2', true ); |
OlderNewer