shortcut with folder tree

i like shortcuts to folders to speed things up. i’ve always created shorcuts by right clicking on the folder -> create shortcut. a shortcut created that way will bring up the folder content but it will not give you a windows explorer view with the folder tree on the left i.e.

Windows explorer with folder tree

to create a shortcut with the folder tree do following:

  1. Right click an empty area of the desktop and choose New ->Then choose Shortcut from the list of options. A Create Shortcut dialogue box will appear.
  2. In the Command line box insert this line: %SystemRoot%\EXPLORER.EXE /n,/e,d:\
  3. Change the d:\ in the line above to the directory you wish to open. As an example if you had a folder named data in c:\ you would change the line to %SystemRoot%\EXPLORER.EXE /n,/e,c:\data
  4. Follow through the dialogue and give your shortcut a name. Once finished, if you double click on the shortcut created, it will bring up the appropriate folder with the windows explorer view.

the good way to fix float issue in container

MUST LEARN CSS TRICK!!

this issue has been bugging me for too long. i finally got off my lazy butt and researched for a solution. if you do a lot of css layouting, sooner or later you will run into this issue.

How To Clear Floats Without Structural Markup tutorial gives the best solution i can find for it.

in case that site goes down or disappears, i’ve saved a backup copy here. it’s too precious to be lost :)

and yes i’m actually working on a new layout for pure essence. WOW the sun is rising from the west. FYI i’m ditching support for 800?600 resolution in the new layout. if you still use 800×600 you either need to get a bigger monitor or use the horizontal scrollbar.

OH YEA, i also turned big fat 25 today! i had a lot of fun playing cards with family. we went to this Sushi House restaurant in Cedar Rapids. it is THE BEST place for Japanese and Chinese food around here!!! SERIOUSLY!

Gamespot

I found gamespot a great community for video game sharing etc. This weekend I’m going to complete my game collection list there.

Visit me there and add me as a friend if you are a member. If you like to play games, you should create an account like daynah :)

Also I really want a Wii now!! Daynah said we can connect our Wiis via the internet and play games like tennis vs. each other. How cool would that be

Wii Wii Wii
Awesome -> http://www.wiiworkout.net/
Not -> http://www.wiidamage.com/2006/12/05/tv-skewered-by-wii-remote/
Ouch -> http://www.joystiq.com/2006/11/20/flying-wiimote-busts-60-tv/

COLTS WON!!!!!!!!

Colts WON 2006 AFC Championship

COLTS WON!!!!!!!!

COLTS WON!!!!!!!!

COLTS WON!!!!!!!!

Andy and I embraced each other after the last Marlin Jackson interception. Tears were rolling down my face. I couldn’t believe how joyful I was! I feel so happy for the Colts esp. Peyton Manning. Now people can shut up about how he’s never been to a Superbowl. He’s going to one NOW!

The game was excruciating to watch. I had to hold my breath until the last 16 seconds. THANKS TO THE GUYS FROM IOWA!!! Dallas Clark & Bob Sanders! Dallas had 6 catches for 137 yards and Bob Sanders had a crucial pass breakup at 3rd & 4 on NE’s second to last possession with 2:30 to go.

I had HUGE doubt after the first half but they came back from the half time with GREAT looks coming back from a 18-point deficit (biggest in AFC Championship history). Wouldn’t I wish they’d have taken the lead earlier but they didn’t until there was only one minute left in the game. Peyton manning couldn’t watch the last NE drive and I totally felt for him.

My parents taught me

1. My parents taught me TO APPRECIATE A JOB WELL DONE.
“If you’re going to kill each other, do it outside. I just finished cleaning.”

2. My parents taught me RELIGION .
“You better pray that will come out of the carpet.”

3. My parents taught me about TIME TRAVEL .
“If you don’t straighten up, I’m going to knock you into the middle of next week!”

4. My parents taught me LOGIC.
” Because I said so, that’s why.”

5. My parents taught me MORE LOGIC
“If you fall out of that swing and break your neck, you’re not going to the store with me.”

6. My parents taught me FORESIGHT.
“Make sure you wear clean underwear, in case you’re in an accident.”

7. My parents taught me IRONY.
“Keep crying, and I’ll give you something to cry about.”

8. My parents taught me about the science of OSMOSIS .
“Shut your mouth and eat your supper.”

9. My mother taught me about CONTORTIONIST.
“Will you look at that dirt on the back of your neck!”

10. My mother taught me about STAMINA.
“You’ll sit there until all that spinach is gone.”

11. My parents taught me about WEATHER .
“This room of yours looks as if a tornado went through it.”

12 My parents taught me about HYPOCRISY .
“If I told you once, I’ve told you a million times. Don’t exaggerate!”

13. My parents taught me the CIRCLE OF LIFE.
“I brought you into this world, and I can take you out!”

14. My parents taught me about BEHAVIOR MODIFICATION .
“Stop acting like your father!”

15. My parents taught me about ENVY.
“There are millions of less fortunate children in this world who don’t have wonderful parents like you do.”

16. My parents taught me about ANTICIPATION.
“Just wait until we get home.”

17. My parents taught me about RECEIVING .
“You are going to get it when you get home!”

18. My parents taught me MEDICAL SCIENCE.
“If you don’t stop crossing your eyes, they are going to freeze that way.”

19. My parents taught me ESP.
“Put your sweater on; don’t you think I know when you’re cold”

20. My parents taught me HUMOR .
“When that lawn mower cuts off your toes, don’t come running to me.”

21. My parents taught me HOW TO BECOME AN ADULT.
“If you don’t eat your vegetables, you’ll never grow up.”

22. My parents taught me GENETICS.
“You’re just like your father.”

23. My parents taught me about my ROOTS .
“Shut that door behind you. Do you think you were born in a barn”

24. My parents taught me WISDOM.
“When you get to be my age, you’ll understand.”

25. My parents taught me about JUSTICE .
“One day you’ll have kids, and I hope they turn out just like you.”

A new way of array checking in PHP

i just saw the funniest thing in PHP yet! below is taken from here.

This code is lifted from a socket handling class that I’ve been asked to work on today. Prepare to cringe:

if (eregi('Invalid argument supplied for foreach() in /usr/cvs/projects/13xx/1371/Classes/XML/XML_inc.php on line 392',$v[0])) { return false; }

It’s worth noting that the foreach() statement will move from line 392 with so much as a return key (as it did today?). It’s also worth noting that the path information is gloriously hard-coded. This was deemed dailywtf worthy in the office, and as such I present it to you now.

Happy Wednesday :)