idimmu . nethttp://www.idimmu.net
A web based memory replacement service.Sun, 11 Sep 2016 10:09:56 +0000en-UShourly1https://wordpress.org/?v=4.6.1Why I’m Switching From Google To Binghttp://www.idimmu.net/2015/09/14/why-im-switching-from-google-to-bing/
http://www.idimmu.net/2015/09/14/why-im-switching-from-google-to-bing/#respondMon, 14 Sep 2015 06:53:52 +0000http://www.idimmu.net/?p=910Google’s been shit for quite a while now but today I’m finally sick of it, so switching. Do they think I typed out the word barcelona for my health or something? Or maybe I’m using the Internet wrong (does the Internet actually come with a manual?). So they just decided, again, to drop one of […]

]]>Google’s been shit for quite a while now but today I’m finally sick of it, so switching.

Do they think I typed out the word barcelona for my health or something? Or maybe I’m using the Internet wrong (does the Internet actually come with a manual?). So they just decided, again, to drop one of the words I’m searching for, that give my search context, from the first results they provide. Ok, I could quote it. OR .. if I actually wanted matches that dont contain the word Barcelona i could prefix it with a – sign, so fuck that as an excuse.

Where as Bing actually gives me results that match what I’m searching for.

I don’t really have a choice in this matter, Google just flat out doesn’t work as a search engine any more with out jumping through extra unnecessary hoops that actually make it harder to use.

It’s one thing to try and make using search engines easier or more natural, it’s another thing to assume your users are so dumb that the right thing to do is discard 50% of the fucking characters they enter.

]]>http://www.idimmu.net/2015/09/14/why-im-switching-from-google-to-bing/feed/0SSH Over TorBrowserhttp://www.idimmu.net/2015/01/16/ssh-over-torbrowser/
http://www.idimmu.net/2015/01/16/ssh-over-torbrowser/#respondFri, 16 Jan 2015 09:42:26 +0000http://www.idimmu.net/?p=903The hotel in Thailand that I’m currently staying in is for some inexplicable reason blocking SSH, randomly. 6 hours ago it was working fine, but now when I need to do some work it’s decided to block me. At least that’s what I think is happening as all other requests work fine. I think it’s […]

]]> The hotel in Thailand that I’m currently staying in is for some inexplicable reason blocking SSH, randomly. 6 hours ago it was working fine, but now when I need to do some work it’s decided to block me. At least that’s what I think is happening as all other requests work fine. I think it’s using some deep packet inspection too, as moving to another port also doesn’t work.

Anyway, the way round this is our friend, Tor. There are lots of ways to install Tor, but I like to have my Mac relatively clean of cruft, so I’ve opted for the TorBrowser bundle, which doesn’t come with any of the usual Tor utilities like proxychains, tsocks or torify.

Netcat is installed by default on a Mac though, and Netcat is the BOMB, and you can use it to proxy SSH over the Tor instance that comes with TorBrowser!

Provided TorBrowser is installed, running and connected, the following will let you proxy SSH over it:

[code]
ssh -o ProxyCommand=’nc -x 0:9150 %h %p’ example.com
[/code]

Please note that the TorBrowser port has changed from 9050 to 9150, if you’re running a really old version of Tor you should probably update anyway.

]]>http://www.idimmu.net/2015/01/16/ssh-over-torbrowser/feed/0Is This The Most Important Script You’ll Ever Write?http://www.idimmu.net/2014/08/11/is-this-the-most-important-script-youll-ever-write/
http://www.idimmu.net/2014/08/11/is-this-the-most-important-script-youll-ever-write/#respondMon, 11 Aug 2014 15:42:50 +0000http://www.idimmu.net/?p=891Since my first IT job ever, I’ve taken part in a tradition started by the guy I was replacing. A tradition known to us as escape.pl, and something people in my local Linux Administrator community have kept with for well over a decade now. The Most Important Script You’ll Ever Write? The first time I […]

]]> Since my first IT job ever, I’ve taken part in a tradition started by the guy I was replacing. A tradition known to us as escape.pl, and something people in my local Linux Administrator community have kept with for well over a decade now.

The Most Important Script You’ll Ever Write?

The first time I saw it it was written in Perl, I’ve since written them in Bash, Java and now Javascript. I’ve just seen one written in AWK. Some are cleverer than others, some just do the bare minimum. Some are executed by hand, others are run each time a new terminal is opened thanks to .profile, .bashrc or whatever’s managing your shell environment.

Well What Does It Do?

Quite simply the most important script you’ll ever write calculates the difference between two dates. Today, and your last day of work. The day you escape.. Where to? Who knows, perhaps a new job, a new country, either way somewhere significant!

Mine is currently a node.js app, and it has a bug, it hasn’t taken in to account a bank holiday, but it does the job.

free:~ rus$ node escape.js
Escape in 18 days.
Working days left: 15

Another takes in to account even minutes so he knows how long he’s waiting!

16:03 < woduf> 004 days, 00 hours, 57 minutes

How complicated you want to make the most important script you’ll ever write is up to you, but the sentiment remains the same!

Bash

Have you ever written an escape.pl? Whether you love your job or hate it, changing job can be a significant life decision and it helps to add fun to the seriousness of it! Please send me examples of your most important script and I’ll add it to the list!

]]>http://www.idimmu.net/2014/08/11/is-this-the-most-important-script-youll-ever-write/feed/0yum error: Couldn’t fork Cannot allocate memoryhttp://www.idimmu.net/2014/07/23/yum-error-couldnt-fork-cannot-allocate-memory/
http://www.idimmu.net/2014/07/23/yum-error-couldnt-fork-cannot-allocate-memory/#commentsWed, 23 Jul 2014 10:07:54 +0000http://www.idimmu.net/?p=880I’ve been doing some awesome things to a new VM for work, namely installing CouchDB, Apache and running Node.JS apps along side a WordPress plugin using Angular.JS. It’s pretty cool. But computer’s are dicks so when it came down to installing Monit to ensure everything was lovely I got the following error: Couldn’t fork %pre(monit-5.5-1.el6.rf.x86_64): […]

]]> I’ve been doing some awesome things to a new VM for work, namely installing CouchDB, Apache and running Node.JS apps along side a WordPress plugin using Angular.JS. It’s pretty cool. But computer’s are dicks so when it came down to installing Monit to ensure everything was lovely I got the following error: Couldn’t fork %pre(monit-5.5-1.el6.rf.x86_64): Cannot allocate memory. Bum.

]]>http://www.idimmu.net/2014/07/23/yum-error-couldnt-fork-cannot-allocate-memory/feed/1The Albert Burger – Best Burger in Brighton?http://www.idimmu.net/2014/04/09/the-albert-burger-best-burger-in-brighton/
http://www.idimmu.net/2014/04/09/the-albert-burger-best-burger-in-brighton/#respondWed, 09 Apr 2014 11:16:23 +0000http://www.idimmu.net/?p=839It’s rare that I’m genuinely in shock and awe of something, but that’s how I felt last night in The Albert, down under Brighton train station! The menu came with a crazy amount of options, so for the burger I added bacon and cheese and for the chips, thick cut rather than skinny and chilli […]

]]> It’s rare that I’m genuinely in shock and awe of something, but that’s how I felt last night in The Albert, down under Brighton train station!

The menu came with a crazy amount of options, so for the burger I added bacon and cheese and for the chips, thick cut rather than skinny and chilli and cheese. Not chilli cheese mind, as that was a separate option, as were the beef brisket, hash browns, onion rings, guacamole etc etc etc TOO MANY CHOICES! The entire thing came to £10 on the nose.

I’m actually feeling bad writing this up, as the photos don’t do the burger justice. They don’t show the perfectly cooked centre of the meat, the delicious crisp of the chips and the amazing tenderness of the brisket (at least I think it was brisket, the menu just said ‘chilli’…)! I should probably do one of those Internet courses on food blogging and photo taking or something

The burger came with real bacon, the kind of bacon you’d be proud of, and the chilli on the chips? Not the minced beef and stewed kidney bean chilli I was expecting, rather a phenomenal slow cooked beef brisket flavoured with a deliciously spicey concoction.

The entire thing was awesome. Could this be the best burger in Brighton? It’s definitely the best one, hands down, that I’ve had in 2014.

]]>http://www.idimmu.net/2014/04/09/the-albert-burger-best-burger-in-brighton/feed/0Adsense 2014 April Foolshttp://www.idimmu.net/2014/04/01/adsense-2014-april-fools/
http://www.idimmu.net/2014/04/01/adsense-2014-april-fools/#respondTue, 01 Apr 2014 11:19:24 +0000http://www.idimmu.net/?p=814It’s nice to see that idimmu.net doesn’t just have a global audience but a solar system wide audience too! 62.% of my site’s earnings come from Europa, thanks for the heads up, Google and happy April fools to you guys too 🙂

]]>http://www.idimmu.net/2014/03/26/speeding-up-mdadm-raid-rebuilds/feed/1authorized_keys vs authorized_keys2http://www.idimmu.net/2014/03/26/authorized_keys-vs-authorized_keys2/
http://www.idimmu.net/2014/03/26/authorized_keys-vs-authorized_keys2/#respondWed, 26 Mar 2014 14:28:18 +0000http://www.idimmu.net/?p=803Earlier today I was setting up a brand new server for a migration and just as I was typing scp .ssh/authorized_keys2 my brain went and asked a question.. What is the difference between authorized_keys and authorized_keys2? I’ve been working with Linux for well over a decade and some of my practices stem from things I […]

]]> Earlier today I was setting up a brand new server for a migration and just as I was typing scp .ssh/authorized_keys2 my brain went and asked a question..

What is the difference between authorized_keys and authorized_keys2?

I’ve been working with Linux for well over a decade and some of my practices stem from things I learned in the ’90s that still work, putting all my public keys in ~/.ssh/authorized_keys2 is one of those things.

authorized_keys vs authorized_keys2

In OpenSSH releases earlier than 3, the sshd man page said:

The $HOME/.ssh/authorized_keys file lists the RSA keys that are permitted for RSA authentication in SSH protocols 1.3 and 1.5 Similarly, the $HOME/.ssh/authorized_keys2 file lists the DSA and RSA keys that are permitted for public key authentication (PubkeyAuthentication) in SSH protocol 2.0.

Which is pretty self explanatory, so that’s what the key difference in the files were originally, authorized_keys for RSA in SSH 1.3 and 1.5 and authorized_keys2 for 2.0

What is the difference between authorized_keys and authorized_keys2?

However, that’s from releases of OpenSSH earlier than 3.0, which was released in 2001, a long time ago.. looking back at the OpenSSH 3.0 release announcement authorized_keys2 is now actually deprecated. We should all just be using authorized_keys instead from now (er, 2001..) onwards!

]]>http://www.idimmu.net/2014/03/26/authorized_keys-vs-authorized_keys2/feed/0do-release-upgrade Checking for a new Ubuntu release No new release foundhttp://www.idimmu.net/2013/11/23/release-upgrade-checking-new-ubuntu-release-new-release-found/
http://www.idimmu.net/2013/11/23/release-upgrade-checking-new-ubuntu-release-new-release-found/#respondSat, 23 Nov 2013 20:08:02 +0000http://www.idimmu.net/?p=795My HTPC is almost appliance like, in the way I never upgrade it, i.e. this morning it was still running Ubuntu 11.04 Natty Narwhal… It’s also not very appliance like in that it’s also full of random development stuff that probably shouldn’t be on it as well as several different types of databases, my backup […]

]]>My HTPC is almost appliance like, in the way I never upgrade it, i.e. this morning it was still running Ubuntu 11.04 Natty Narwhal… It’s also not very appliance like in that it’s also full of random development stuff that probably shouldn’t be on it as well as several different types of databases, my backup infrastructure and tons of other things you really don’t care for.

But not today. Today I was bored and decided the best use of my time was to replace MythTV with XBMC. Not only that, I figured I should probably upgrade from

Ubuntu 11.04 (Natty Narwhal)

Ubuntu 11.10 (Oneiric Ocelot)

Ubuntu 12.04 LTS (Precise Pangolin)

Ubuntu 12.10 (Quantal Quetzal)

Ubuntu 13.04 (Raring Ringtail)

Ubuntu 13.10 (Saucy Salamander)

That’s a lot of upgrading. It would have probably been better for me to just install 13.10 ..

But when I got to Pangolin, the 12.04 LTS EVERYTHING WENT WRONG!

rus@relax:~$ sudo do-release-upgrade -p
Checking for a new Ubuntu release
No new release found

OMG I hear you cry, much like I did. WHAT IS THIS??? I tried everything, apt-get update, turning it on and off again, throwing things at the TV, I even went outside and bought a coffee. None of the above worked. This was because I was stupid.

do-release-upgrade Checking for a new Ubuntu release No new release found

The reason for the error was because I’d arrive at an LTS release. And the do-release-upgrade configuration had changed to now *stick* to LTS releases and not upgrade any more. So as the new 14.04 LTS isn’t out yet (as we’re not in the future, dummy) it couldn’t find anything to upgrade to.

The fix is to tell the computer to just upgrade to the next release and not be so stubborn by editing /etc/update-manager/release-upgrades

# Default behavior for the release upgrader.

[DEFAULT]
# Default prompting behavior, valid options:
#
# never - Never check for a new release.
# normal - Check to see if a new release is available. If more than one new
# release is found, the release upgrader will attempt to upgrade to
# the release that immediately succeeds the currently-running
# release.
# lts - Check to see if a new LTS release is available. The upgrader
# will attempt to upgrade to the first LTS release available after
# the currently-running one. Note that this option should not be
# used if the currently-running release is not itself an LTS
# release, since in that case the upgrader won't be able to
# determine if a newer release is available.
Prompt=lts

See how it says Prompt=lts? THATS JUST RUBBISH! Change it from lts to normal then rerun do-release-upgrade. Theres a good boy!

]]>http://www.idimmu.net/2013/11/23/release-upgrade-checking-new-ubuntu-release-new-release-found/feed/0Honey Beer Breadhttp://www.idimmu.net/2013/10/27/honey-beer-bread/
http://www.idimmu.net/2013/10/27/honey-beer-bread/#respondSun, 27 Oct 2013 18:01:36 +0000http://www.idimmu.net/?p=786I gave up drinking 3 months ago, but still have a fridge full of beer which I didn’t want to pour down the sink, so I decided to make something with it. I found My Fridge Food, which is an awesome little site that will take the contents of your fridge and cupboards and suggest […]

]]> I gave up drinking 3 months ago, but still have a fridge full of beer which I didn’t want to pour down the sink, so I decided to make something with it. I found My Fridge Food, which is an awesome little site that will take the contents of your fridge and cupboards and suggest recipes! A lot of the recipes were rubbish, poached eggs,

I found this honey beer bread recipe from Michelle’s awesome Brown Eyed Baker blog, and armed with a bottle of Desperado totally destroyed my kitchen.

Like, completely destroyed it. Flour, everywhere. Mostly on me. But an hour later, I took out of the oven some delicious beer and honey crack.