Python Script to Retrieve Latest Video Posts From BTJunkie.org

I whipped up this quick Python script, written using Python Interpreter 3.2.2, so I could quickly see the latest additions to BTJunkie.org Video section, sorted from Most Seeded to Least Seeded. This only returns one page of results (any more and you can just visit the site) which is approximately 50 results. Without further ado, here is the script.

Batch Renaming Made Easier

UPDATE! January 4th, 2012

Just updated this script yet again. Now renames in order by date, to keep your pictures/files in the order of which they were created as well! Works great on pictures. Please, submit any bugs you find! Info for submitting in script notes. Get here.

UPDATE! September 07th 2010

Just updated the script and fixed a bug. In the past, if you used this script to rename a bulk amount of files using the same naming convention as it is already, it would remove/delete files. This is because if it tried to rename IllinoisTrip-99.jpg to IllinoisTrip-01.jpg and 01 already existed, it would go ahead and perform theĀ  rename therefore destroying the original IllinoisTrip-01.jpg. Continue reading

Missing Icons When Rearranging Apps on Jailbroken iPhone 4

Introduction

I have had this issue for about 2-3 weeks now, and it was one of those times when “it just happens”. I had not changed a thing on my phone, yet the bug was there. It took me forever to figure out why, and now I want to share with you the fix, because honestly there wasn’t enough information out there and I had to dig through a lot of google searches to find the solution.

Bug & Solution

Turns out the bug is with SBRotator4. When I went to rearrange or delete apps, the icon would for apps would disappear but the text would remain… you could still select the app, however, the issue was quite annoying. I only installed this application long ago just to see what it was like when everything was rotatable. I thought it would be nice, but honestly, it was a pain in my ass. I disabled it and forgot all about it. I hadn’t messed with SBRotator4 in months, that is until this issue came abroad. The fix is easy, all you have to do is load up Cydia and update SBRotator4. However, like many others, we mess with Cydia a few times here and there, but not enough to open it up so it can find new updates. Mainly because it takes 2 minutes or so for it to update the database.

xstart – The script for people who use more than one WM

Do you use more than one Window Manager or DE? This is the script for you then (assuming you dont use a login manager)!! I wrote this little script because I was tired of having to edit my .xinitrc file whenever I wanted to use a different WM/DE. You can easily modify this script to add/remove WM/DE’s. If you save this script as “xstart” in a path that is part of your $PATH environment variable, then all you have to do is type xstart and you will be presented with a dialog of choices. Once you choose your WM/DE, it will back-up your old .xinitrc to .xinitrc_backup and rewrite your .xinitrc accordingly. Check out the script here.

Rebuilt

Introduction

I just rebuild my wifes PC, after two years of inactivity due to the motherboard blowing out. I purchased a quad core intel i5 processor in a Gigabyte motherboard. I ended up meeting somewhere between function, value and price. I have 8GB of DDR3 inside but I am running a 32-bit Arch distribution.

Plans

I wanted to originally start with a 64-bit Arch Linux install but for some reason the disks wouldnt burn properly and I was in a time contraint to get this done. I was reading somewhere, although I didn’t bookmark, where someone had started with 32-bit and upgraded to 64-bit without reinstallation. So, look forward to a blog detailing my adventures of upgrading my distribution from 32-bit to 64-bit.

Is It Worth It?

Well, yes. I have 8 gigabytes of RAM and my 32-bit operating system can only detect half. That means I am only running at half the performance. I spent the money to beef up and repair the PC, so any half measures is only cheating myself.

Dropbox and Arch Linux

Everyone has wanted to share some sort of file with another person at some point in time. Now it doesn’t have to revolve around both people needing the same software or even the limitations pushed on you by your email providers. Dropbox is the answer. With just the free sign-up plan, you get 2gb of storage. This may not sound like much compared to Microsofts SkyDrive but the benefits of using Dropbox is the software solutions that are available to *nix users. Dropbox has designed software to easily integrate in to your user interface which gives the user drag-and-drop capability outside of the browser, pre-compiled for the major operating systems. However, if it isn’t available pre-compiled, the source is readily available to be built on your flavor of Linux! Check it out at DROPBOX and if you are an Arch Linux user, check out the AUR.

Arch Linux and Gnome – Fixing your places menu

I recently had an issue with the Places menu. The issue being that whenever I tried clicking on any item in the Places menu, it would open an Eye of Gnome (Image Viewer) window instead of using Nautilus. Talk about irritating. I mean, I consider myself to be damn good with the command line but when it comes to doing quick little tasks, the GUI can be effective. So, I set out to locate what the fuck was going on.

I navigated through my dot files in the home directory and came across the mime file. This file is located at, at least on Arch, in ~/.local/share/applications/mimeapps.list. I edited this file with nano and the last entry was this: inode/directory=eog.desktop

Well, I figured this would be the culprit considering the eog(eye of gnome) entry. I changed it to look like this: inode/directory=nautilus.desktop

I saved, and then tested. It worked! The Places menu now uses Nautilus. WOOT WOOT. Hope this information helps someone else out there.