Jetpack by WordPress.com

Here comes yet another product from Automattic and WordPress.com team – Jetpack.

This is a WordPress plugin that brings WordPress.com goodies to your self-hosted WordPress site.  The project is starting off with just a few, most requested, bits of functionality, but according to this blog post more is coming.

For launch we’ve brought eight of the most-requested features into Jetpack as one easy bundle: Hovercards, Stats, After the Deadline, Twitter widget, shortcodes, shortlinks, easy Facebook/Twitter/WordPress sharing buttons (Sharedaddy), and for our fellow math nerds, LaTeX. We’re excited about this initial set of features, but we’re even more excited for what’s coming down the road.

Foursquare releases version 3

Foursquare – an awesome location services that I use way more than I should – announces the release of Version 3.  They have a lengthy blog post explaining their reasons, goals, and changes.  And I have to say that it’s exciting.  I was slightly worried that they might give up given the Google Latitude check-ins competition, but apparently they are not.  Good for them!  Anyways, my phone still runs Android 2.1, so the newer Latitude is not available to me.  But the new Foursquare is.  And there is plenty of new fun, including leaderboards and Explore.

chmod text modes

I came across this blog post which praises text modes for /bin/chmod.

There are two ways you can change file permissions in Unix – one is using chmod‘s symbolic (text) modes (like chmod ug+x file), the other is using the octal modes (like chmod 0660 file). It turns out that symbolic modes are more powerful because you can mask out the permission bits you want to change! Octal permission modes are absolute and can’t be used to change individual bits. Octal modes are also sometimes called absolute because of that.

I have to agree, they are superior.  However I feel like the article needs more examples.  So here we go.

Use “u” for user, “g” for group, “o” for others, and “a” for all, or you can use a combination of letters, similar to how you do for access rights:


$ chmod ug+rw *.php

This will make all .php files in current directory readable and writable by both user and group.

Use several permission changes within one command.  Just separate them by comma.


$ chmod a-rwx,ug+rw,o+r *.php

The above will reset permissions on all .php files to readable by all and writable only by user and group.

And my favorite and most used example, which would be tricky with octal permissions is the “X”.  In recursive change mode, “X” will affect executable bit only on directories.  Difference by illustration:


$ chmod -R a+x /some/path

The above will add executable bit to all files and folders under /some/path.


$ chmod -R a+X /some/path

But the above will add executable bit only to folders under /some/path.  The files will remain as they are.