Mon, Apr 27
Use Haskell for Shell Scripting

Interesting idea by Gabriel Gonzalez, using Haskell for shell scripting:

I’m releasing the turtle library, which provides a slick and comprehensive interface for writing shell-like scripts in Haskell. I’ve also written a beginner-friendly tutorial targeted at people who don’t know any Haskell.

Use Haskell for shell scripting

Fri, Apr 24
Get Stock Quotes From Command Line

David Walsh on getting stocks quotes from command line:

“I also spend a large part of my day in iTerm, so switching back and forth between the browser and the terminal is time-consuming and annoying.  I looked for a way to get stock quotes from the command line.”

Get Stock Quotes From Command Line

Coding versus Debugging

“Debugging is twice as hard as writing the code in the first place. Therefore, if you write the code as cleverly as possible, you are, by definition, not smart enough to debug it.”

—  Brian Kernighan

Bash and the Basics of Scheduling

Susan Allen with a good introduction to the Bash shell and how to schedule tasks, including repeating tasks with cron.

mozillascience/studyGroupLessons

Xcode Debugger – View Frame and Bounds

For a quick look at frame or bounds of a view, try this at the lldb prompt in the Console:

print (CGRect)[view frame]
print (CGRect)[view bounds]