Linux, MySQL and More
These are the interesting tidbits we have encountered that need to be shared with the world. Interesting tips, tricks and general information about Linux, MySQL, PHP and other tech areas.
Normally, you only need to set the hostname when you first install Linux. But perhaps a poor name was chosen or an error was made during the install and you need to change it. Well a couple simple file edits will do the trick.
Getting your web server to score an A+ on SSL Labs is easy when you use HAPROXY as a frontend.
RAID - Redundant Array of Independent Disks, which was originally Redundant Array of Inexpensive Disks. Basically, this is a way to connect multiple physical disks together to create one logical disk. Some versions of RAID offer fault protection and others to not.
Ever been typing in a form and have your fingers slide on the touchpad of your laptop only to lose all of what you typed in the form because Google Chrome took your finger swipe as a GO BACK command? Sucks! Here is how you turn it off.
At the time of this article, I was running Google Chrome web browser Version 39.0.2171.95 (64-bit). Everything was working fine until one day I closed the browser then reopened it too quickly and got an error about my profile being inaccessable. From that point forward, no web site would prompt me to save my password. And my entire password list appeared to be blank.
You may have a need to have custom URLs such as ssh://yoursite.com processed with your own script. This is pretty easy to do with just a couple commands.
This little script is a simple tool to rename one or more files in a folder using the EXIF date and time stamp. Name collision is handled with a unique sequence number as needed.
The search filter works ok but I really needed a way to allow the users to type in a standard text input box and display a pick list below the box as they type. Nothing I found off the shelf really worked well with jQuery Mobile so I created a simple ajax solution of my own.
Have you ever had your system boot up and found missing mount points that should have initialized? I find this every once in a while when my NFS share can't be reached in a timely manner while logging in.