<?xml version="1.0" encoding="UTF-8"?>
<rss version="2.0">
  <channel>
    <title>Snipplr</title>
    <description>Recent snippets posted on Snipplr.com</description>
    <link>https://snipplr.com/</link>
    <lastBuildDate>Wed, 10 Jun 2026 03:40:50 +0000</lastBuildDate>
    <item>
      <title>(Objective C) HTML Hex Color to NSColor - suibhne</title>
      <link>https://snipplr.com/view/59750/html-hex-color-to-nscolor</link>
      <description>&lt;p&gt;Code that will convert a simple Hex code value (from HTML colors) to an actual useable NSColor.&lt;/p&gt;</description>
      <pubDate>Fri, 14 Oct 2011 03:47:59 UTC</pubDate>
      <guid>https://snipplr.com/view/59750/html-hex-color-to-nscolor</guid>
    </item>
    <item>
      <title>(Objective C) UITableView Background Image - suibhne</title>
      <link>https://snipplr.com/view/47920/uitableview-background-image</link>
      <description>&lt;p&gt;Setting the background image of a grouped UITableView.&lt;/p&gt;</description>
      <pubDate>Thu, 27 Jan 2011 01:08:32 UTC</pubDate>
      <guid>https://snipplr.com/view/47920/uitableview-background-image</guid>
    </item>
    <item>
      <title>(Objective C) Set Keyboard Appearance of UISearchBar - suibhne</title>
      <link>https://snipplr.com/view/47793/set-keyboard-appearance-of-uisearchbar</link>
      <description>&lt;p&gt;This will set the keyboard appearance of the UISearchBar text field to be black and see through.&lt;/p&gt;</description>
      <pubDate>Mon, 24 Jan 2011 21:13:12 UTC</pubDate>
      <guid>https://snipplr.com/view/47793/set-keyboard-appearance-of-uisearchbar</guid>
    </item>
    <item>
      <title>(Objective C) Resize UILabel to Fit Font Size and Text - suibhne</title>
      <link>https://snipplr.com/view/46858/resize-uilabel-to-fit-font-size-and-text</link>
      <description>&lt;p&gt;This code will resize a UILabel so that the label is as small as it can be in both width and height, based on the text in it and the font used.&lt;/p&gt;</description>
      <pubDate>Mon, 10 Jan 2011 20:10:00 UTC</pubDate>
      <guid>https://snipplr.com/view/46858/resize-uilabel-to-fit-font-size-and-text</guid>
    </item>
    <item>
      <title>(Objective C) UITextField added to a UITableViewCell - suibhne</title>
      <link>https://snipplr.com/view/43894/uitextfield-added-to-a-uitableviewcell</link>
      <description>&lt;p&gt;This adds a UITextField to a table view so that you can enter a value with the keyboard.&lt;/p&gt;</description>
      <pubDate>Wed, 10 Nov 2010 19:49:30 UTC</pubDate>
      <guid>https://snipplr.com/view/43894/uitextfield-added-to-a-uitableviewcell</guid>
    </item>
    <item>
      <title>(SQL) Update File Upload Domain in Wordpress Posts - suibhne</title>
      <link>https://snipplr.com/view/43041/update-file-upload-domain-in-wordpress-posts</link>
      <description>&lt;p&gt;This is a simple SQL statement which will update all the posts within a Wordpress installation changing the domain which files were uploaded to. &#13;
&#13;
Very handy if migrating a site from a test to live environment and all embedded images are referenced using the test url.&lt;/p&gt;</description>
      <pubDate>Wed, 27 Oct 2010 21:11:43 UTC</pubDate>
      <guid>https://snipplr.com/view/43041/update-file-upload-domain-in-wordpress-posts</guid>
    </item>
    <item>
      <title>(PHP) WP E-Commerce Fix for Unique Product URLs - suibhne</title>
      <link>https://snipplr.com/view/42770/wp-ecommerce-fix-for-unique-product-urls</link>
      <description>&lt;p&gt;This snippet of code added to line 1404 of wpsc_query.php finds a single product by the product url AND category its in. The default is to only look up a product by its url only, not including the category, meaning you can't have a product in more than one category with the same name.&lt;/p&gt;</description>
      <pubDate>Fri, 22 Oct 2010 21:44:37 UTC</pubDate>
      <guid>https://snipplr.com/view/42770/wp-ecommerce-fix-for-unique-product-urls</guid>
    </item>
    <item>
      <title>(PHP) Wordpress Administration Menus - suibhne</title>
      <link>https://snipplr.com/view/39516/wordpress-administration-menus</link>
      <description>&lt;p&gt;Something simple to add all levels of Wordpress menus to a plugin in the admin area.&lt;/p&gt;</description>
      <pubDate>Wed, 25 Aug 2010 18:59:05 UTC</pubDate>
      <guid>https://snipplr.com/view/39516/wordpress-administration-menus</guid>
    </item>
    <item>
      <title>(Objective C) NSMutableArray Loop - suibhne</title>
      <link>https://snipplr.com/view/35719/nsmutablearray-loop</link>
      <description>&lt;p&gt;Just a simple loop around an NSMutableArray, but also removing an item if need be.&lt;/p&gt;</description>
      <pubDate>Sun, 13 Jun 2010 05:56:52 UTC</pubDate>
      <guid>https://snipplr.com/view/35719/nsmutablearray-loop</guid>
    </item>
    <item>
      <title>(Objective C) Retrieving iPhones Phone Number - suibhne</title>
      <link>https://snipplr.com/view/24206/retrieving-iphones-phone-number</link>
      <description>&lt;p&gt;How to get the actual phone number of the device.&lt;/p&gt;</description>
      <pubDate>Thu, 03 Dec 2009 09:36:04 UTC</pubDate>
      <guid>https://snipplr.com/view/24206/retrieving-iphones-phone-number</guid>
    </item>
    <item>
      <title>(Objective C) Add Activity Indicator to Navigation Controller Bar - suibhne</title>
      <link>https://snipplr.com/view/24157/add-activity-indicator-to-navigation-controller-bar</link>
      <description>&lt;p&gt;This adds a spinning activity indicator to the top navigation bar of a navigation controller.&lt;/p&gt;</description>
      <pubDate>Wed, 02 Dec 2009 18:10:43 UTC</pubDate>
      <guid>https://snipplr.com/view/24157/add-activity-indicator-to-navigation-controller-bar</guid>
    </item>
    <item>
      <title>(PHP) PHP File Upload - suibhne</title>
      <link>https://snipplr.com/view/23875/php-file-upload</link>
      <description>&lt;p&gt;Just a simple piece of code to store an uploaded file in PHP.&lt;/p&gt;</description>
      <pubDate>Sat, 28 Nov 2009 13:16:16 UTC</pubDate>
      <guid>https://snipplr.com/view/23875/php-file-upload</guid>
    </item>
    <item>
      <title>(Objective C) Add Image Border to UIImage - suibhne</title>
      <link>https://snipplr.com/view/23026/add-image-border-to-uiimage</link>
      <description>&lt;p&gt;Adds a fine border to a UIImage.&lt;/p&gt;</description>
      <pubDate>Thu, 12 Nov 2009 20:03:04 UTC</pubDate>
      <guid>https://snipplr.com/view/23026/add-image-border-to-uiimage</guid>
    </item>
    <item>
      <title>(Objective C) Load Image from URL and then Resize - suibhne</title>
      <link>https://snipplr.com/view/23024/load-image-from-url-and-then-resize</link>
      <description>&lt;p&gt;Some code that will load an image from a remote URL, and then resize it.&lt;/p&gt;</description>
      <pubDate>Thu, 12 Nov 2009 18:50:18 UTC</pubDate>
      <guid>https://snipplr.com/view/23024/load-image-from-url-and-then-resize</guid>
    </item>
    <item>
      <title>(PHP) Slugify a String in PHP - suibhne</title>
      <link>https://snipplr.com/view/22741/slugify-a-string-in-php</link>
      <description>&lt;p&gt;Function which will slugify a string for use in URLs, taking out any spaces and other non-URL useful characters.&lt;/p&gt;</description>
      <pubDate>Sun, 08 Nov 2009 12:06:34 UTC</pubDate>
      <guid>https://snipplr.com/view/22741/slugify-a-string-in-php</guid>
    </item>
    <item>
      <title>(Objective C) Populate UIImageView from URL - suibhne</title>
      <link>https://snipplr.com/view/22712/populate-uiimageview-from-url</link>
      <description>&lt;p&gt;Populate a UIImageView with an image taken from a URL.&lt;/p&gt;</description>
      <pubDate>Sat, 07 Nov 2009 19:57:08 UTC</pubDate>
      <guid>https://snipplr.com/view/22712/populate-uiimageview-from-url</guid>
    </item>
    <item>
      <title>(Objective C) NSMutableDictionary Loop - suibhne</title>
      <link>https://snipplr.com/view/22321/nsmutabledictionary-loop</link>
      <description>&lt;p&gt;Just a simple loop around a mutable dictionary object which I always seem to forget.&lt;/p&gt;</description>
      <pubDate>Mon, 02 Nov 2009 08:28:14 UTC</pubDate>
      <guid>https://snipplr.com/view/22321/nsmutabledictionary-loop</guid>
    </item>
    <item>
      <title>(Objective C) Character Replace In String - suibhne</title>
      <link>https://snipplr.com/view/17805/character-replace-in-string</link>
      <description>&lt;p&gt;Just replace a character within a string (e.g. carriage returns).&lt;/p&gt;</description>
      <pubDate>Sun, 02 Aug 2009 15:46:38 UTC</pubDate>
      <guid>https://snipplr.com/view/17805/character-replace-in-string</guid>
    </item>
    <item>
      <title>(PHP) PHP Log to Text File - suibhne</title>
      <link>https://snipplr.com/view/17732/php-log-to-text-file</link>
      <description>&lt;p&gt;Just simple logging to a text file for so many reasons.&lt;/p&gt;</description>
      <pubDate>Fri, 31 Jul 2009 11:24:55 UTC</pubDate>
      <guid>https://snipplr.com/view/17732/php-log-to-text-file</guid>
    </item>
    <item>
      <title>(Perl) Perl Environment Variable Listing - suibhne</title>
      <link>https://snipplr.com/view/17640/perl-environment-variable-listing</link>
      <description>&lt;p&gt;Just to list perl environment variables.&lt;/p&gt;</description>
      <pubDate>Wed, 29 Jul 2009 16:37:41 UTC</pubDate>
      <guid>https://snipplr.com/view/17640/perl-environment-variable-listing</guid>
    </item>
    <item>
      <title>(jQuery) Set Form Input Value - suibhne</title>
      <link>https://snipplr.com/view/16703/set-form-input-value</link>
      <description>&lt;p&gt;Just something simple to set and get the value of an form input field.&lt;/p&gt;</description>
      <pubDate>Mon, 06 Jul 2009 18:01:58 UTC</pubDate>
      <guid>https://snipplr.com/view/16703/set-form-input-value</guid>
    </item>
  </channel>
</rss>
