My last jQuery post looked at how to count the number of options in a select and then clear all options from the select. This post looks at how to add a new option to a select with jQuery. Working … [Read more...] about Add a new option to a select with jQuery
tpp
How to update the max_connections setting in MySQL
If you are getting "too many connections" errors in MySQL you can change the max_connections setting to allow more connections, assuming you have enough RAM to handle the increased number. This post … [Read more...] about How to update the max_connections setting in MySQL
List installed packages with YUM
This post looks at how to list the installed packages with YUM from the command line for YUM based Linux distributions, such as CentOS and Fedora. It's very simple: yum list installed This will … [Read more...] about List installed packages with YUM
How to check and uncheck a checkbox with jQuery
jQuery is a Javascript framework which can simplify coding Javascript for a website and removes a lot of cross browser compatibility issues. Yesterday I looked at how to get and set form element … [Read more...] about How to check and uncheck a checkbox with jQuery
Delete All Data in a MySQL Table
MySQL is the world's most popular open source database, recognized for its speed and reliability. This article looks at how to delete all the data from a MySQL database table and how it affects auto … [Read more...] about Delete All Data in a MySQL Table
Saving a file downloaded with wget with a different name
wget is a command line utility for downloading files from FTP and HTTP web servers. By default when you download a file with wget, the file will be written to the current directory, with the same … [Read more...] about Saving a file downloaded with wget with a different name