<?xml version="1.0" encoding="utf-8"?>
<rss version="2.0" xmlns:dc="http://purl.org/dc/elements/1.1/">
<channel>
<title>Snipplr</title>
<link>http://snipplr.com/favorites/zingo</link>
<description>Recent snippets posted on Snipplr.com</description>
<language>en-us</language>
<pubDate>Tue, 07 Oct 2008 18:17:54 GMT</pubDate>
<item>
<title>(CSS) CSS Diagnostics - Highlight Deprecated HTML With CSS &amp;amp; More... - zingo</title>
<link>http://snipplr.com/view/6770/css-diagnostics--highlight-deprecated-html-with-css--more/</link>
<description><![CDATA[ <p>CSS Diagnostics allows web designers and developers to highlight invalid HTML using CSS selectors. Say goodbye to the font tag by highlighting it in a large obnoxious border. It also has the ability to highlight 404 pages, old CSS classes and old JavaScript function calls.</p> ]]></description>
<pubDate>Wed, 18 Jun 2008 21:52:24 GMT</pubDate>
<guid>http://snipplr.com/view/6770/css-diagnostics--highlight-deprecated-html-with-css--more/</guid>
</item>
<item>
<title>(Ruby) Get OSX Leopard Battery Stats For Your Laptop - zingo</title>
<link>http://snipplr.com/view/5758/get-osx-leopard-battery-stats-for-your-laptop/</link>
<description><![CDATA[ <p></p> ]]></description>
<pubDate>Wed, 09 Apr 2008 15:08:02 GMT</pubDate>
<guid>http://snipplr.com/view/5758/get-osx-leopard-battery-stats-for-your-laptop/</guid>
</item>
<item>
<title>(Bash) gcc defines - zingo</title>
<link>http://snipplr.com/view/5697/gcc-defines/</link>
<description><![CDATA[ <p>List all defines of gcc</p> ]]></description>
<pubDate>Fri, 04 Apr 2008 08:17:32 GMT</pubDate>
<guid>http://snipplr.com/view/5697/gcc-defines/</guid>
</item>
<item>
<title>(Other) ports bulk install command for OSX - zingo</title>
<link>http://snipplr.com/view/5581/ports-bulk-install-command-for-osx/</link>
<description><![CDATA[ <p></p> ]]></description>
<pubDate>Thu, 27 Mar 2008 20:33:10 GMT</pubDate>
<guid>http://snipplr.com/view/5581/ports-bulk-install-command-for-osx/</guid>
</item>
<item>
<title>(PHP) Programming Notes - zingo</title>
<link>http://snipplr.com/view/4209/programming-notes/</link>
<description><![CDATA[ <p>Here are some commonly-used notes given in PHP sources, especially in multi-developer projects. They are used to note various things, such as things to improve and bugs at that line.</p> ]]></description>
<pubDate>Wed, 28 Nov 2007 19:19:15 GMT</pubDate>
<guid>http://snipplr.com/view/4209/programming-notes/</guid>
</item>
<item>
<title>(PHP) Function Template - zingo</title>
<link>http://snipplr.com/view/4206/function-template/</link>
<description><![CDATA[ <p>Add this template before functions in a library, in order to give a good description of what it is and what it does. Replace all in < and > with your values.</p> ]]></description>
<pubDate>Wed, 28 Nov 2007 09:33:03 GMT</pubDate>
<guid>http://snipplr.com/view/4206/function-template/</guid>
</item>
<item>
<title>(Other) Vim modeline - zingo</title>
<link>http://snipplr.com/view/3406/vim-modeline/</link>
<description><![CDATA[ <p></p> ]]></description>
<pubDate>Fri, 27 Jul 2007 08:29:30 GMT</pubDate>
<guid>http://snipplr.com/view/3406/vim-modeline/</guid>
</item>
<item>
<title>(PHP) Dynamic PHP Menu - zingo</title>
<link>http://snipplr.com/view/3349/dynamic-php-menu/</link>
<description><![CDATA[ <p>This menu reads a directory and spits out the contents as an expanding menu.  Great for a dynamic site with quick changing content.</p> ]]></description>
<pubDate>Mon, 23 Jul 2007 11:25:28 GMT</pubDate>
<guid>http://snipplr.com/view/3349/dynamic-php-menu/</guid>
</item>
<item>
<title>(PHP) php code exution time - zingo</title>
<link>http://snipplr.com/view/2597/php-code-exution-time/</link>
<description><![CDATA[ <p>This code is based on the ASP script posted by Lio. It will determine the time taken for a php script to execute correct to 0.000000000000001 seconds.</p> ]]></description>
<pubDate>Fri, 04 May 2007 04:15:05 GMT</pubDate>
<guid>http://snipplr.com/view/2597/php-code-exution-time/</guid>
</item>
<item>
<title>(SQL) Created Date &amp;amp; Last Modified Date Triggers - zingo</title>
<link>http://snipplr.com/view/2595/created-date--last-modified-date-triggers/</link>
<description><![CDATA[ <p>First, create two new fields in your table "Created", and "LastModified" as "datetime" fields, being sure to allow nulls.  Then run this code as a query to create triggers that will update the appropriate field when a record is modified, or a record is inserted.  This proves very useful when you're dealing with a huge database.

In the code below replace [TableName] with your actual table name, and replace [UniqueID] with a unique ID field name in your table.</p> ]]></description>
<pubDate>Thu, 03 May 2007 10:52:06 GMT</pubDate>
<guid>http://snipplr.com/view/2595/created-date--last-modified-date-triggers/</guid>
</item>
<item>
<title>(CSS) A CSS-based Form Template - zingo</title>
<link>http://snipplr.com/view/1951/a-cssbased-form-template/</link>
<description><![CDATA[ <p></p> ]]></description>
<pubDate>Tue, 09 Jan 2007 02:38:30 GMT</pubDate>
<guid>http://snipplr.com/view/1951/a-cssbased-form-template/</guid>
</item>
<item>
<title>(SQL) Remove all tables from a database - zingo</title>
<link>http://snipplr.com/view/1949/remove-all-tables-from-a-database/</link>
<description><![CDATA[ <p></p> ]]></description>
<pubDate>Mon, 08 Jan 2007 11:50:57 GMT</pubDate>
<guid>http://snipplr.com/view/1949/remove-all-tables-from-a-database/</guid>
</item>
<item>
<title>(Other) RegEx for parsing log files - zingo</title>
<link>http://snipplr.com/view/1373/regex-for-parsing-log-files/</link>
<description><![CDATA[ <p></p> ]]></description>
<pubDate>Tue, 10 Oct 2006 19:37:57 GMT</pubDate>
<guid>http://snipplr.com/view/1373/regex-for-parsing-log-files/</guid>
</item>
<item>
<title>(CSS) Accessible CSS Forms: Using CSS to Create a Two-Column Layout - zingo</title>
<link>http://snipplr.com/view/990/accessible-css-forms-using-css-to-create-a-twocolumn-layout/</link>
<description><![CDATA[ <p>In a recent study of web design patterns, Dr. Melody Ivory found that accessibility is the most underutilized aspect of good web page design (Ivory 2005). In fact websites have become more complex and less accessible over time (Hackett 2003). Less than 20% of the Fortune 100 have websites that are fully accessible (Loiacono 2004). Accessible forms are one way to combat this disturbing trend. With CSS layout, you can create two-column forms without the use of tables to save space and time. This article shows how to create a simple two-column contact form using CSS to style structural elements that is both fast and accessible.

A survey of CSS-based forms revealed many variations on a theme (see Vandersluis 2004). Most use block-level floats and margins to position form elements on the page. However, in my testing I found IE5.x Mac to have rendering problems with many of these forms. After numerous iterations, I arrived at a solution that worked for IE5.x Mac as well as Safari 1.07 Mac, Firefox 1.07 Win/Mac, IE 6 Win, Camino, and Opera. Our goal here is to create a simple accessible contact form without the use of tables (see Figure 1).</p> ]]></description>
<pubDate>Thu, 31 Aug 2006 13:20:42 GMT</pubDate>
<guid>http://snipplr.com/view/990/accessible-css-forms-using-css-to-create-a-twocolumn-layout/</guid>
</item>
<item>
<title>(SQL) Command line instructions to create a database in MySQL - zingo</title>
<link>http://snipplr.com/view/875/command-line-instructions-to-create-a-database-in-mysql/</link>
<description><![CDATA[ <p>$ mysql -u ''adminusername'' -p</p> ]]></description>
<pubDate>Mon, 21 Aug 2006 01:09:40 GMT</pubDate>
<guid>http://snipplr.com/view/875/command-line-instructions-to-create-a-database-in-mysql/</guid>
</item>
<item>
<title>(CSS) Handy CSS Debug Snippet - zingo</title>
<link>http://snipplr.com/view/746/handy-css-debug-snippet/</link>
<description><![CDATA[ <p>Great little debuging snippet found while browsing. The code adds different coloured borders to the assets depending on its level. Leave commented out if not needed.</p> ]]></description>
<pubDate>Mon, 07 Aug 2006 13:30:38 GMT</pubDate>
<guid>http://snipplr.com/view/746/handy-css-debug-snippet/</guid>
</item>
<item>
<title>(SVN) Subversion quickstart - zingo</title>
<link>http://snipplr.com/view/631/subversion-quickstart/</link>
<description><![CDATA[ <p></p> ]]></description>
<pubDate>Tue, 01 Aug 2006 23:56:07 GMT</pubDate>
<guid>http://snipplr.com/view/631/subversion-quickstart/</guid>
</item>
<item>
<title>(XHTML) XHTML 1.1 web standards template - zingo</title>
<link>http://snipplr.com/view/203/xhtml-11-web-standards-template/</link>
<description><![CDATA[ <p>This is a generic template for an XHMTL 1.1 doc that I start with at the beginning of every project.

Then i setup the directories to match. I use @import for CSS, then a seperate CSS file for screen-specific, and then one for print, …yes, then one for IE.
I have the basic DIV structure setup, too.

For a link to the inspiration of this template and further explanation (better), see this wonderful article:
http://particletree.com/features/quick-start-your-design-with-xhtml-templates/
Hope it helps!</p> ]]></description>
<pubDate>Sun, 02 Jul 2006 19:24:11 GMT</pubDate>
<guid>http://snipplr.com/view/203/xhtml-11-web-standards-template/</guid>
</item>
<item>
<title>(HTML) XHTML 1.1 Strict Starter Page - zingo</title>
<link>http://snipplr.com/view/102/xhtml-11-strict-starter-page/</link>
<description><![CDATA[ <p>This is the general page template that I usually start with. It has all of the essentials (along with a favicon link - not essential).</p> ]]></description>
<pubDate>Thu, 29 Jun 2006 19:28:31 GMT</pubDate>
<guid>http://snipplr.com/view/102/xhtml-11-strict-starter-page/</guid>
</item>
<item>
<title>(Objective C) Pedir todas las entidades de cierto tipo - zingo</title>
<link>http://snipplr.com/view/97/pedir-todas-las-entidades-de-cierto-tipo/</link>
<description><![CDATA[ <p></p> ]]></description>
<pubDate>Wed, 31 Dec 1969 19:00:00 GMT</pubDate>
<guid>http://snipplr.com/view/97/pedir-todas-las-entidades-de-cierto-tipo/</guid>
</item>
</channel>
</rss>