The Changelog

Open Source moves fast. Keep up.

Oh, Behave.js! #


From the docs:

Behave.js is a lightweight library for adding IDE style behaviors to plain text areas, making it much more enjoyable to write code in.

I’ve always been really frustrated by WYSIWYG editor’s ‘HTML mode’ – I think it would be interesting to combine Behave.js with something like Medium.js for the ultimate in-browser text editing domination.

Behave.js is MIT licensed. Source code on GitHub.

Medium.js – taking control of contenteditable #

Medium.js is a very minimal and straightforward approach to rich text editing in the browser that’s based on the awesome editor powering Medium.

From the docs:

Medium.js overrides many default keyboard events and substitutes a more cross-browser compliant way to interact with contenteditable elements. This means that you can use contenteditable without fearing your user is going to enter poor or invalid HTML. It keeps things tight, organized, and semantic.

MIT Licensed. Source code on GitHub.

Twitter open-sources Typeahead.js, a jQuery auto-complete plugin #

From the announcement on the Twitter Engineering blog:

Twitter typeahead.js is a fast and battle-tested jQuery plugin for auto completion. Today we’re open sourcing the code on GitHub under the MIT license. By sharing a piece of our infrastructure with the open source community, we hope to evolve typeahead.js further with community input.

Sounds good to me! If you’re thinking ‘just another jQuery plugin’, you might want to take a look at its more advanced configuration options such as custom matching and ranking functions, international language support (including RTL and IME), and client/server mixed search data.

Check out the demo or peep the source code.

Discuss on Hacker news if you must.

Use long flags when scripting

I peruse a fair amount of dotfile repos, and keep seeing people use short flags inside aliases and little command line tools. Short flags are a command line shortcut, and they do belong there, but if you’re not writing the command in a prompt, do yourself (and anyone else that may someday be reading your […]

Using ImageOptim with guard-shell

For the uninitiated, ImageOptim is a great Mac app that uses several well-known image optimization tools to compress images and help keep file sizes down and Guard is “a command line tool to easily handle events on file system modifications.” If you’ve never tried Guard, I’d encourage you to take some time and check it […]