NAVIGATING DIFFICULTY

NAVIGATING DIFFICULTY

Showing determination in the face of fear makes us extraordinary....

Read more
STARTING FROM SCRATCH

STARTING FROM SCRATCH

In case you were wondering, yes; ever since I was a school boy, I’ve loved to wear button-up shirts, vests, ties, and...

Read more
HANDLING STRESS

HANDLING STRESS

In interviews sometimes I feel like laughing out loud when I’m asked concerning some threshold of stress that I can handle or work under. It’s obviously never the correct response but...

Read more
Homepage / How to

Getting anything done for free these days takes a bit of working. Lets follow some steps to see if what worked for me can work for you as well. Step 1. Power your phone up and act like you are going to make a call. Type in *#06# your IMEI number will appear on the screen. Copy that down somewhere.   Step 2. You need to retrieve your BlackBerry device’s MEP code. To do this you need to open up your “OS Engineering Screen”. On the main menu screen of your BlackBerry press down ATL+Shift+H (for help) at the same time.   Step 3. Go to OS Engineering Screens > Device Info.   Step 4. Scroll down under the SW Parts List and you will find your MEP. In my case it was MEP-04104-007. Take this number down. You will need it.   Step 5. Download this BlackBerry MEP generator and fire it up. You simply select from the drop down menu which MEP you have (such as mine above MEP-04104-007 from steps 2 – 4) then you type in your IMEI number in the appropriate textbox and click on “Calculate”.   Step 6. Back to your BlackBerry’s main menu screen go to Options > Device > Advanced System Settings > SIM Card.   Step 7. Type in MEPD. No typing will appear on the screen as you do this. Once that is typed your screen list will expand and you will be able to see the following (or similar): Personalization: SIM Network Network Subset Service Provider Corporate Each of these settings in the phone represent a Mobile Equipment Personalization (MEP). Each of these can be locked and if that’s the case you will have to select each one and unlock them. Your unlock code will be between 10 and 16 numbers long. For better clarification, the above is what you will see along with whether it is active or disabled. Like so: Personalization: SIMDisabled NetworkActive Network SubsetDisabled Service ProviderDisabled CorporateDisabled The “Active” and “Disabled” are not bolded on your phone as they are all smooshed into the other word. You will understand once you see it on your screen. Please note, each of the five personalizations are a different MEP. For instance, Personalization: MEP1 = SIMDisabled MEP2 = NetworkActive MEP3 = Network SubsetDisabled MEP4 = Service ProviderDisabled MEP5 = CorporateDisabled Each phone has 5 MEP’s that can be locked. In my case, T-Mobile only locked MEP2 and so I only needed to input the 1 code which unlocked the phone.   Step 8. Now from your MEP generator you can select one of the MEP codes that match what is Actively locked. For instance, the following codes is what will be presented in your generator screen: IMEI: 353039043459297 MEP: MEP_04104_007 ————————– MEP Codes: MEP1 :4486467426976036 MEP2 :7603376453602214 MEP3 :1577369485260306 MEP4 :8051453218862502 MEP5 :7845777045561355 ————————– Codes Successfully Done. So if MEP2 = NetworkActive is what is locked or showing active on your phone, you would select MEP2 :7603376453602214 from the generator as your code to enter.   CAUTION: BlackBerry only allows you to try a MEP code up to 10 times and then it will permanently lock on you and you will not be able to unlock that phone. Please make sure you type things in correctly. Step 9. To input your code scroll over the MEP you wish to unlock and type in MEP2 or the letters M E P and then the number 2 (alt+e). This will bring up the screen for you to place your MEP code. It should display that the code was accepted and you’re go to go! Enjoy your unlocked phone.

Read more

Sometimes, if your computer is shut off unexpectedly your Windows 7 Gadgets may stop displaying information correctly. Below you will find different ways that you can correct this issue. I’ll put some of the common ways to fix it and then I’ll save the best for last. Method 1. Step 1 – Launch Task Manager (taskmgr.exe or Ctrl+Atl+Delete>Start Task Manager>Processes), select the sidebar.exe process and terminate it if it’s running Step 2 – Windows Key+R and in the Run Box type “%LOCALAPPDATA%Microsoft\Windows Sidebar\” Step 3 – For safe keeping, make a copy of Settings.ini Step 4 – Double-click Settings.ini to open it in Notepad (or Notepad++ <- my favorite editor). Step 5 – Configuration settings for the last installed desktop gadget is usually located at the end of the INI file. Using the PrivateSetting_GadgetName line as the hint, locate the corresponding [Section #], select all lines underneath and delete it. Then simply select all lines underneath and delete it.Leave no spaces between rows by deleting any blank spaces. Then, move to the top of the INI file, and delete the Section# line that references the offending gadget. As you’ve removed the entries in [Section 5], also delete the following line: Step 6 – Right-click on the Desktop, and click Gadgets. This starts the Sidebar.exe process and shows the gadgets listed in the Settings.ini file. Other Idea – If you don’t want to go through having to do all of that work to the .ini file you can just rename your Settings.ini file (this will cause your Sidebar application to think all settings are lost and it will rebuild a fresh one).   Method 2. Step 1 – Download the gadget reset batch file by clicking here. Step 2 – Click on Save (if prompted), and save the .bat file to your desktop. Step 3 – Right click on the downloaded .bat file and click on Run as administrator. Step 4 – You will see a command prompt flash open and close as the .bat file runs. Step 5 – When finished, restart the computer to apply.   Method 3. For those who prefer to turn UAC off (like myself) and still use Windows 7 gadgets on their desktops, here is a simple registry fix to resolve the problem of Windows 7 Gadgets not working when UAC is turned off. This is the method that has historically worked for me. Step 1 – Windows Key+R and in the Run Box type “regedit.exe” Step 2 – Navigate to HKEY_LOCAL_MACHINE \ SOFTWARE \ Microsoft \ Windows \ CurrentVersion \ Sidebar \ Settings. Now, if “Settings” doesn’t exists you can right-click and create the folder called “Settings”. Step 3 – Right Click on the right pan of the registry editor and Create A New DWORD (of 32 Bit Value). Name it “AllowElevatedProcess” and set its value as “1”. Step 4 – Close the registry   Summary of Downloads & Extra Links   Helpful links How to Fix Image Thumbnails Not Displayed in Windows 7 and Vista? My Project Downloads Gadget Reset Batch File

Read more

Why PHP? Whenever possible I try to stay away from Microsoft products and .asp is just insane and bloated. PHP is swift and easy to use once you get a solid handle on it. Even if you like MS and you select that for your operating system on your server you can still run PHP which is part of the beauty of the language. On this page you’ll find downloadable scripts as well as the text files which show you the code so you can create things for your own website such as contact us forms. A lot of places try to provide contact forms like Go Daddy, LLC (for instance but they also like to keep their secrets because their forms are often times very difficult to use. Primarily because they are fearful of being…well, honestly I can’t really think of any reason to defend their stance on things. I guess if you would like to know why they do things they do you can contact them. Either way, here on my site I hope you will find it a place that doesn’t mind sharing the “secrets of the coding trade” then you can have fun getting your site to do what you want. On this particular page I was going to share different code that you can use on your web page. A lot of the code I’ve figured out on my own just coding around. Hopefully you can find some of my code helpful. Time to get the led out! In this area I will include the download links to the files so you can download them in .zip format(s) as well as viewing the code as .txt files. If you would like to download the .txt file, copy/paste then just change the file extension you can do that as well. As time moves forward I will be adding more to this list but for now this is a good start. Enjoy 😉 PHP & HTML Code Samples Contact Us Form CLICK HERE to download the zip file which includes both the index.php and the actual contact us form page titled matts_contact_form.php. Look at the code for the index page HERE. This will simply open a new window and allow you to view the content that would be in the index.php file. Again, if you would like to simply copy/paste the code and drop it in a .txt document and then just rename the file extention. It does need to be used with the matts_contact_form.php file though. Of course, HERE is the PHP code which makes the whole form work. It is designed so you can add in special fields such as “PHONE” or “ADDRESS” and such. Password Protect Page Using PHP Step 1.The main idea is to insert only one line of code into each of your web pages you want to protect. This code includes a form processing script at the beginning of your original code. It first displays a small form to enter your password and if it is ok then shows the original page content. So now we need to create a PHP script with a simple form processing. The form is very simple, only a password field and a submit button is present. The code is the following: <?php function showForm($error=“LOGIN”){ ?> <!DOCTYPE html PUBLIC “-//W3C//DTD XHTML 1.0 Transitional//EN” “DTD/xhtml1-transitional.dtd”> <html> <body> <?php echo $error; ?>   <form action=”<?php echo $_SERVER[‘PHP_SELF’]; ?>” method=”post” name=”pwd”> Password: <table> <tr> <td><input name=”passwd” type=”password”/></td> </tr> <tr> <td align=”center”><br/> <input type=”submit” name=”submit_pwd” value=”Login”/> </td> </tr> </table> </form> </body> <?php } ?> Step 2. As we don’t want to show the form always we put it inside a function and this function will be called if necessary. The main application logic checks if the form was submitted or not. If not then displays the form else check the entered password. If it fails then informs the visitor and displays the login form again. If the password was right then we do nothing so the rest of the code will be displayed. Don’t forget that in case of displaying the form we need to exit from the code processing to hide the important page content. The application logic looks like this: <?php $Password = ‘demo’; // Set your password here if (isset($_POST[‘submit_pwd’])){ $pass = isset($_POST[‘passwd’]) ? $_POST[‘passwd’] : ”; if ($pass != $Password) { showForm(“Wrong password”); exit(); } } else { showForm(); exit(); } ?> As you can see the password is hard coded and exists in human readable format. If you want you can store it in a separate file and encode it for example with md5() function. All is up to you. Step 3. Now we are ready with the script. Now if you want to protect any of your pages you need to insert the following line of code at the beginning of your PHP code: <?php require_once(‘protector.php’); ?>   Summary of Downloads & Extra Links   Program Downloads Contact us Form Zip Password Protect a page code in zip format, simply unzip it

Read more