input Quickie: JS - input change Many developers try to handle change of input value with change or keyup/keydown event listeners. Well, that's not enough. You can change the value also by: dropping selected text, copying it to
rsync Quickie: Rsync Just a command to help you backup / archive your server. sudo rsync -avhe 'ssh -i /home/user/.ssh/id_rsa -p 2222' \ --numeric-ids \ --progress \ admin@your.server.tld:/path/to/your/data/ \ /path/
quickie Quickie: shortened "for" and "if" If Today after debugging minified JS code I discovered an interesting way to write ifs: var i = 0; var s = 'foo'; if (s === 'bar') { i = 1; } can also be written: var i = 0;
php Quickie: a = b || c This little post can be handy specially for full-stack devs, who use JS and PHP. PHP being a requirement here. Do you know what happens when you assign OR-logical expression to a variable?