PC Button Box

I picked up an Arduino from work and attempted to create a Button Box, and it bloody worked! I found the wiring diagram and code from Kevin Peat’s site. This is a very picture heavy post!

Drill.jpg
Bought a box, made a layout and got to work with a drill.

Planning.jpg
The bracket inside was for attaching it to my wheel stand. It came from an Ikea bookcase, its the bracket for attaching it to the wall. #Recycling =P

Buttons.jpg
It’s a bit wonky, but it’ll do!

IDE.jpg
I started the soldering part by removing every other wire from an IDE cable, so it would leave me only the wires on the same row.

IDE%20Arduino.jpg
I trimmed the wires I didn’t need. Using an IDE cable gave me something I could hot glue onto inside of the case so I can easily remove the Arduino if it didn’t work/I needed it for another project.

Wiring.jpg
There’s two quarter inch jack sockets on the back for foot pedals, or when I have the time and resources a rally style gear stick =D

Attached.jpg
And finally! The moment you’ve been waiting for (possibly).

Attached2.jpg
I intend to make a fancier looking one someday, but this was super cheap to make!

Flickr’s New Update and Viewing Images

Flickr launched it’s redesign earlier this month and it broke something I use a lot, the ability to reverse search images via Google. Usually I could just right click and “Search Google for this image”, but no longer is that available. There’s a work around, but its not as quick as it used to be. This method can be used for hotlinking, but bear in mind that’s against Flickr’s T&C.

Open the image you wish to view and open the download photo option. Next click and drag the box with the image size you want and drop it on the tab bar, in my case I clicked and dragged the original box. Next you will need to cancel the download.

Flickr_download

 

After you’ve cancelled the download look at the URL in the address bar. Take a look at the URL of my image below:

https://farm9.staticflickr.com/8057/8157532508_802e299631_o_d.jpg

Notice the _o_d at the end? The _o is for Original and the _d is for the download. If you remove the _d and press enter you’ll see your image allowing you to hotlink, or simply search Google for this image.

Searching for your images via Google will allow you to find any stolen images, e.g. people passing it off as their own, or cropped out watermarks.

I hope you found this helpful.

 

 

Extended

Given this method takes too much time if you’d like to search multiple images at one, there’s a relatively fast way of do that. The idea is to create a html file with all the images in and bringing back the right click functionality. But first you’ll need to download all of the image files from your Flickr, the best way I’ve found is by using Bulkr. Once you have all of the files, download Bulk Rename Utility and navigate to your image folder (most likely Local Disk>Users>USERNAME>Desktop>Bulkr). Using Bulk Rename Utility we have to edit the Remove and Numbering settings, use the settings below to list images in number order.

Bulk

Next click in the upper part of the window and press Ctrl+Alt to select all images and click the Rename button in the bottom right. Now that you have all images renamed in number order you can save this file as a html document and place it in the image folder.  To save the txt file just press Ctrl+S and make sure it looks like the following:

File name: Image.html
 Save as type: All Files

Once that’s saved into your Bulkr/image folder go ahead and open the Image.html file and then you will see your images. Feel free to add or takeaway any numbers, right now its up 360 images, but you can easily add more by copy and pasting some of the existing code.

<img src="X.jpg">

This method is probably the most convenient way right now to have the ability to right click and search Google for multiple images quickly.

Update WordPress RSS Widget More Frequently

The WordPress RSS widget update itself  twice a day. To make that more frequent you can add this bit of code to your functions.php file.

add_filter( 'wp_feed_cache_transient_lifetime', create_function( '$a', 'return 1800;') );

The value 1800 means the number of seconds before the RSS widget updates itself. 1800 seconds is 30 minutes. You can just copy and paste this code at the bottom of your functions.php file.