Latest Tweets:
I wrote this a while ago, and have since moved on to using Flow by MetaLab, but I thought I would share my list anyway.
For those who don’t know me, I am very cheap. Actually, it’s a point of pride, and something I reflect in a positive light. I don’t think it’s bad to be frugal. This is true for the way I host my Git repositories too.
At any given time I have a dozen of so tiny repositories filled with little experiments of mine. Instead of paying $300 a year, I just stick them in my free Dropbox account.
From your git working directory:
Then, to push your changes to Dropbox, just run:
Obviously, change out master for your branch name. Alternatively, you could set th branch to track from Dropbox by default with:
Once your repository lives in Dropbox, cloning it is as simple as:
If you want to have a dropbox remote instead of the default origin run:
Pushing up changes follows the same steps listed above, and this all works for shared directories, too.
I can’t take credit for any of this, so below are the multiple sources where I pieced this together from.
tumblrbot asked: WHAT IS YOUR FAVORITE INANIMATE OBJECT?
So, after a quick Google search, I was reminded that “inanimate” basically means without life. Know that I understand the question, my favorite inanimate object is my iPhone. I use it everyday, and it has become a hugely important part of me.
I am not sure why this isn’t built-in to Homebrew, but if you frequently want to update all outdated packages like I do, this command should help out:
Maybe I should contribute a similar command?
I recently got a new MacBook Pro, and haven’t gotten around to installing RVM yet. So when I took on this task today, I was totally surprised buy the issues I faced.
The default installation method is the easiest, so I suggest you follow it. As documented on the official RVM site, just use this one-liner:
That’s it, or so I thought.
I kept getting the following error messages:
Not exactly sure what is causing it yet, but the solution is to remove RVM, and retry the installation.
I actually had to repeat this process four times before I did not see these errors anymore.
The next problem I faced was that the rvm command wasn’t in my path. Luckily, I found the executable after a quick search. It lives at:
However, simply adding that to your path isn’t the solution. It actually didn’t even work for me. Instead, add the following to your .bashrc or .zshrc, respectively.
Bash
ZSH
So, my curious side wants to know exactly why this is happening, but I got nowhere. Some have solved the problem by setting some permissions, but that solutions seemed to hacky for me.
Hope it helps.
I recently started using Navicat for MySQL as my Mac database administration application of choice, and quickly wondered how I could back up my data. Particularly, Navicat has a great query interface, and in a few days I compiled 27 queries that I really did not want to have to rebuild.
Without over engineering a solution, and since there is no sensitive data to worry about as passwords are stored in Keychain, I decided to backup with Dropbox (referral link). I couldn’t move the directory into my Dropbox directory, which is my preferred method, so I went the symlink route.
Note: Replace the word username above with your username.
I have to use PHP at work so I have been eyeing the CakePHP framework. Although it is nowhere near Rails in my opinion is does have some documentation and a big enough community. As my PHP development tool of choice I use Coda, from Panic. I know one of the latest features of Coda 1.5 was the ability to add your own Books so I thought I would write about how I setup a CakePHP book.
First, lets download the CakePHP Book logo I threw together. It took me awhile to get the image to align correctly in Coda, but if you have a better one let me know.
My inspiration came from the small CakePHP book on the “Learn” tab of the homepage.

Now in Coda, click “Books” and then the “+” sign at the bottom to add a new book. Make sure your settings match this:

Note: You have to click and drag the image into the “Cover Image” box to apply the graphic.
Hit “OK” and voila. Your very own CakePHP Book right in Coda.

Just setup Feedburner. Curious as to how many people have stumbled onto this site.
Google Chrome is the new browser on the block, and boy is it getting all the neighborhood girls excited. I am sure you can find some entertaining article about why Google Chrome will rule the world, but I am going to tell you why I like it. Webkit. Yes, Google Chrome uses the exact same rendering engine as Safari which is my browser of choice, mobile Safari, and Android. This means that any site that renders well in Safari will look the same in Google Chrome.
What this also means is that if the adoption of Google Chrome is high enough, which it will be, web designers all over the world can finally give IE the boot. I see the signs already, “This site works fine in Firefox, Safari, or Chrome.” That’s three choices other than IE.