6:23am, 24th July 2012 · 1 note · comments

Changing the Location of Screenshots on Mac

I wanted my screenshots I take on my Mac to be saved to my Downloads folder. For some reason it was bugging me that they were filling up my Desktop. Also handy since I keep my Downloads folder in my dock, it means I have quick access to my latest screenshots.

So here’s how to do it, simply type this command into Terminal whilst replacing the ~/the/folder/you/want with the location of your desired folder.

  1. defaults write com.apple.screencapture location ~/the/folder/you/want

Once you’re sure you have the folder you want then run this command to make the change stick;

  1. killall SystemUIServer

All done.

Surprisingly I haven’t found a way to do it which didn’t involved a couple of Terminal commands. Seems like something Apple should have included in the preferences for Finder.

1:00am, 23rd July 2012 · 5 notes · comments


This is something many of you may already do or have better solutions to the problem at hand but I thought it would be worth sharing for those who haven’t given it some consideration before.

When it comes to making your CSS completely cross browser compatible you’re often required to include some browser specific CSS. This is particularly true with various CSS3 properties like border-radius and box-shadow, of which I use very, very regularly. Normally I write CSS properties in alphabetic order, makes it really easy to scan through lines of code and find what you’re after. Problem I face is when code is written alphabetically, especially when CSS3 properties come into play you get a rather annoying mess like so;

  1. .class {
  2. -moz-border-radius: 3px;
  3. -moz-box-shadow: 0 1px 1px rgba(0,0,0,0.1);
  4. -webkit-border-radius: 3px;
  5. -webkit-box-shadow: 0 1px 1px rgba(0,0,0,0.1);
  6. background: #fafbfc;
  7. border: 1px solid #cdd3d9;
  8. border-radius: 3px;
  9. box-shadow: 0 1px 1px rgba(0,0,0,0.1);
  10. padding: 10px 8px;
  11. }

One of the major issues with this formatting is I often forget to update the vendor specific values, resulting in difference experiences between browsers. A simple yet elegant solution makes both the writing and modifying of vendor specific properties very easy.

  1. .class {
  2. background: #fafbfc;
  3. border: 1px solid #cdd3d9;
  4. border-radius: 3px;
  5. -moz-border-radius: 3px;
  6. -webkit-border-radius: 3px;
  7. box-shadow: 0 1px 1px rgba(0,0,0,0.1);
  8. -moz-box-shadow: 0 1px 1px rgba(0,0,0,0.1);
  9. -webkit-box-shadow: 0 1px 1px rgba(0,0,0,0.1);
  10. padding: 10px 8px;
  11. }

All vendor specific properties are listed below the generic property and tabbed. It means when you come to edit the generic’s value you remember instantly to update the vendor’s value since they’re directly below.

It’s such a simple thing but it makes a big difference to your CSS’s eligibility and ease-of-updating.

10:30am, 21st July 2012 · 2 notes · comments

My Three YC Mistakes

And how you can go about avoiding them if you apply.

I was very honored to be part of the Summer 2011 class of Y Combinator with my product Interstate. I will admit that pretty much up until our interview in Mountain View I hadn’t the slightest clue who or what YC was. I think I knew it was some kind of investment firm but not much else, I also knew it had invested in a few products I already used such as Dropbox and AirBnB but that was pretty much my extent of knowledge about YC. Unfortunately that likely led me to mistreat the YC process and not use it to its full potential. Here are some of the things I think are important to take full advantage of which I unfortunately didn’t.

Use Office Hours

This is probably the most important of the whole lot so at least make sure you read this section. Office hours for those of you who don’t know are quick help and advice like sessions with the YC partners. They range quite a bit in terms of length depending on who you speak with and what you plan to speak about, generally everyone gets the same share during the course of a day.

When we were in the 3 month period of the YC dinners I think we maybe attended 4 or 5 office hours in total, mostly because we didn’t know what to speak about or just felt like we didn’t need to. Both of these thoughts are wrong.

Firstly the sessions are extremely helpful for finding things you should be speaking about that you didn’t think of before. The partners will often ask you questions which you hadn’t given any thought to and you’ll be better for it.

Secondly we had the idea we didn’t need help because we were still in the heavy development process and that maybe it would be too much of a distraction to make the hour trip to the YC office. Not only will the partners provide great advice on how to approach various development issues but they may even have a contact who will take away the need for something to be developed altogether.

Read More