- 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 | |
/** | |
* Remove standard image sizes so that these sizes are not created during the Media Upload process | |
* | |
* @param $sizes, array of default images | |
* @return $sizes, new array of images | |
*/ | |
function cn_image_sizes( $sizes) { | |
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 comments_container = 'div#comments'; | |
var content_container = 'div#content'; | |
var nav_container = 'nav.post-navigation'; | |
var post_title_selector = 'h1.entry-title'; | |
var curr_url = window.location.href; | |
jQuery.noConflict(); | |
jQuery(document).ready(function() { |
OlderNewer