Generating unique selector with jQuery Selectorator

jQuery Selectorator Plugin is a plugin to generate unique selector from jQuery object.

$('element').getSelector()

Set options.ignore to ignore classes, ids, names:

$('element').getSelector({ ignore: { classes: ['ui-droppable'] } })

Read On 

Twitter Bootstrap theme for RDoc

screen1

I created a RDoc Generator with Bootstrap forked from Hanna Nouveau.

http://ngs.github.io/hanna-bootstrap/

Hanna Bootstrap is available from RubyGems.

gem install hanna-bootstrap

Or git-clone from the repo if you would.

git clone git://github.com/ngs/hanna-bootstrap.git

The templates of this generator are written in HAML, SASS, CoffeeScript.

You can customize your favorite Bootstrap based theme easily. Enjoy!

Using blink(1) as RSpec formatter

I created Ruby library for blink(1) that wraps official blink1-lib C interface.

This video shows runnning RSpec using blink(1) as formatter, shows current status with LED color.

Both are available on RubyGems

gem install rb-blink1
gem install blink1-formatter

GitHub: rb-blink1, blink1-formatter

Evernote SDK for Mac: Async requests and file attachment support

Current HEAD of Evernote SDK for Mac OS X does not support async requests but the iOS SDK does.

So I ported modern Objective-C code (means non-thrift) from the iOS SDK.

ngs/evernote-sdk-mac

This version enables note creation very easy.

Read On 

Released EverDesktop

screen1

I’ve just released EverDesktop.

EverDesktop is a small Mac application for clipping files on your Desktop to Evernote, allows you to make tidy your Mac from status bar icon.

Read On 

Open Graph protocol tag helper for nanoc

I’ve created Open Graph protocol tag helper for nanoc to build my corporate site.

To use this helper:

  1. Download Ruby code
  2. Place it to lib/nanoc/helpers/ on your nanoc project.
  3. Add require 'nanoc/helpers/og_tags' to lib/default.rb.
  4. Now you can use og_tag helper in your templates. For more details see the spec or trace my haml template.

iGist v1.2 - The Gist Client for iPhone, iPad

I just released new version of iGist - The Gist Client

I rebuilt the app for iOS 6, optimized for iPhone 5’s 4 inch screen and supported Share on Facebook.

This requires iOS 6 or later, supports both iPhone and iPad.

Create Events on Google Calendar with Git Commit

Create Events on Google Calendar with Git Commit

To track colleagues’ work or let colleagues track my work, we started using Google Calendar with writing Git Commits as events.

Read On 

Generating Objective-C Literals from JSON

The modern syntaxes for NSDictionary, NSArray, NSNumber are supported from Xcode 4.4. To use this easily for testing, I customized JSON#stringify method ported from JSON2.js.

With node.js, the script can convert JSON from STDIN.

$ node Dictionary.js < test.js
# with cURL
$ curl 'http://itunes.apple.com/search?term=Path&entity=software' | node Dictionary.js

Also in browser, this works with stripping lines under if(process) scope.

Dictionary.stringify({ a:1, b:"Hello", c:[1,2,3] }, null, "

Released Evernote Plugin for Coda 2

screen

This plug-in allows you to clip snippets and rendered HTML from Markdown to Evernote.

http://ngs.github.com/evernote-codaplugin

Read On