Yes, there is a way. Right here: osx-gcc-installer.
You can download a prebuilt binary or (unfortunately requiring XCode) roll out your own based on the most recent OSX update.
Have fun :)
Yes, there is a way. Right here: osx-gcc-installer.
You can download a prebuilt binary or (unfortunately requiring XCode) roll out your own based on the most recent OSX update.
Have fun :)
If you are looking for an alternative for Quicksilver, the popular OSX launcher, you might find Found (no pun intended) a suitable replacement.
To be honest it does not seem to be quite as powerful but, if - like me - you only use Quicksilver to launch apps, then Found is a great lightweight (and beautiful) alternative.
When i moved my blog to a middleman system, i found that i needed to provide redirects from /2012/01/25/some-post to /blog/2012/01/25/some-post. It's a relatively simple task, though i lost some time because i missed a detail that no one usually explains.
Pretty cool TED talk about how smart materials can one day make our buildings behave more like biological systems in terms of dealing with the cold/hot/wind.
A couple of interesting articles this morning, one about why you should not use MySQL (i particularly love the expression “Mysql development and administration causes brain damage, folks…”) and a rant about remote work and why companies still can't see the value in it.
Here's an Automator service to resize an image into several sizes. Unzip and copy the package “Multiple Sizes.workflow” to your ~/Library/Services folder and you will get a new entry on the finder services context menu. Just right click any image and choose “Multiple Sizes” from the services menu.
Nokia has released the files that allow anyone with a 3D printer to create protection cases for its Lumia 820 phone.
In my opinion, that's a really smart move: It shows the will to be on top of the wave, when it comes to new technologies. It will also make a lot of phone owners happy :)
Meet Sets, a website that allows you to create and maintain lists (or sets) of links. Much like with sex, you can do it solo or with other people. I think it has the potential to replace Delicious and other bookmarking sites even if, for now, it does not support tags or groups… although that's not necessarily a bad thing :)
Recently i had to create a gradient background for one of the panels in our POS application, so i though i'd share the code.
You need to pass the top and bottom colors of the gradient and also make sure that any panels inside this one are transparent (i.e. setOpaque(false)), otherwise they will paint above it.
Easy:
yourScrollPane.getVerticalScrollBar().setUnitIncrement(85);
It's actually pretty simple. Just do something like this, adjusting to the horizontal scrollbar and/or the height that you want:
yourScrollPcane.getVerticalScrollBar().setPreferredSize(new Dimension(85, Integer.MAX_VALUE));
I wonder why it feels harder to spend 500 Euro in this
than this

Any thoughts? :)
The files live in this folder (at least on Windows 7 and possibly 8):
C:\Users\void\AppData\Roaming\MinerWars\Saves
If you use the standalone client, the files will be inside PUBLIC. If you are using STEAM, then they will be under STEAM. This way if, like me, you move from the standalone version to steam you can copy your save games and start the game from where you left it :)
Time.now will give you the current date (and time), like so:
Time.now
2012-11-22 22:35:01 +0000
You can also request all the date parts individually:
Time.now.hour
Here's how to change a file's modified date:
touch -mt 201102260000 <file>
Where “201102260000” is year, month, day, hours, minutes all glued together (so 2011-02-26 at 00:00).
Also, if you want to change both the modified and creation date, then:
Yes, a new blog. I know what you are thinking: “Who the hell cares?”. But read me out.
A while back i looked at wordpress and thought “i don't really need all this stuff, do i?”. Turns out i didn't. And if you are at least a little bit like me you will agree that sometimes less is more. After searching for some alternatives i ended up with two solutions: A company hosted blog (tumblr, blogger, and others) or hand made. I chose the latter.