-
Delete Emails With Gmail Over Exchange
Posted on January 27th, 2012 | No CommentsBy default in Gmail accounts setup through Exchange on the iPhone, any email deleted through the iOS Mail app will be archived in the “All Mail” folder of the account.... -
JSON Interchange Using AJAX and Java Servlets
Posted on January 20th, 2012 | No CommentsThe following is a simple example of how to implement a JSON based data interchange using an AJAX client-side request and a Java Servlet server-side response. The expected outcome of... -
Saving Siri Relationships With Gmail Over Exchange
Posted on January 16th, 2012 | No CommentsIf you have Gmail set up as an Exchange account on your iPhone for push email and contacts, then you may have noticed that only the spouse, assistant, and manager... -
Remove or Hide SharePoint List’s Menu Options
Posted on January 11th, 2012 | No CommentsThe following jQuery based JavaScript function can be used to remove the “Edit in Datasheet” option from a SharePoint list. Add a Content Editor Web Part to the list’s standard... -
Automatically E-mail MySQL Database Backup
Posted on July 3rd, 2011 | No CommentsIf you are in a shared hosting environment where you are responsible for your own database backups, this is a convenient way to have the server generate a backup file... -
Replace Line Feeds With Commas Using Javascript
Posted on June 18th, 2011 | No CommentsThe following JavaScript function can be used for replacing a line feed and carriage return with a comma. I find this particularly useful when formatting a data column from Excel... -
Select a Dropdown List Item Using JavaScript
Posted on June 4th, 2011 | No CommentsThe following JavaScript functions are useful for selecting items in HTML dropdown lists. These can be used especially if you have server-side code returning values that should then be visually... -
Filter Emails by Domain in Gmail
Posted on May 27th, 2011 | No CommentsI wanted to set up a filter in Gmail to label all email from particular companies as “advertisements.” Most of these types of emails have different local-parts (the part before... -
Google Calendar Sync With Multiple Calendars
Posted on May 21st, 2011 | No CommentsI was looking for a way to have multiple calendars synchronized with my iPhone so that I could have access to all of my meetings and appointments. This included several... -
Blocking Referrer Links Through .htaccess
Posted on May 14th, 2011 | 3 CommentsIn recent months, I’ve noticed a lot of incoming links from undesirable sites. I suppose any traffic is good traffic, but I would prefer to not have my content found... -
Resolve jQuery and MooTools Conflict
Posted on January 24th, 2010 | No CommentsjQuery and MooTools are great JavaScript libraries for introducing dynamic interactions to your web site or application. They both include capabilities for manipulating CSS and adding various effects and animations... -
Disable All Links Within DIV
Posted on December 14th, 2009 | 4 CommentsThis JavaScript function will disable all links within the specified DIV by setting the link object to ‘disabled’ as well as removing the ‘onclick’ and ‘href’ attributes. This is a... -
Using NextGEN Gallery and Auto Thickbox
Posted on June 14th, 2009 | 5 CommentsAfter many attempts, I finally have the NextGEN Gallery plugin working together with the Auto Thickbox plugin. I use NextGEN Gallery for the Photo Gallery pages on this site because... -
Round Double To Nearest Hundredth
Posted on March 20th, 2009 | 1 CommentHere are a few ways to round a double in Java to the nearest integer, tenths, hundredths, or thousandths decimal place. double x = 0.0d; double y = 0.0d; ... -
Calculate Quarter Number In Excel
Posted on February 17th, 2009 | No CommentsTo calculate the quarter number for a given date (A1) in a regular calendar year, enter the following formula: =ROUNDUP(MONTH(A1)/3,0) -
Keypress Generator
Posted on January 5th, 2009 | No CommentsHere is a quick and dirty way to simulate a keypress using the Robot class in Java. If you provide a string to the constructor and call the type() method,... -
Permutation Generator
Posted on December 19th, 2008 | No CommentsI wanted to increase my score on the Word Challenge game on Facebook so I wrote the following recursive function to find all permutations of a character string. For example,...






