Feb
8
2013
Hi! This subject is something that really interests me, its an awesome technology that has many prospects for the future. So, Of course I would like to know how it...
Hi!
This subject is something that really interests me, its an awesome technology that has many prospects for the future. So, Of course I would like to know how it works.
Before you continue reading, I would like you to know that the information written below is for education purpose only. Using the things explained below (for what ever reason) might (most likely) be breaking the Swedish law (since the volvo on call server is located in Göteborg (Gothenburg)). Contacting and use data from the Volvo on call API might be seen as data trespassing, which Sweden has a law against (Describes as “Dataintrång” defined as crime in 4 chapter 9 § of the crime code (brottsbalken)).
no comments | tags: apache, api, Apps, Cool stuff, Development, hacking, iPhone, json, Mobiento, objective-c, rest, rest-full, Tutorials, VOC, volvo, volvo on call | posted in Charles, Development, Hacking, iPhone, Mac, Objective-c, Tutorials, VOC, Volvo, Web, Wireshark
Oct
30
2012
Closing an UIPopoverController from the subview, wether it is a UINavigationController any other type of controller can be a little bit of an hassle. I had this problem today and...
Closing an UIPopoverController from the subview, wether it is a UINavigationController any other type of controller can be a little bit of an hassle. I had this problem today and figured it out quickly. I thought of sharing this solution here.
The solution itself is quite simple. The ViewController creating the UIPopoverController is being reused to close it as well. This means that the UIPopoverController needs to be an accessible variable throughout that class.
So, how do we close it? well, this is how:
In the class opening the popover, this is my code:
no comments | tags: Apple, Development, ios, iPad, objective-c, UIPopoverController, XCode | posted in iPhone, Objective-c, Tutorials, XCode
Oct
6
2012
Hi! A while ago, a colleague introduced me to YUI Compressor. I was really amazed. I knew there were such kind of tools/applications out there, but never really bothered to find...
Hi!
A while ago, a colleague introduced me to YUI Compressor. I was really amazed. I knew there were such kind of tools/applications out there, but never really bothered to find our which ones and how they work. So, I though, being a Mac user, that this should work on my mac as well… well… yes and no. Its not so easy getting it up and running, and I want to be able to run an ANT target in my PHP project to get this working.
So, I had some digging around to do, and ended up with my own little guide on how to get it working.
no comments | tags: ANT, apache, Apple, Cool stuff, CSS, Development, freestuff, installation, Javascript, Mac, OSX, PHP, Tutorials, Web, YUI Compressor | posted in 10.8, Apache, Apple, Free stuff, Mac, MacPorts, Objective-c, OSX, PHP, Shell scripts, Tools, Tutorials, Web, Websites
Sep
22
2012
Hi! I know, its the longest title of a post.. ever. But… This is something I deal with everytime I reinstall one of my macs, and for the sake of...
Hi!
I know, its the longest title of a post.. ever. But… This is something I deal with everytime I reinstall one of my macs, and for the sake of saving some time I thought of writing it down here.
I expect you have OS X 10.8 installed (or higher), but this should also work with OS X 10.7.
MacPorts
Installing…
Before you can use MacPorts you need to install XCode and “Command Line Tools”. You can do this by opening XCode, opening the Xcode menu and choosing “Preferences…” (pic 1). In the new window that opens, choose “Downloads” (pic 2) and select “install” next to “Command Line Tools”.
no comments | tags: apache, Apache2, Apple, Development, imac, installation, Mac, MacPorts, OSX, PHP, Tutorials, XCode | posted in 10.8, Apache, Apple, Development, Mac, MacPorts, OSX, PHP, Tutorials, XCode
Sep
15
2012
Hi! This is a issue fix quite often.. and its really annoying to get it right. So… I am giving it a try to solve it once and for all,...
Hi!
This is a issue fix quite often.. and its really annoying to get it right.
So… I am giving it a try to solve it once and for all, at least for myself.
Whenever I install a Mac for myself, I always use MacPorts (http://www.macports.com) for futher software (such as apache, ant, php ect). So I also use it for bash completion. The thing though is that the bash completion from MacPorts comes without any completions, or so it seems. So how do we get them working? Well… lets take it from the top.
no comments | tags: Apple, bash, bash completion, Development, OSX | posted in Apple, Development, Mac, OSX