phpBB admin password manual reset

phpbb_logo

Today I ran into a situation where I had forgotten the password to my development instance of phpBB 3. I was stuck in a situation were I needed to reset the password. I had full admin access to the database, so changing it there wouldn’t be the problem. The real problem is that phpBB uses its own password hashing, not MD5.

In a work around, I created a new user and used the password “123456” looking at the database , in the users table of the phpBB install. I saw the “user_password” field was “e10adc3949ba59abbe56e057f20f883e”.

I then changed my admin accounts user to the same string, “e10adc3949ba59abbe56e057f20f883e”.

phpbbpasswordreset

I went to the phpBB login screen, fillled out my username, and entered the password “123456”… BINGO! it worked.

So to save you the work. You can follow what I did or just use these hashes to reset your own password:

Hash: e10adc3949ba59abbe56e057f20f883e
Password: 123456

Hash: $H$9Ae3Uk.ECdWW5ya13M4ErWhr4c.761/
Password: password

I hope this helps someone else out there.

How to embed YouTube Videos in HD format

youtubehd-vertical

YouTube.com is now offering two video formats on their site, standard and high def (HD), but they only allow an option for you to embed the standard version. This tutorial is going to show you how to get maximum quality and take advantage of the HD videos that you embed in your blog posts or social networking profiles.

Step 1: Copy this code and paste it to wherever you intend to embed the video:







Step 2: Grab the direct link to your video. In case you’ve never done this before, it can be found to the right of the video player on YouTube or from your browser’s address bar.

gaburl

Step 3: copy the alphanumeric URL varialbe at the end of the link you grabbed in step 2.

urlvars

Step 4: The finishing touch involves making a simple change to embed’s URL source code to direct it to the HD version. To do this, you simply need to paste what you copied in step 3 into the part between /v/ and the & symbol in the embed code. I’ve labeled this “YOURVIDEOCODEHERE” in the embed code in Step 1.

Normal quality:


HD Quality:




no place like home (and end keys) on a mac

keyfixer

I never noticed how often I use the “home” and “end” keys when I type until they were taken away from me. I am a programmer by trade, and as a result, I type code all day long. On a PC the end key will take you to the end of a line, and the home key will bring you to the beginning of a line. On a mac, this functionality doesn’t exist. It’s simple missing! It just makes a “ding” at me

Maybe it would be different if I was using a mac keyboard with my mac mini. Right now I am using a KVM switch to share my microsoft mouse and keyboard with my PC and my Mini. As a result, My mind and hands continue to type and work just like I was coding using a PC. “DING DING DING” damn its annoying. I had no idea i hit those keys so often, but the mini does a good job at reminding me 🙁

I tried to live with it but it got old fast. I decided to do a google search for “home end keys mac” to see if there was a fix for this. The first result was a God send. keyfixer is a tiny application for pc-to-mac switchers like me, that remaps your keyboard and adds back the functionality of the home and end keys.

It’s amazing how much more productive I feel just by having those 2 keys back. I guess after 15+ years of typing/programing for a living, the home and end keys are a perminiate part of my arsenal and I will never underestimate their power ever again.

I got a mac

mac_mini

As part of my 2009 new years resolutions, I’m going to write an iPhone application and launch it this year. I realized that the first quarter of the year is almost over and I haven’t made any progress on this. The biggest hurdle was the development platform. I’ve tried to install Mac OS X onto my PC several times but it never worked right, so I decided to bite the bullet and get the ball rolling, I spend my hard earned american cash dollars and bought a mac.

I weighted out all my options and decided that the lowest barrier to entry would be the mac mini. I’m not looking to completely switch to mac (yet), I’m planning on keeping my PC going strong and using the mac mini as a development platform.

I was really impressed with the packaging of the mac mini, and the form factor of the actual machine, it’s well…. mini.

macminiruler

It’s going to take a bit if time for me to get the full swing of OS X. I’ve been using windows and ubuntu for so long now that I have an expectation for application behavior, and OS X is throwing some curve balls at me  that I need to get used to. The good thing is that most of my friends, and google are helping me cope and deal with it.

I think it would help if I actually got an apply keyboard to go with it. instead of using my PC keyboard. Too bad that apple doesnt make an ergonomic keyboard like the one I use.

I’m going keep this blog updated with my switching experiance as I slowly easy into the fan boy soaked world that is Apple. iPhone app development, here I come!