XAMPP IIS

To make both XAMPP and IIS work on a localhost is possible. With a few simple tweaks, you can easily make both work.

Here is how to configure your XAMPP,

1. open the file C:\xampp\apache\conf\httpd.conf
2. find the line ‘Listen 80′, change it to ‘Listen 8080′
3. find the line ‘ServerName localhost:80′, change it to ‘ServerName localhost:8080′
4. open the file C:\xampp\apache\extra\httpd-ssl.conf
5. find the line ‘Listen 443′, change it to ‘Listen 4499′
6. find the line ”ServerName localhost:443”, change it to ‘ServerName localhost:4499′

after this, restart your Apache server, now go to http://localhost:8080/, you should be able to see XAMPP working. And go to http://localhost, you should see IIS working.

No Comments

JavaScript String Length

To get string length, you can use some automatic functions that JavaScript assigns to each string. One of them is .length that gives the length of the string. So if you want to get the length of ‘Hello world!’ you can do:

var c = 'Hello world!'.length;

No Comments

Changing wallpaper in Windows 7 Starter Edition

There is a program that is made to change your background wallpaper in Windows 7 Starter Edition.

Here is the link: http://cid-e2e0fbb97504d64e.skydrive.live.com/self.aspx/.Public/Starter%20Wallpaper%20Changer.exe

Instructions are given below:

1. Download the program. save it on your computer.
2. Click on the application. Click Yes on the security alert.
3. Click on Browse. Now select the image that you want to make your background.
4. Click OK.
5. Then click Apply.
6. Exit the application.
7. Log out and log back in.
8. Voila!!! You have successfully changed your background on a Windows 7 Starter!!!

3 Comments

Notepad on Windows 7

Once upgraded to Windows 7, you may realized that Notepad no logner exists. It’s migrated to it’s own standalone app, included in the OS – Sticky Notes.

1 Comment

Can’t delete files on Windows 7

If you can’t delete files on Windows 7 due to permission issue, here is a quick and easy way to fix the problem.

1. The first step is to take ownership of the files.
Start a Command Prompt box (cmd) as administrator, and enter:
takeown /f file
takeown /f /r directory

2. Then to give yourself full rights on the file:
cacls file /G username:F

No Comments

Enabling 4GB RAM in 32 bit Windows OS

To enable 4GB RAM in 32 bit Windows OS, you can use PAE, but it’s not nearly as good as just going 64 bit. For more information, you can check this MSDN Page: http://msdn.microsoft.com/en-us/library/aa366796%28VS.85%29.aspx

No Comments

Active desktop for Windows 7

Since the default IE for Windows 7 is IE8. Windows Vista and 7 do not include Active Desktop. The closest thing to it is Ave’s DesktopSites. The software can be downloaded from: http://www.howtogeek.com/geekers/AveDesktopSites2.zip

1 Comment

Locating MAC address in Windows 7

To locate MAC address in Windows 7 is easy.

Run those commands through the command prompt.

1. in the start menu search, type cmd
2. hit Enter
3. type in ipconfig /all or getmac and it should locate both commands and the window will remain open

No Comments

Notepad++ load langs.xml failed

If you open NotePad++ and have the following error message, here is a easy way to fix it.

—————————
Configurator
—————————
Load langs.xml failed!
—————————

The reason you see the error is because somehow, your langs.xml has errors in it. Perhaps while exploring various Notepad++ options you accidentally made unintended changes to it. That’s what happened to me.

To fix the problem, go to the installation folder for Notepad++ and rename langs.xml to langs.xml.bad. Then, in that same folder, find langs.model.xml, make a copy of it, and rename the copy to langs.xml.

You will want to then compare the langs.xml to langs.xml.bad and see if there is anything legitimate that you want back.

No Comments

Mounting SSH/SFTP shares on Windows 7

There are two ways to mount SSH/SFTP shares on Windows 7.

a. Dokan SSHFS is a program that mounts remote file systems using SSH. You will need to install the MSVC 2005 redistributable and the Dokan library available on the SSHFS download page.

b. Another solution is to use MindTerm along with NetDrive (both have free home versions):
1.Download and extract mindTerm
2.Run mindterm.jar (double click it if you can, otherwise in command prompt type in java -jar mindterm.jar)
3.Type in the host you want to ssh into followed by the username and password
4.In the menu click on Plugins>FTP To SFTP Bridge…
5.Type in 127.0.0.1 for the Listen address
6.Type in 21 for the Listen port
7.Select the Remote system type
8.Click Enable
9.Click Dismiss
10.Next we want to install NetDrive
11.Once netdrive is installed, open it up, and click New Site on the bottom
12.Type in localhost (or whatever you want to call it) for the Site name
13.Type in localhost for the Site IP
14.Type in 21 for the Port
15.Select FTP for the Port
16.Select a Drive letter
17.Check Connect as anonymous
18.Click Save
19.Click Connect
20.Click the X to close the window (will minimize to system tray)

No Comments