tutorial Posts

How to disable TalkTalk Error Pages (DNS Redirection) through Barefruit

How to disable TalkTalk Error Pages (DNS Redirection) through Barefruit

Seen this at all?

You probably will have but maybe for another ISP, they pop up when you attempt to get to a domain name that doesn’t exist or isn’t propagated by DNS. The service itself is fairly useful as it can be used to take you to websites even if you made a stupid spelling mistake like asda.co.up, but they can also be the most annoying thing in the world if you own servers – for example before disabling this I spent 25 minutes wondering why I couldn’t reach my subdomain even though I could from basically anywhere else…

Connecting to a Raspberry Pi directly through ethernet.

For my project using Raspberry Pi I needed access to it without having a monitor but also enough to be able to change things – VNC is of course the answer! But I also want to be able to connect it directly to my laptop because I wouldn’t have a router or anything. Thankfully RPi supports Auto-MDIX so it’s possible to connect without a crossover cable, but the only issue is the RPi needs to know what it’s IP address is. I spent a while looking for how to do this, most things said just plugging the cable into the RPi and laptop would work but I still had absolutely no idea what the IP of the board was – so the easiest way to fix this is simply to remove the SD card from the board, place it into a computer and edit the cmdline.txt file, adding this to the end:

ip=169.254.0.2

You can replace the IP with whatever you need, then simply plug into both and SSH into the RPi and you should be good.

Note: You should also create a second copy of the cmdline.txt file to not include this as this won’t work for any other connection (router).

How To: Handle command line arguments (launch parameters) in XNA.

Sometimes games use command line arguments such as “-window” so that games can easily be launched with these options for whatever reason. (In my case, they like to launch in stupid resolutions that my monitor doesn’t support ¬¬).
It’s always nice to allow for this type of launch option for those that want it so here I’ll explain how to handle these options.

banner