Recently the Komodo (Edit) developers added a new feature to Komodo 5.1, that feature is abbreviations. The abbreviations feature allow you to quickly replace certain keywords with snippets of code by just pressing CTRL + T (or your key of preference). This can be extremely useful. I decided to create an abbreviation library for CodeIgniter.
Let’s say I type cicontroller and press CTRL + T, that will be replaced with:
class MyController extends Controller
public function __construct()
public function index()
MyController is highlighted by default for easy replacing.
Here is my current library. I’ll update it as I add more items.
I did this for a co-worker. It’s a small script that scans a given directory for images and displays the html resized version as a thumbnail with a link to the full image. It’s not fully done though. I didn’t finish adding support for pages since it was something simple and did it while I had some free time at work. Maybe it may be of some use to someone.
Continue reading Simple Flat File Image Gallery
At work I get files sometimes with hexadecimal entities but the problem is that we use numeric entities. I decided to write a simple script that will search the file for hex entities and convert them to numeric one. This is intended to be used with Komodo Edit or via the command line.
Continue reading Hex-to-Numeric Entities Converter