Once you’ve got your form validation handled, the question becomes what to do once your form data is valid. Performing an AJAX form submission is reasonably easy, thanks to the jQuery.ajax call: function signup(form) { jQuery("#alert").remove(); jQuery.ajax({ beforeSend: function() { jQuery.blockUI({ message: '<h1><img src="/static/ajax-loader.gif" /> Working…</h1>' }); }, complete: function() { jQuery.unblockUI(); }, type: "POST",… View Article

Manual HTML form validation can be a time-consuming exercise in frustration, however the jQuery.validate makes it fast and painless, while still allowing powerful custom validation rules, and can easily be adapted to your CSS framework, in this case Bootstrap. A basic jQuery.validate setup is as simple as importing the js, adding validation tags to your… View Article

VirtualBox is great, until you realise your missing the a key snapshot, or your original image and you only have the lastest snapshot on your backups. A while back I had the task of rebuilding a windows server for someone with only a recent snapshot. So I hope this offers you some technical support if… View Article

Recently I have been working on integrating soap into our postgresql database. Its not something easily built into postgresql, so I wrote some plpgsql functions to achieve the same purpose. — Create a XML request for uploading CREATE OR REPLACE FUNCTION soap_test() RETURNS xml AS $$ DECLARE x xml; d text; BEGIN d = $A$… View Article

source:http://www.freelabs.com/~whitis/USB_VID_PID.xhtml Linux users can, of course, just use lsusb or usbview.   Run as root because on some systems, this doesn’t show all the information otherwise.lsusb (short form)$ sudo lsusbBus 002 Device 049: ID eb1a:1760 eMPIA Technology, Inc.Bus 002 Device 007: ID 04e8:323a Samsung Electronics Co., Ltd ML-1710 PrinterBus 002 Device 005: ID 055f:0006 Mustek Systems,… View Article

To compress a file or folder do this command: in this example, I want to tar my test directory: Command: tar -pczf test.tar.gz test/ Now to untar: Command: tar xvfz test.tar.gz

Generate key on local machinessh-keygen -t rsaIt will ask you for a password but you can leave it blank.Note you could also pick -t dsa if you prefer.Ensure that the remote server has a .ssh directoryMake sure the server your connecting to has a .ssh directory in your home directory. If it doesn’t exist you… View Article