Prowl
- Comments:
- here.
Prowl is awesome. Growl notifications can be forwarded to your iPhone.
But you can get notifications from anywhere. A Perl script is included, but that didn’t work on my server. So I wrote one in Ruby:
|
|
Prowl is awesome. Growl notifications can be forwarded to your iPhone.
But you can get notifications from anywhere. A Perl script is included, but that didn’t work on my server. So I wrote one in Ruby:
|
|
Started up a new iPhone app today. The logo at the bottom of the screen looked a bit familiar:

Here is the logo from the Adelaide City Council (which has been in use for about 7 years):

Wonder which came first…
If I overlay one one the other, we see they are not identical:
]
For some time, the git repository I am using to track changes for my Django-Management TextMate bundle was not working correctly in Redmine. I was able to connect it up using the settings, but was getting errors about the files not being found.
It turns out that git was not in my path. Putting a link from /usr/local/bin/git to /usr/bin/git fixed that all up.
From the TextMate manual:
These functions only work when the initial output option is not set as “Show as HTML”. The list of functions is as follows:
- exit_discard
- exit_replace_text
- exit_replace_document
- exit_insert_text
- exit_insert_snippet
- exit_show_html
- exit_show_tool_tip
- exit_create_new_document
This is all well and good, but what about when you are in another language?
Simple. Just ensure your exit code matches. The values start at 200, for exit_discard, and 205 is exit_show_html.
This is probably not the best way to do it, as these may change in the future. But, I couldn’t think of another way, at least not offline.
Another good example of a PHP “quirk” is the way PHP handles constants. It was one of the major factors affecting performance. Just removing all the constants allowed us to improve the performance by almost 2x (we left one constant to be precise).
From The Need for Speed.
That’s right - PHP is up to 2X faster if you don’t use constants. You know, that means hardcode values in…
|
|
I’ve cloned and updated the included Prolog bundle to use my Run script.
This can be found at GitHub: SWI-Prolog.tmbundle.
In the continuing effort to do ‘productive’ tasks, but not actually the project I am supposed to be working on, I present a TextMate command to run the current prolog file, with nice HTML output, and input via a dialog box.
|
|
It would be cool to be able to run my Django tests from within TextMate.
Update: this version will run just the tests from the active file, if there are any. Otherwise, it runs all of the tests in the whole project.
Here is a Command to do just that:
|
|
I seem to recall my internet going down, and then coming back up, at around the same time every night.
Tonight it flaked at 8:21pm.