I have only one word for this – sneaky!
I am loving GitHub code review so much that people are suggesting that I should change my title to Comparer of Unmerged Neglectable Technicalities. Otherwise known as … nevermind.
I am a huge fan of Evernote for a few years now, and one of the reasons behind my support is the Clipper. Â Instead of just saving the bookmarks the old (Delicious?) way, Evernote allows to save full or partial pages. Â With this, even if the original site removes content or disappears completely, you’d still have the clip in your notes.
A couple of days ago Evernote announced that they are releasing an updated version of the Clipper for Google Chrome. Â Here is the quick video with some new features.
[youtube=http://www.youtube.com/watch?v=Rq_mEcWvCik]
It looks like they’ve merged in some of the functionality of their other applications and browser extensions, such as Clearly – a browser extension that can cleanup noisy pages leaving just the content of the article to read, and Skitch – a simple annotations and graphical editing tool. Â While it sounds complicated, the functionality actually makes sense.
There are also some other new features, such as setting reminder on the note directly from the Clipper (rather than from the Evernote), and a Share button. Â When all is combined, it makes Evernote into a really powerful too. Â For example, emailing someone an annotated screenshot is now a quick task of just a few clicks.
Very, very handy tool!
I’ve been working a bit more with PHP and JSON recently and one of the things that annoyed me quite a bit was the single line output of the json_encode() function. Â Here is an example:
<?php $data = array( 'foo' => 'bar', 'bar' => 'qux', 'blah' => 'blah', ); echo json_encode($data); ?>
Poorly readable result (imagine having larger, more complex data structures like nested arrays):
{"foo":"bar","bar":"qux","blah":"blah"}
Apparently, since PHP 5.4.0 it became much easier to optionally format the output with some indentation. Â json_encode() function has an $options parameter, which was given an extra option – JSON_PRETTY_PRINT. Â Here is an updated example:
<?php $data = array( 'foo' => 'bar', 'bar' => 'qux', 'blah' => 'blah', ); echo json_encode($data, JSON_PRETTY_PRINT); ?>
And an updated output:
{ "foo": "bar", "bar": "qux", "blah": "blah" }
Very handy for debugging and for those bits of JSON that should be editable by hand.