Bash shell trick: searching interactively through command history

by john on December 9, 2013

Although the up/down arrow are nice to move through commands in a Bash shell, searching takes the command history to a whole new level. To start a search within Bash, enter Control-R, the prompt will then change to look as (…)

Read the rest of this entry »

Python and asynchronous I/O with Tulip [video]

by john on December 4, 2013

Guido van Rossum, creator of Python talks about the addition of synchronous I/O to the Python standard library: Tulip is included in Python 3.4

Software update framework for OS X applications

by john on December 4, 2013

Andy Matuschak is the author of Sparkle, a framework to help with software updates of Cocoa (OS X) applications. True self-updating–no work required from the user. Supports bundles, preference panes, plugins, and other non-.app software. Deep delegate support to make (…)

Read the rest of this entry »

Resolving code signing issues in Xcode 5.0

by john on December 3, 2013

Upgrade to Mavericks? Any chance you’ve seen this or something similar when attempting to sign an app: code failed to satisfy specified code requirement(s) Olivier HO-A-CHUCK: If you have recently updated you Xcode version and your favorite re-signing script suddenly (…)

Read the rest of this entry »

Using Objective-C objects in AppleScript

by john on December 2, 2013

AppleScript certainly has its place, however, the language itself leaves a little to be desired. With that said, how can one not be intrigued by the idea of Objective-C objects in AppleScript? Don Southard: The framework AppleScriptObjC allows users to (…)

Read the rest of this entry »

Xcodebuild alternative for more effective build and test cycles

by john on December 2, 2013

xctool is an open source project from Facebook: xctool is a replacement for Apple’s xcodebuild that makes it easier to build and test iOS and Mac products. It’s especially helpful for continuous integration. One feature of xctool that rules is (…)

Read the rest of this entry »

Submit issues ‘while you code’ in Ruby or Perl

by john on November 25, 2013

Nima H. Mood: watson is a tool for creating and tracking bug reports, issues, and internal notes in code. It is avaliable in two flavors, watson-ruby and watson-perl

Shell scripting: Creating sequential numbers and text

by john on November 25, 2013

From jot man page: The jot utility is used to print out increasing, decreasing, random, or redundant data, usually numbers, one per line. I use jot within bash to provide sequences of both numbers and text, the later is really (…)

Read the rest of this entry »

User defined literals in Objective-C

by john on November 22, 2013

Dustin Bachrach: OCUDL is an experiment to bring user defined literals to Objective-C. A literal is a shorthand expression that creates a value of a certain type. For example, 25ul creates an unsigned long of 25, and @”hello” creates an (…)

Read the rest of this entry »

Learn git via this open source game

by john on November 21, 2013

New to git? Gary Rennie is the developer of githug: Githug is designed to give you a practical way of learning git. It has a series of levels, each utilizing git commands to ensure a correct answer. And if you (…)

Read the rest of this entry »

Simplified auto layout on OS X and iOS

by john on November 21, 2013

Jonas Budelmann on his open source project Masonry: Harness the power of AutoLayout NSLayoutConstraints with a simplified, chainable and expressive syntax. Supports iOS and OSX Auto Layout.

Open source mind mapping app for OS X

by john on November 20, 2013

Tae Won Ha is the author of QMind: Qmind is a mind mapping app for your Mac which is meant to be compatible to FreeMind. Full Objective-C source code is included.

Python imaging library

by john on November 20, 2013

Alex Clark is the man behind Pillow: The Python Imaging Library is ideal for for image archival and batch processing applications. You can use the library to create thumbnails, convert between file formats, print images, etc. Pillow was forked from (…)

Read the rest of this entry »

Create UML diagram from Xcode project

by john on November 19, 2013

You can create a UML diagram automagically by dragging/dropping an Xcode project onto OmniGraffle. I’ve been using this for years, and just recently tried with Xcode 5, worked like a champ.

Open source NSCollectionView replacement

by john on November 19, 2013

Frank Gregor: CNGridView is a (wanna be) replacement for NSCollectionView. It has full delegate and dataSource support with method calls just like known from NSTableView and UITableView. Interesting project. Includes the caveat (which should be included in many early draft (…)

Read the rest of this entry »

cURL library in an Objective-C wrapper

by john on November 19, 2013

Last week I posted about an open source cURL library. Dan Wood reached out to let me know about CURLHandle: CURLHandle is a high level Objective-C interface to the libcurl library. It was originally created by Dan Wood of Karelia (…)

Read the rest of this entry »

Fast Base64 encoding in C

by john on November 18, 2013

David Lazar on his open source base64 encoding: The C code in base64encode.c is a fast implementation of Base64 encoding. It is based on libb64, which uses coroutines to achieve speed. The nontrivial control-flow of this code makes proving it (…)

Read the rest of this entry »

Python on a microcontroller

by john on November 18, 2013

Damien George on his KickStarter campaign: Running on a small microcontroller, Micro Python allows you to effortlessly blink LEDs, read voltages, make motors and servos move, play sounds, write data to SD cards, communicate wirelessly, and be the brains of (…)

Read the rest of this entry »