Archive for 2013

fixing my ps3 controller with… electrical tape?

i’m not getting a ps4. i’m quite content with my ps3 — except for when either it overheats or the controllers decide to randomly push buttons for me when i’m playing a game.

asshole.

asshole.

not cool at all. especially when i’m on a breakaway down the pitch and my player decides to boot it into the stands sitting in the sideline (fifa)

this has happened to me before… it’s quite annoying. i used to think that it may have been interference effing with the connection from controller to ps3… but apparently it’s the contacts within the controller itself

to the youtubes! i found this great video tutorial, discussing the problem and also the solution. all i really needed was electrical tape and a jeweler’s screwdriver Read the rest of this entry »

recipe: chili

this is geoff’s recipe for chili — it’s damn good. make it.

ingredients

  • 2-3 cloves chopped garlic
  • 1 lbs. turkey or other red meat
  • 16 oz pinto beans (drained)
  • 16 oz kidney beans (drained)
  • 32 oz chili beans
  • 32 oz crushed tomatoes
  • salt, pepper, cayenne pepper
  • 1 can or bottle of beer: guinness or newcastle
  • if you don’t have fresh spices like cumin and some of the others you can grab a regular chili seasoning packet
steps
  1. first brown garlic in a little heated oil
  2. then brown the meat
  3. add beer
  4. add beans
  5. add tomatoes
  6. add spices
  7. turn to low, simmer for 30 minutes or more.
  8. boomski

qTranslate: Issues with Duplicate Content?

so i’ve been using this wordpress plugin that will help your site become multilingual called qTranslate. it’s awesome. it allows you to add different translations for menus, posts, pages, widgets, etc with a little bit of effort (of course, every project is different, some php coding may be required). here’s a fairly quick startup guide

the thing is, we only need the plugin for a set of pages and that’s it… not the most ideal solution, but it’s working… or was

i found a random issue that no amount of googling could resolve… every page that didn’t require translation would display fine except for the below snippet of code

essentially, the code was using “get_posts” to display a page within a page (almost inception-like)

Read the rest of this entry »

WordPress: Media Uploader for Meta Boxes

so i’ve been running into a nagging issue with wordpress’ new instance of its media uploader (released in v3.5)

if i had a meta box with an image uploader, it would conflict with the standard “Add Media” button for the editor

previous code

uploader.js

jQuery(document).ready(function() {
var form_field;
jQuery('.button-upload').click(function() {
form_field = '#' + jQuery(this).next('input').attr('id');
tb_show('', 'media-upload.php?type=image&TB_iframe=true');
return false;
});

window.send_to_editor = function(html) {
imgurl = jQuery('img',html).attr('src');
if(!imgurl){
imgurl = jQuery(html).attr('src');
}
if (jQuery(form_field).length > 0) {
jQuery(form_field).val(imgurl);
}
tb_remove();
}
});

Read the rest of this entry »

I spotted the best doppelgänger

i’ve seen a few good doppelgängers in my day… but they’re always qualified with a “but” e.g. “that looks like ‘so and so,’ but fatter”

there’s a good one at ballast point — one of the chicks that works there looks like rashida jones

over the weekend, i spotted the doppelgänger to end all doppelgängers — he essentially was THREE people Read the rest of this entry »