-
Using vi and forgetting the bastarding sudo command.
Posted on May 19th, 2009 No commentsOK, so how many of you have been messing about with a system file using vi and you’ve edited about 10 lines. You go to save the file and it complains that it’s Read-Only!! Gah, you then do your thing to correct it and slap yourself for making THAT mistake AGAIN.
Anyway, rant over. Fix it by doing this!
vi ~/.vimrc
Insert this
command! -bar -nargs=0 Sw :w !sudo tee % >/dev/null
Now when you go to save and it complains just type :Sw and it will save it out as root and then ask you to reload (If someone know how to do this part automatically it would be appreciated
)Problem solved!
-
Sonyintosh – My experience with OSx86 on my Vaio VGN-C1Z
Posted on May 16th, 2009 11 commentsSo everyone has been banging on about how great Macs are for a while now. I’m not convinced, the little time I’ve had using them I’ve found the OS annoying to work on. Now, I’m happy to admit it’s because I haven’t given it a chance, and the reason for that is I don’t have a spare grand to shell out for my own one.
Recently I’ve been feeling the need to try out some iPhone development. (I don’t even own one, yet) This proves particularly difficult under Window so I started looking at Mac hardware. As lovely as it is, I can’t bring myself to spend the cash on one without a purpose for doing so when I can do almost everything I need to under XP/Ubuntu. Then I came across the Hackintosh community who have documented alot of their experiences while attempting to install Mac OS X on various types of hardware with varying degrees of success.
So this brings me to my experience with it. Thankfully the community has taken the sting out of getting the majority of components for my laptop working. Hazza!
So here’s a step-by-step guide for getting OSX installed on a Sony Vaio VGN-C1Z/B Laptop. This has the following specs which might help people looking at this with a differnet model laptop which has the same hardware. Specification Link
-
New projects page
Posted on January 24th, 2009 1 commentI’ve transferred the projects from my old wedgybo.co.uk domain as they fit better with this site. Have a looksie, most of it’s rubbish from back in the day but hey I’m proud of them!
-
Welcome!
Posted on January 24th, 2009 No commentsWell I’ve finally taken the plunge into this world of blogging that everyone has been going on about. I’ve opened this site with the intention of displaying projects I’ve been involved with and showcasing anything interesting. Also I’ll be using it as a place to store random information I find useful to gather it in one place.


