I’m an Idiot

I’ve been working on a pretty big project on Github with a couple of developers. It has a lot of potential and requires a lot of work. We happen to be using a Content Delivery Network (CDN), because we’re hosting files. I thought I would be smart, and route all traffic via the server before routing to the CDN. This would then allow me to restrict access to the files so that they could only be accessed by specific referers (specific IP addresses or websites).
Continue reading

The Pirate Bay Perpetual IP Address

Disclaimer: this is old and doesn’t work anymore, but I’m going to leave it up here for posterity. I can’t say I’m amused by the changing from .sx to .ac and then to .pe. It’s annoying. Open up Terminal, type sudo nano /etc/hosts, add a new line with the following: 194.71.107.80 thepirate.bay Now you can browse to http://thepirate.bay/ instead of having to remember which domain name extension they’ve moved to.
Continue reading

Making a Toggle for Screen Recording in Android 4.4

Last night I made a blog post on how to screen record. This morning, I decided to make toggles with Tasker so that I could do it all from my phone easily, without a computer. Install Tasker. Install BusyBox. Copy this file to /sdcard/ with ADB; ./adb push screen.sh /sdcard/screen.sh Next you can use ./adb shell to get into your phone’s terminal. Type su, a super user prompt should appear on your phone, grant permissions.
Continue reading

Android KitKat Native Screen Recording

I’ve just tried it out and it is absolutely awesome! Before I start, I’d like to thank Android Police for the initial information on how to do it, in this article. There are two ways to go about this, the first is to use a terminal emulator (you’ll need root) on your phone to execute the commands and the second is to download ADB and execute the commands through your terminal.
Continue reading