Android Create AVD

Android Create AVD
The second part of this series covers creating our first Android Virtual Device or AVD. The Android Virtual Device (AVD) is basically a configuration for the Android SDK’s emulator that lets you define the hardware and software characteristics of an actual Android advice that you can then test your code on. Whilst not being as good as running your app on real hardware, testing it on an AVD is the next best thing!

Install Android Eclipse

Hi guys, when telling a story it’s always best to start at the beginning, so the first thing to do on my journey is talk about how are we going to install Android Eclipse. My workstation is a MacBook but the process is the same on both Windows and Linux. I’ve put together a short video of the entire thing, from downloading Eclipse and the Android SDK to installing Eclipse, the ADT (Android Development Tools) plugin and then configuring ADT to use the Android SDK!

10 Most Used Linux Commands

Whilst skimming my Bash history today looking for an esoteric one liner I’d written earlier I started to ponder what my most used commands were, it’s easy enough to find out! This is actually output from my Mac, not a Linux box, I tricked you 😀

<br /> Chill:~ rus$ history | awk {'print $2'} | sort | uniq -c | sort -nr | head -n 10<br /> 106 ssh<br /> 49 ls<br /> 44 cd<br /> 42 curl<br /> 34 scp<br /> 25 vi<br /> 15 mv<br /> 15 cp<br /> 12 grep<br /> 10 rm<br />

Income Report February 2013

This blog is and has always been a blog of integrity, righteousness. A stalwart blog where I document my IT struggles and things I like to eat. Basically a combination of everything I hate in the world and everything I love, all in one place. And it’s going to remain that way. I will never sell out!

I like to read the Internet sometimes, I think I’m about half way through and so far nothing’s happened. But over the last few weeks I’ve been reading Smart Passive Income, basically a blog where some guy allegedly makes $50kpm by telling other people that he’s er .. making $50kpm. I think he’s making shit up personally, but it’s kind of inspiring. I’ve had Adsense running on this site for 2 years I think now, maybe more, who knows, and strangely I’m not retired and am still getting my fists dirty with magical computer machines. This blog has become amusingly popular though, although I don’t have a hardcore following it’s nice to read the odd comment about how I’ve helped someone create a Yum repository.

Burger At The Thomas Kemp

Burger At The Thomas Kemp

Last week I helped a friend of mine move house, and in return he also let me buy him dinner .. He lives up near the Thomas Kemp and I hadn’t been there for a while so it was pretty much set in stone what I’d be eating.

From their menu description:

Thomas Kemp Beef Burger – £7.95
Our homemade beef burger with horseradish, gherkins, tomato & mixed leaves.

Burget At The Thomas Kemp

Google Is So High On Adverts It’s Forgotten How To Search The Internet

So, I really like the song Papua New Guinea by Future Sound of London, so on a whim I decided to try and see if there were any Linux Sysadmin roles going over there, I think there’s a huge oil industry out there and they must use computers, right?

linux systems administrator papua new guinea

Turns out the first search result returned matches because of the png file extension? Ok, that’s the TLA for Papua New Guinea but what .. that’s the most relevant result? Really Google?

Syntax Highlighting In VIm

Syntax highlighting in vim can be super tricky, by default a lot of desktop environments seem to have white terminals, which is a bit dumb as it’s easier to read white on black than black on white, as such the default vim syntax highlighting is often unreadable if you have a black terminal, giving blue comments on a black background and the like.

The fix for this is to set your vim background to dark, e.g.

Installing OpenSIPS on Redhat Enterprise Linux 5

We’ve got to set up a SIP Registrar for a fantastic new project that one of our clients recently announced 😉 on RHEL5 so we’re going to trial OpenSIPS, backed with MySQL to see how it performs.

There’s a RHEL5 repository mirror here https://centos.leurent.eu/ that I’ve mirrored locally. If you don’t know how to create your own repositories you can read about that here.

First off I installed the opensips-mysql.x86_64 package to guarantee we pull in OpenSIPS as well as it’s MySQL dependencies.

Take Screenshot Mac

To take a screenshot on a Mac you can use the following simple keyboard shortcuts:

To save a screenshot to the desktop on a Mac

  • Command-Shift-3 : Take a screenshot of the Mac screen, and save it as a file on the desktop.
  • Command-Shift-4 : Hold down the mouse button and select an area of the Mac screen to save a screenshot of that area as a fiile on the desktop.
  • Command-Shift-4 : Press the space key and then click a window to take a screenshot of that window and save it as a file on the desktop.

To save a screenshot to the clipboard on a Mac