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 [...]

Mac, Mac Programming, Mac Software | No Comments

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 [...]

Linux World, Mac, Mac Programming, Open Source and Free Software, Programming, Python | 2 Comments

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 [...]

Cocoa and Objective C, Mac, Mac Programming, Programming, Python | No Comments

TextMate easter egg

Tuesday, October 31st, 2006

Very nice Halloween icon…

Mac, Mac Programming, Mac Software | No Comments

Black screensaver

Monday, October 9th, 2006

This screensaver is simply black.
Screensaver

Mac, Mac Programming, Open Source and Free Software, Programming | No Comments

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 [...]

Mac, Mac Programming | No Comments

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 [...]

Mac, Mac Programming, Programming | No Comments

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 [...]

Mac, Mac Programming, Programming | No Comments

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 [...]

Mac, Mac Programming | No Comments

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

Cocoa and Objective C, Mac Programming, Mac Software, Open Source and Free Software | 10 Comments

Recent Posts

Blogroll

Siti amici

Misc

Recent Comments

Categories

Enrico Franchi graduated in Maths and Computer Science and is now studying for a Computet Science MSc (though because of italian bureaucracy that very course is to be cancelled).

RiK0's Tech Temple is using WP-Gravatar