AVPickerDimView is a simple class combination of UIView, UIActionSheet, and UIPickerView.
Installation
There are 3 ways to download and import the files to your project:
Download:
Using git subtree (recommended)
git subtree add –prefix=AVPickerDimView –squash git@github.com:anjerodesu/AVPickerDimView.git master
Using git submodule
git submodule add git@github.com:anjerodesu/AVPickerDimView.git AVPickerDimView
Download as zip
Download the file: AVPickerDimView Project Page on GitHub
Unzip the folder and put it inside your project with the .xcodeproj file
After downloading and importing the files to your project folder, your next step is …
NSString+HTMLHelper is a collection of methods that helps me deal with HTML tags and URLs.
NSString+HTMLHelper Download Link
GitHub
Sample Usage:
Please look at the demo project. It has sample codes on how to use the category.
Methods:
// Class Methods
+ (NSString *)mimeTypeFromURL:(NSURL *)pathForResource;
+ (NSString *)mimeTypeFromResource:(NSString *)pathForResource ofType:(NSString *)type;
// Instance Methods
- (NSString *)URLEncodeString;
- (NSString *)URLDecodeString;
- (NSString *)replaceTagWithLineBreak;
- (NSString *)replaceTagWithWhiteSpace;
- (NSString *)stripHTMLTags;
Install:
Just copy the NSString+HTMLHelper Category or NSString+HTMLHelper.h and NSString+HTMLHelper.m files to your project and #import the header file NSString+HTMLHelper.h

ImageHelper is a simple PHP class that save, resize and/or crop photos. You can download the script in the links listed below.
ImageHelper download link
Gist
Sample Usage :
$image = new ImageHelper();
$imageThumb = ‘../images/thumb/’ . $imageID . ‘.jpg’;
$image->saveImage( $url , $imageURL );
$image->resizeCrop( $imageThumb , $imageThumb , ’1:1′ , ’75x’ );
$imagePreview = ‘../images/preview/’. $imageID . ‘.jpg’;
$image->saveImage( $url , $imagePreview );
$image->resizeCrop( $imagePreview , $imagePreview , null , ’250×150′ );
Functions
saveImage( $url , $serverURL ) saves an image from a URL. The function uses cURL to copy an image from the URL then save it to the server’s folder.
$url – URL to get the image
$serverURL – server URL to save the image
resizeCrop( $loadPath, $savePath , $crop , $size ) resize and/or crop the image from a URL. The function uses PHP’s GD and image functions using the $crop and $size parameter.
$loadPath – path where the image is on the server
$savePath – path where the image should be saved on the server
$crop – crop ratio
$size – image size
UPPEValidator is a simple PHP class that will help validate email addresses, URLs, passwords, and phone numbers. You can download the script in the link listed below.
UPPEValidator Download Link
Gist
Sample Usage :
$validator = new UPPEValidator();
$string = ’09-088-909-8890′; // You can also use dots ( . ) instead of hyphens ( – )
if( $validator->is_phone( $string ) === true )
{
echo ‘success’;
}
else
{
echo ‘failed’;
}
Functions :
is_email()
is_url_string()
is_password()
is_phone()
DBClass is a simple PHP class that will help ease database connection usage. You can download the script in the links listed below.
DBClass Download links
Gist
Sample Usage :
$dbClass = new DBClass();
$result = $dbClass->query( $dbQuery );
while ( $content = $dbClass->fetchAssoc( $result ) )
{
echo $content['description'];
}
Functions :
query()
numRows()
fetchAssoc()
fetchArray()
freeResult()
close()
sql_error()