Simple .debounce function
Used for delaying keypress searches, etc Usage example: Above will request /api/search endpoint 300ms after last keyup event
A bunch of ramblings about PHP programming, JQuery, MySQL and other 'stuff'
Used for delaying keypress searches, etc Usage example: Above will request /api/search endpoint 300ms after last keyup event
I always struggle with this. Too many red and black cables and never sure where to put them. But here…
Quite often I find myself looking for files which contain the same text. Mainly config settings, etc. On linux you…
If you are trying to mathematically calculate the percentage that something was overbooked then this calculation will work: 100 x…
Jquery is everywhere, its good. People like it. Its easy(ish) for beginners to create great web apps. It’s also large,…
Annoying to find, so a quick easy to find snippet here <!DOCTYPE html> <html lang="en"> <head> <meta charset="utf-8" /> <title>New…
Simple syntax to create a super user (for editing users and dropping schemas etc) CREATE USER 'superuser'@'%' IDENTIFIED BY '[password]';…
You have some data which many users edit often, and you want to return a field with some sort of…
In order to compact a virtualbox VDI file and recover some of the lost space (especially useful when using a…
I’ve used openvpn on Mac (using Tunnelblick) for a few years for a home->work VPN connection with no issues, and…