Fresher Paint

Fresher Paint

Originally uploaded by sambo in netanya.

Leah put a gold finish on the purple wall. I think it looks great.

Uncategorized

Comments (0)

Permalink

I’ve been published!

My little Applescript vi hack has made it to http://macosxhints.com with just a bit of editing.Yay! http://www.macosxhints.com/article.php?story=20080305012955463

Uncategorized

Comments (0)

Permalink

Spam, spam, spam, spam!

Blog, blog, blog, blog. Shocking, the amount of comment spam a blog with no readers can attract. 

Uncategorized

Comments (0)

Permalink

Fresh Paint



Fresh Paint

Originally uploaded by sambo in netanya.


Uncategorized

Comments (0)

Permalink

vi as default text editor on OS X Leopard

I’ve always been a vi guy, but OS X vi GUIs leave a lot to be desired.  So for years I’ve put up with TextEdit as the default application when I double click a text file in Finder or an attachment in mail.

Until yesterday.  Using this old macosxhints.com forum thread as the base, updated and modified to behave properly, double clicking a text file now opens it in vi in a new tab in Terminal, opening Terminal if it’s not already (which is rare, as I usually have 4 or 5 tabs open all the time).And here it is…  Please let me know if it can be improved in any way. 

on open inputfile

ignoring application responses

tell application “Terminal”

activate

tell application “System Events” to tell process “Terminal” to keystroke “t” using command down

do script “vi “ & quoted form of POSIX path of inputfile in selected tab of the front window

end tell

end ignoring

end open

 

Uncategorized

Comments (0)

Permalink

Salad



Salad

Originally uploaded by sambo in netanya.


Yum.

Uncategorized

Comments (0)

Permalink

Blog, blog, blog.

Is this thing on?

I frequently wonder what I should write, or why I should even bother, and then I don’t. As you see, it’s almost a year since I set up a blog. I suppose there’s really not much point.

Bleh.

Uncategorized

Comments (0)

Permalink

Draft or Publish?

It seems that posts published this way are saved as drafts, not published directly. Testing how to change that…

Uncategorized

Comments (0)

Permalink

File Upload Test

Testing whether I can upload a file with a post…

Some old Dilbert I had in my images dir.

Uncategorized

Comments (0)

Permalink

Puppy Update!

Two puppies were adopted by a family on Sunday. Funny, it was the two in the pic I posted here. My favorites, Ninja and Theodore. Cuties. I’m glad to see them go to a good home.

Uncategorized

Comments (0)

Permalink