Edit — best to first try:
mariadb-secure-installation -u $(whoami)
Original version here below in case the above does not work for you.
Edit — best to first try:
mariadb-secure-installation -u $(whoami)
Original version here below in case the above does not work for you.
initialize: once, when the controller is first instantiatedconnect: anytime the controller is connected to the DOM| var events = (function(){ | |
| function addRemove(op, events, cb){ | |
| if( cb ) | |
| events.split(' ').forEach(name => { | |
| var ev = name.split('.')[0] | |
| cb = cb || this._eventsNS[name] | |
| this[op + 'EventListener'].call(this, ev, cb) | |
| if(op == 'add') |
| #!/usr/bin/env bash | |
| # fresh-chrome | |
| # | |
| # Use this script on OS X to launch a new instance of Google Chrome | |
| # with its own empty cache, cookies, and user configuration. | |
| # | |
| # The first time you run this script, it will launch a new Google | |
| # Chrome instance with a permanent user-data directory, which you can | |
| # customize below. Perform any initial setup you want to keep on every |
| // A static select where options aren't child-views but plain option tags. | |
| // This implementation is currently much faster than Em.Select on large collections. | |
| (function() { | |
| // shortcuts | |
| var set = Em.set, get = Em.get; | |
| Em.FastSelect = Em.Select.extend({ |
In the project I'm working on we wanted to have a Category model which we wanted to be nestable. But we also liked the user to have a draggable interface to manage and rearrange the order of his categories. So we chose awesome_nested_set for the model and jQuery.nestedSortable for the UI.
It took me some time to arrange things to work properly so I wanted to share my work in case it helps anybody.
you might want to take a look at a demo app