<?xml version="1.0" encoding="utf-8"?>
<rss version="2.0" xmlns:dc="http://purl.org/dc/elements/1.1/">
<channel>
<title>Snipplr - bitsculptor</title>
<link>http://snipplr.com/users/bitsculptor</link>
<description>Recent snippets posted on Snipplr.com</description>
<language>en-us</language>
<pubDate>Wed, 19 Jun 2013 17:23:13 GMT</pubDate>
<item>
<title>(JavaScript) Safe console.log usage in all browsers</title>
<link>http://snipplr.com/view/71283/safe-consolelog-usage-in-all-browsers/</link>
<description><![CDATA[ <p>IE doesn't like console.log. This fixes that.</p> ]]></description>
<pubDate>Fri, 24 May 2013 00:36:30 GMT</pubDate>
<guid>http://snipplr.com/view/71283/safe-consolelog-usage-in-all-browsers/</guid>
</item>
<item>
<title>(JavaScript) iOS orientation change zoom bug fix</title>
<link>http://snipplr.com/view/71258/ios-orientation-change-zoom-bug-fix/</link>
<description><![CDATA[ <p>This is a simple fix for the iOS zoom bug that happens when changing screen orientations.</p> ]]></description>
<pubDate>Wed, 22 May 2013 04:48:06 GMT</pubDate>
<guid>http://snipplr.com/view/71258/ios-orientation-change-zoom-bug-fix/</guid>
</item>
<item>
<title>(PHP) Custom Page Templates in a WordPress Plugin</title>
<link>http://snipplr.com/view/71257/custom-page-templates-in-a-wordpress-plugin/</link>
<description><![CDATA[ <p>This allows you to create a custom page template in your plugin. Say your plugin creates a custom post type and you want to override the standard archives page template to display your custom post type in a special way. You could achieve this by creating a custom template for your post type and using this code to display that template when appropriate.</p> ]]></description>
<pubDate>Wed, 22 May 2013 01:34:35 GMT</pubDate>
<guid>http://snipplr.com/view/71257/custom-page-templates-in-a-wordpress-plugin/</guid>
</item>
<item>
<title>(PHP) Simple iframe shortcode for wordpress</title>
<link>http://snipplr.com/view/70540/simple-iframe-shortcode-for-wordpress/</link>
<description><![CDATA[ <p>this is a simple script to take iframe parameters and build an iframe via a shortcode</p> ]]></description>
<pubDate>Tue, 26 Mar 2013 02:40:07 GMT</pubDate>
<guid>http://snipplr.com/view/70540/simple-iframe-shortcode-for-wordpress/</guid>
</item>
<item>
<title>(CSS) transparent png drop shadow</title>
<link>http://snipplr.com/view/70539/transparent-png-drop-shadow/</link>
<description><![CDATA[ <p>This allows you to set a drop shadow around the actual image in a transparent png instead of around the box.</p> ]]></description>
<pubDate>Tue, 26 Mar 2013 01:55:46 GMT</pubDate>
<guid>http://snipplr.com/view/70539/transparent-png-drop-shadow/</guid>
</item>
<item>
<title>(Bash) host email off server linux commands</title>
<link>http://snipplr.com/view/70530/host-email-off-server-linux-commands/</link>
<description><![CDATA[ <p>see source</p> ]]></description>
<pubDate>Sun, 24 Mar 2013 06:10:04 GMT</pubDate>
<guid>http://snipplr.com/view/70530/host-email-off-server-linux-commands/</guid>
</item>
<item>
<title>(PHP) Email Smime</title>
<link>http://snipplr.com/view/70529/email-smime/</link>
<description><![CDATA[ <p>Step 1: Visit https://secure.comodo.com/products/frontpage?area=SecureEmailCertificate&amp;currency=USD&amp;region=North+America&amp;country=US&amp;entryURL=http%3A//www.comodo.com/home/email-security/secure-email.php%3Futm_source%3Dfree%2Bcert%2Bemail%26utm_medium%3Dfree%2Bcert%2Bemail%26utm_campaign%3Dfree%2Bcert%2Bemail
if that link doesn't work...try this (you'll have to click "free download" to get to the form)
http://www.comodo.com/home/email-security/free-email-certificate.php

Step 2: Fill out the form.

Step 3: Write down your password.

Step 4: Check your email(the one you provided for the cert) and follow the link provided

This should have installed the certificate in your browser.

Step 5: Backup the Certificate to a file.
In firefox, click on options>advanced>encryption tab>view certificates
Select the certificate that you just installed and click backup.
You will need to provide a password for the backup installation later. The same password wouldn't be bad.
This is the file used to install the certificate onto the email client.
Write down the expiration date. The certificate will stop working when it expires.

Step 6: Export the Certificate to a useable s-mime crt.
In firefox, click on options>advanced>encryption tab>view certificates
Select the certificate that you just installed and click view.
Select the details tab and click export
Save using the default .crt file type.
This is the file used for encryption in the actual script.</p> ]]></description>
<pubDate>Sun, 24 Mar 2013 06:09:00 GMT</pubDate>
<guid>http://snipplr.com/view/70529/email-smime/</guid>
</item>
<item>
<title>(jQuery) Javascript touch events from click</title>
<link>http://snipplr.com/view/70525/javascript-touch-events-from-click/</link>
<description><![CDATA[ <p>Add the init() function to your document.ready call. This allows touch events to be handled like click events.</p> ]]></description>
<pubDate>Sat, 23 Mar 2013 05:42:58 GMT</pubDate>
<guid>http://snipplr.com/view/70525/javascript-touch-events-from-click/</guid>
</item>
<item>
<title>(JavaScript) placeholder replacement</title>
<link>http://snipplr.com/view/70522/placeholder-replacement/</link>
<description><![CDATA[ <p>easy way to use placeholders before html5</p> ]]></description>
<pubDate>Sat, 23 Mar 2013 01:33:10 GMT</pubDate>
<guid>http://snipplr.com/view/70522/placeholder-replacement/</guid>
</item>
<item>
<title>(PHP) Custom columns for wordpress custom post type</title>
<link>http://snipplr.com/view/70009/custom-columns-for-wordpress-custom-post-type/</link>
<description><![CDATA[ <p>This adds custom columns to a custom post type</p> ]]></description>
<pubDate>Wed, 20 Feb 2013 07:05:55 GMT</pubDate>
<guid>http://snipplr.com/view/70009/custom-columns-for-wordpress-custom-post-type/</guid>
</item>
<item>
<title>(JavaScript) Reset tabindex on pageload</title>
<link>http://snipplr.com/view/69773/reset-tabindex-on-pageload/</link>
<description><![CDATA[ <p>This will reset the tabindex of all input fields on a form after page load</p> ]]></description>
<pubDate>Mon, 04 Feb 2013 08:37:58 GMT</pubDate>
<guid>http://snipplr.com/view/69773/reset-tabindex-on-pageload/</guid>
</item>
<item>
<title>(PHP) Custom login page changes for Wordpress</title>
<link>http://snipplr.com/view/67783/custom-login-page-changes-for-wordpress/</link>
<description><![CDATA[ <p>This allows you to change the logo, title text, and url for the login logo in wordpress.</p> ]]></description>
<pubDate>Thu, 18 Oct 2012 02:16:44 GMT</pubDate>
<guid>http://snipplr.com/view/67783/custom-login-page-changes-for-wordpress/</guid>
</item>
<item>
<title>(PHP) Custom post type, taxonomy, and messages</title>
<link>http://snipplr.com/view/67757/custom-post-type-taxonomy-and-messages/</link>
<description><![CDATA[ <p>This gives the code for creating a custom post type with all the necessary labels and even custom message support, and it gives the code for a custom taxonomy with that post type.</p> ]]></description>
<pubDate>Tue, 16 Oct 2012 06:27:28 GMT</pubDate>
<guid>http://snipplr.com/view/67757/custom-post-type-taxonomy-and-messages/</guid>
</item>
<item>
<title>(PHP) Template Finder for Wordpress</title>
<link>http://snipplr.com/view/67719/template-finder-for-wordpress/</link>
<description><![CDATA[ <p>This will show you what template you are currently viewing (index.php, page.php)</p> ]]></description>
<pubDate>Sat, 13 Oct 2012 05:13:36 GMT</pubDate>
<guid>http://snipplr.com/view/67719/template-finder-for-wordpress/</guid>
</item>
<item>
<title>(PHP) custom post type custom update message</title>
<link>http://snipplr.com/view/67717/custom-post-type-custom-update-message/</link>
<description><![CDATA[ <p>This allows you to change the post updated message that wordpress automatically inserts.</p> ]]></description>
<pubDate>Sat, 13 Oct 2012 03:41:10 GMT</pubDate>
<guid>http://snipplr.com/view/67717/custom-post-type-custom-update-message/</guid>
</item>
<item>
<title>(PHP) Wordpress gravitar addons</title>
<link>http://snipplr.com/view/65712/wordpress-gravitar-addons/</link>
<description><![CDATA[ <p>this is an easy function to add a gravitar to wordpress.</p> ]]></description>
<pubDate>Wed, 20 Jun 2012 04:31:46 GMT</pubDate>
<guid>http://snipplr.com/view/65712/wordpress-gravitar-addons/</guid>
</item>
<item>
<title>(PHP) Wordpress get attachements for post or page</title>
<link>http://snipplr.com/view/65702/wordpress-get-attachements-for-post-or-page/</link>
<description><![CDATA[ <p>Gets a post or page's attached images and outputs them.</p> ]]></description>
<pubDate>Tue, 19 Jun 2012 13:31:03 GMT</pubDate>
<guid>http://snipplr.com/view/65702/wordpress-get-attachements-for-post-or-page/</guid>
</item>
<item>
<title>(PHP) Add custom styles to visual editor Wordpress</title>
<link>http://snipplr.com/view/65700/add-custom-styles-to-visual-editor-wordpress/</link>
<description><![CDATA[ <p>A little function to add custom styles to the tinymce editor in wordpress.</p> ]]></description>
<pubDate>Tue, 19 Jun 2012 08:18:05 GMT</pubDate>
<guid>http://snipplr.com/view/65700/add-custom-styles-to-visual-editor-wordpress/</guid>
</item>
<item>
<title>(PHP) Pagination using twitter bootstrap styles</title>
<link>http://snipplr.com/view/63258/pagination-using-twitter-bootstrap-styles/</link>
<description><![CDATA[ <p>this can be adapted by simply changing the urls. starts with an array for incoming data.</p> ]]></description>
<pubDate>Sat, 11 Feb 2012 06:20:15 GMT</pubDate>
<guid>http://snipplr.com/view/63258/pagination-using-twitter-bootstrap-styles/</guid>
</item>
<item>
<title>(PHP) Sort multidimensional array</title>
<link>http://snipplr.com/view/63256/sort-multidimensional-array/</link>
<description><![CDATA[ <p>This sorts a multi-dimensional array by one of the values in the array. Sorts in Desc order (most recent date first).</p> ]]></description>
<pubDate>Sat, 11 Feb 2012 06:17:10 GMT</pubDate>
<guid>http://snipplr.com/view/63256/sort-multidimensional-array/</guid>
</item>
</channel>
</rss>