suibhne


Member since 07/06/2009

Name: Andy Dunn

suibhne

Location: County Leitrim, Ireland

Website: http://www.infinitetouch.ie

I\'m an Irish iPhone developer, currently migrating my skills from the web to Apples most popular mobile computing device. Based in County Leitrim, Ireland and working from home as a freelance developer in PHP, Perl, and Objective-C.

20 snippets

375 profile views

1 Comment(s) Posted

View their favorites

Profile

Achievement

first submission:submitting first snipplet

suibhne's Recent Snippets



« Prev 1 Next »
Code that will convert a simple Hex code value (from HTML colors) to an actual useable NSColor.
0 142 posted 8 years ago by suibhne
Setting the background image of a grouped UITableView.
0 57 posted 9 years ago by suibhne
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.
1 129 posted 9 years ago by suibhne
This adds a UITextField to a table view so that you can enter a value with the keyboard.
0 80 posted 9 years ago by suibhne
This is a simple SQL statement which will update all the posts within a Wordpress installation changing the domain which files were uploaded to. Very handy if migrating a site from a test to live environment and all embedded images are referenced...
0 118 posted 9 years ago by suibhne
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 th...
0 63 posted 9 years ago by suibhne
Something simple to add all levels of Wordpress menus to a plugin in the admin area.
1 58 posted 9 years ago by suibhne
Just a simple loop around an NSMutableArray, but also removing an item if need be.
1 90 posted 10 years ago by suibhne
How to get the actual phone number of the device.
4 115 posted 10 years ago by suibhne
This adds a spinning activity indicator to the top navigation bar of a navigation controller.
0 89 posted 10 years ago by suibhne
Just a simple piece of code to store an uploaded file in PHP.
1 89 posted 10 years ago by suibhne
Adds a fine border to a UIImage.
4 162 posted 10 years ago by suibhne
Some code that will load an image from a remote URL, and then resize it.
6 172 posted 10 years ago by suibhne
Function which will slugify a string for use in URLs, taking out any spaces and other non-URL useful characters.
0 189 posted 10 years ago by suibhne
Populate a UIImageView with an image taken from a URL.
3 117 posted 10 years ago by suibhne
Just a simple loop around a mutable dictionary object which I always seem to forget.
1 93 posted 10 years ago by suibhne
Just replace a character within a string (e.g. carriage returns).
1 97 posted 11 years ago by suibhne
Just simple logging to a text file for so many reasons.
1 413 posted 11 years ago by suibhne
Just to list perl environment variables.
1 63 posted 11 years ago by suibhne
Just something simple to set and get the value of an form input field.
0 67 posted 11 years ago by suibhne
« Prev 1 Next »