Archives for the 'Mac Programming' Category
Terminal.app ANSI Colors
Sunday, October 5th, 2008
Since Leopard, I did not have a good application able to change ANSI colours in Terminal.app.
Even though it does not seem a particularly pressing issue, the defaults are quite bad: the standard blue is quite too dark to be used on a dark background, so you have to use a light one. Unfortunately enough, some [...]
iPython and the less pager
Sunday, October 5th, 2008
When I develop software in Python, one of the most valuable tools is iPython. Among the first functions one learns to love, there are the ? and ?? commands.
Putting a ? after an identifier, gets help for that identifier, putting ?? shows the source. Lets use a couple of examples.
It’s easy to see how this [...]
CoreData and RAD tools under OS X
Monday, September 29th, 2008
I’ve never been a RAD tool enthusiast. However, I recognize they have their utility. Especially when the “rapid” part comes from a well done library and not from drag and drop mumbo jumbo. Besides, I’m a big fan of drag and drop: I just don’t think software should be built with drag and drop. About [...]
TextMate easter egg
Tuesday, October 31st, 2006
Very nice Halloween icon…
Black screensaver
Monday, October 9th, 2006
This screensaver is simply black.
Screensaver
RealBasic loops, arrays and MemoryBlocks
Thursday, August 24th, 2006
(… following text is my answer to a usenet post ..)
I wrote a test function that makes various speed-checks. The number I
report are in Rosetta emulation, but it does not matter, since they are
“good enough” and the point is not to bench RB against other “native”
languages, but to test RB against itself.
However, running in Windows [...]
Open in iTerm from Finder
Wednesday, May 17th, 2006
Since I’ve been asked to do it, I wrote the “Open in iTerm” app, that does the very same thing than “Open in Terminal” (except that it uses iTerm instead of Terminal.app)
Actually there could be bugs, but at least on my system I suppose it’s not my [...]
Open in Terminal from Finder
Wednesday, May 17th, 2006
This is a trivial AppleScript
tell application “Finder”
set targ to target of Finder window 1
set myPath to POSIX path of (targ as string)
end tell
tell application “Terminal” to do script “cd \”"& myPath [...]
Open with BBEdit
Monday, May 1st, 2006
This is a tiny Automator Workflow that opens the current Safari document with BBEdit.
Previously I wrote an AppleScript that did the very same job, however the new document was marked as “new”, thus when one tried to close it, BBEdit would complain and ask if we wanted to save
tell application “Safari”
set cur to document 1
set [...]
Texniscope Intel
Monday, April 10th, 2006
I have just compiled a Texniscope version for Intel.
It works for me, tell me if it works for you too.
Download