Compiled Chronicles

An archive of software development blog by Angelo Villegas

Month: January 2013

  • iOS: NSString+HTMLHelper

    NSString+HTMLHelper is a collection of methods that helps me deal with HTML tags and URLs. NSString+HTMLHelper Download Link Sample Usage: Please look at the demo project. It has sample codes on how to use the category. Methods: Install: Just copy the NSString+HTMLHelper Category or NSString+HTMLHelper.h and NSString+HTMLHelper.m files to your project and #import the header…

  • PHP: ImageHelper

    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 Sample Usage : 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…

  • Shell: Reindexing Spotlight on your Mac

    Spotlight indexing can slow your machine if you have low memory. Doing it repeatedly may stop your machine from working. This problem is a common occurrence with Mac machines. As I am a Mac user, I wrote a simple shell script that will help your Spotlight to stop reindexing your installed drive(s). This Shell script…