Know your tools: using inputrc to save keystrokes in the MySQL shell

I do a lot of work with MySQL, and I often bemoan the lack of a concise shortcut to list tables matching a pattern. I much prefer psql's \d shortcut as opposed to mysql's SHOW TABLES. However, since the mysql client uses GNU readline, we can leverage readline's macro facility to make things easier on ourselves!

Read More...
Posted on 2015-03-30

What I Learned Writing a Dropbox Clone - Part 4 - Conclusion

These posts are largely independent of each other, but if you'd like some context, you should probably read the first post.

Read More...
Posted on 2015-03-16

What I Learned Writing a Dropbox Clone - Part 3 - Inotify

These posts are largely independent of each other, but if you'd like some context, you should probably read the first post.

Read More...
Posted on 2015-03-09

What I Learned Writing a Dropbox Clone - Part 2 - Filesystem Operations

These posts are largely independent of each other, but if you'd like some context, you should probably read the first post.

Read More...
Posted on 2015-02-01

What I Learned Writing a Dropbox Clone - Part 1 - Introduction

Nearly four years ago, I made the above commit on a new project I'd just started. I had been using Dropbox for a little bit, and I liked the idea, but I favor free software solutions for services, particularly when my personal data (like files) are concerned. I looked around to see if anyone had written an FOSS Dropbox clone, and the offerings in that space were very meager (just SparkleShare, and I think maybe a nascent version of OwnCloud ). I had some misgivings about some of SparkleShare's design, and OwnCloud didn't offer the same features I needed, so I decided to go ahead and write my own. Because the project was an effort to distance myself from cloud products, I decided to call it Sahara Sync (the Sahara desert having few clouds). I actually bought the domain names for both saharasync.net and saharasuite.net; the latter was intended for other personal cloud tools I thought about writing that would compliment Sahara Sync. I had the idea of turning it into a company as well. I actually bought the domain names for both saharasync.net and saharasuite.net; the latter was intended for other personal cloud tools I thought about writing that would compliment Sahara Sync. I had the idea of turning it into a company as well.

Read More...
Posted on 2015-01-24