Sony piiq headphones reviewed

by Josh Highland on June 16, 2010

The sony piiq head phones sound awesome for for a low price tag

0 Sony piiq headphones reviewed
  • digg Sony piiq headphones reviewed
  • facebook Sony piiq headphones reviewed
  • stumbleupon Sony piiq headphones reviewed
  • twitter Sony piiq headphones reviewed
  • delicious Sony piiq headphones reviewed
  • reddit Sony piiq headphones reviewed
  • friendfeed Sony piiq headphones reviewed
  • posterous Sony piiq headphones reviewed
  • tumblr Sony piiq headphones reviewed

{ 3 comments }

WordPress asking for FTP username/password?

by Josh Highland on June 7, 2010

wordpressFTP Wordpress asking for FTP username/password?

Are you annoyed with your wordpress install asking you for your FTP cradentials everytime you try to upgrade a plugin? I know I was.  Thankfully, there’s a simple solution which will save the FTP login (username/password/server) so WordPress stops asking you for them.  Here’s how you do it.

  1. Locate your WordPress root diectory and find the “wp-config.php” file.
  2. Edit the file and insert this somewhere in the middle as it’s own block, we normally put it after the mysql username/password block.
define("FTP_HOST", "localhost");
define("FTP_USER", "yourftpusername");
define("FTP_PASS", "yourftppassword");

Once you’ve made that edit, save the file and voila! No more punching in your ftp username and password all the time.

  • digg Wordpress asking for FTP username/password?
  • facebook Wordpress asking for FTP username/password?
  • stumbleupon Wordpress asking for FTP username/password?
  • twitter Wordpress asking for FTP username/password?
  • delicious Wordpress asking for FTP username/password?
  • reddit Wordpress asking for FTP username/password?
  • friendfeed Wordpress asking for FTP username/password?
  • posterous Wordpress asking for FTP username/password?
  • tumblr Wordpress asking for FTP username/password?

{ 1 comment }

Rubik’s Cube, my new favorite thing

by Josh Highland on June 2, 2010

rubiks cube Rubiks Cube, my new favorite thing

In my quest to embrace all things geek, I’m surprised that is has taken me so long to fall in love with this staple of geekdom. I am of course talking about the Rubiks cube.

I never had a rubiks cube growing up, sure I played with them but never at any length of time, or the intention of solving one.

The company that I currently work for had a developers conference and had some rubiks cubes with the company logo printed on them. After the conference, some of the left over cubes made their way into the hands of @BoringGeek, @LMajano, and myself. Nothing could have been crueler then handing some engineers a puzzle like a rubiks cube. I’m not going to lie, I physically lost sleep trying to solve the cube, but I had fun doing it.

I eventually broke down and started doing research on the rubiks cube and how to solve it. The more I learned about the cube, the more interested in it I became. I realized that solving the cube required pattern recognition and the implementation of algorithms through a series of motions. It was at that point in my mind that my computer science mindset kicked in and I started to make the cube do what I wanted instead of being surprised by what happened. I was in control of feeding the variables into the function and the function would produce a predictable and consistent result.

I can now solve the cube consistently, and typically around 3 minutes, a far cry from the speed cubing champions of the world, but I’m still proud of myself and continue to have fun solving the cube.

0 Rubiks Cube, my new favorite thing
  • digg Rubiks Cube, my new favorite thing
  • facebook Rubiks Cube, my new favorite thing
  • stumbleupon Rubiks Cube, my new favorite thing
  • twitter Rubiks Cube, my new favorite thing
  • delicious Rubiks Cube, my new favorite thing
  • reddit Rubiks Cube, my new favorite thing
  • friendfeed Rubiks Cube, my new favorite thing
  • posterous Rubiks Cube, my new favorite thing
  • tumblr Rubiks Cube, my new favorite thing

{ 0 comments }

timthumb.php returns a 404 Error in WordPress

by Josh Highland on May 20, 2010

create wordpress thumbnails 300x300 150x150 timthumb.php returns a 404 Error in Wordpresstimthumb is a great little php script that helps create thumbnail images (http://code.google.com/p/timthumb). I’ve used it before, but recently I purchased a wordpress theme that used it, and it wasn’t working.

I would get a 404 error when I tired to access the directly via a url like this:
theDomain.com/wp-content/themes/theTheme/scripts/timthumb.php?src=/wp-content/uploads/2010/05/moose1.jpg&h=207&w=237&zc=1&q=80

After some digging around in log files on my server I realized the error

SoftException in Application.cpp:610: Directory “/home/usernamehere/public_html/wp-content” is writable by others

My problem had to so with the directory permissions! “writable by others” means that the permission on the directory were set to “777″. I changed the permissions of the directory using chmod to 755, and everything started to work.

Lesson learned, if timthumb.php is not working at giving you 404 errors, check the permission of the directory that contains the php file.

  • digg timthumb.php returns a 404 Error in Wordpress
  • facebook timthumb.php returns a 404 Error in Wordpress
  • stumbleupon timthumb.php returns a 404 Error in Wordpress
  • twitter timthumb.php returns a 404 Error in Wordpress
  • delicious timthumb.php returns a 404 Error in Wordpress
  • reddit timthumb.php returns a 404 Error in Wordpress
  • friendfeed timthumb.php returns a 404 Error in Wordpress
  • posterous timthumb.php returns a 404 Error in Wordpress
  • tumblr timthumb.php returns a 404 Error in Wordpress

{ 6 comments }

xcode iPhone SDK   warning:comparison between pointer and integer

If you get the error “warning:comparison between pointer and integer”, odds are you are thinking right, but implementing your comparison wrong.

ur doin it wrong

if(count == 2) {

the right way

if([count intValue] == 2) {
  • digg iPhone SDK   warning:comparison between pointer and integer
  • facebook iPhone SDK   warning:comparison between pointer and integer
  • stumbleupon iPhone SDK   warning:comparison between pointer and integer
  • twitter iPhone SDK   warning:comparison between pointer and integer
  • delicious iPhone SDK   warning:comparison between pointer and integer
  • reddit iPhone SDK   warning:comparison between pointer and integer
  • friendfeed iPhone SDK   warning:comparison between pointer and integer
  • posterous iPhone SDK   warning:comparison between pointer and integer
  • tumblr iPhone SDK   warning:comparison between pointer and integer

{ 3 comments }