Techy Things

Binding on select the correct way 0

Binding on select the correct way

Using backbone and selectpicker events: { “change #exportDestinations”: “fixButtonStates” } Just this line is required, it will support both keyup event and onChange – even if it you dont leave focus and use keyboard...

The advantages of Promises and jQuery Deferred 0

The advantages of Promises and jQuery Deferred

The good point The callback can be defined later on and fired even if the original promise already completed. When calling the promise.done(function(){}) it will fire even if the deferred is already completed –...

Install lighttpd from sources on CentOS 0

Install lighttpd from sources on CentOS

Prerequisites $> sudo yum install pcre-devel pcre Untar to a temporary place lighttpd-1.X.X $> ./configure $> make $> sudo make install This will give you a fresh new binary at /usr/local/sbin/lighttpd You can confirm...

How to use Trello API with examples 0

How to use Trello API with examples

But how do I get my board IDs ?!? https://trello.com/1/members/me/boards?fields=name How can I generate a token ? https://trello.com/1/authorize?key=062109670e7f56b88783721892f8f66f&name=Manatee.Trello&expiration=1day&response_type=token&scope=read,write,account Where you input key as being your API key

Add a wordpress user through mySQL 0

Add a wordpress user through mySQL

Add an administrator username through SQL only There are three insertions to do : One row in wp_users Two rows in wp_usermeta For full instructions there are already detailed blogs about this : http://www.wpbeginner.com/wp-tutorials/how-to-add-an-admin-user-to-the-wordpress-database-via-mysql/