November 2009
1 post
Long time in silence
Sooo… it’s been a while since last time I wrote on this blog. A lot of things have happend in my life.
cubeofcocoa
A studentproject started around August last year. Our focus was to develop our skills in Mac/iPhone development. When we begun our work on the thesis we got a big project. Blocket.se (Swedens biggest private sale market site). We understood that this was what we wanted...
May 2009
1 post
C makes it easy to shoot yourself in the foot; C++ makes it harder, but when you...
– Bjarne Stroustrup
March 2009
1 post
2 tags
Fix for ": user mobile has uid 501" while trying...
Do you get: <Error>: user mobile has uid 501 while trying to install you application on the device? I found a solution (jailbroken)
1) Install openSSH from Cydia.
2) ssh root@you-iphone-ip
3) Type yes
4) default password is alpine (I strongly recommend you to change this by typing passwd new-password )
5) cd .. \ .. \ .. /private/var/mobile/Media/PublicStaging/
6) rm -r...
February 2009
7 posts
Link of today - is_taggable, tagging that isnt on... →
Link of today - First multi core mobile platform... →
1 tag
Integrate address book features in your...
So if you want to integrate the address book into your app or maybe just learn how to do that? When I first tried to figure it out it was a bit complicated. That was then I promisied myself to write blog post about it.
Anyway, lets get started! Create a new navigation based project and name it to “AddressBook”. The first thing you have to do now is to add the frameworks we’ll...
There are two reasons why you have probably never heard of the SRV record:
1)...
– Aaron Hillegass
Link of today - Macros for Xcode. →
1 tag
Link of today - 15 jQuery plugins to beautify... →
2 tags
Link of today - XCode tips and tricks →
January 2009
12 posts
freeBSD is for everyone who hates Linux. openBSD is for all who hates everyone.
– Unkown man on the internetz.
1 tag
Link of today - 9 iPhone memory management... →
My geeky twenty-choices-of-choice.
Programming language of-choice: Objective-C.
Most awesome framework of-choice: Cocoa/Cocoa touch.
Scripting language of-choice: Ruby.
Web development framework of-choice: Ruby on rails.
Javascript library of-choice: jQuery.
Text editor of-choice: TextMate.
Operating system of-choice: Mac OS X.
Server operating system of-choice: freeBSD.
Mobile operating system of choice:...
1 tag
URL Schema for iPhone.
This is just a little snippet that explains how you write your own URL schema for iPhone. You can use it i either in safari or a native application.
From safari:
<a href=”maps://your-location-or-something”>Go to maps</a>
From a native application:
NSURL *url = [[NSURL alloc] initWithString:@”your-location-or-something”];
[[UIApplication sharedApplication]...
Link of today - Git for lolcats! →
Link of today - Things to be aware of in moving to... →
1 tag
Link of today -Still not convinced to learn ruby? →
3 tags
Add a "Tweet this" to your tumblr blog.
So you want to have a fancy “Tweet this” button on your tumblr blog? Thats very easy. All you have to do is to paste some javascript I wrote for you. Go into Customize/Theme and click custom html (if you haven’t done that) put this code inside of the head tag:
<script language=”JavaScript” type=”text/javascript”>
function gotoTwitter() {
var url =...
4 tags
How to parse XML in Rails with REXML
For example, we want to make a mashup site for our social life on the internet. Twitter, tumblr, flickr and so on. They often use xml but we are all moving more against a json world (that’s makes me happy) anyway…
To parse xml in Rails is quite easy actually. Lets go ahead and start develop our rails app by open the terminal and type:
rails mysociallife cd mysociallife
Allright, we...
1 tag
Want to have a tag cloud on Tumblr?
Well, Heather Rivers made a very nice javascript which you just paste in your custom html. Wholla! You can customize the apperance of the cloud a bit. For more info visit Heather
Paste this in your custom html:
<script type=”text/javascript” src=”http://code.hr1v.com/jquery.1.2.6.min.js”></script><script type=”text/javascript”...
Link of today - Is merb rails? →
Link of today - Location finding on Rails 2.2 →
December 2008
1 post
First post.
This is my new blog. Here Im mainly going to write about development with Cocoa/Cocoa touch and Ruby on rails but it doesnt prevent me from writing about other new great stuffs. I wish you all a happy new year and I hope I see you all then.