The pagefile.sys file is the Virtual Memory file used by your Windows computer. If you have limited RAM, your windows machine to run programs and store data. It swaps out some of the RAM data to the page file and then reuses the freed up RAM.
You can improve the security of a computer running Windows if you delete pagefile.sys everytime you shut down your Windows machine.
How to do this?
HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Control\Session Manager\Memory Management
Add the following registry keys:
Value Name: ClearPageFileAtShutdown
Value Type: REG_DWORD
Value: 1
You need to restart your computer for the changes to take effect.

The situation:
I was able to upgrade from Wordpress 2.3 to Wordpress 2.5.1 couple of days ago.
The problem:
Everything went well until I found out that my hosting provider is blocking the IP address of my workstation everytime I am writing a new post. I informed my hosting provider about the problem and they were generous enough to unblock my IP address. However, I noticed that my IP is getting blocked everytime I am accessing post-new.php page and it will take me 5 to 10 minutes before my IP address gets unblocked after closing the post-new.php page. It was a bit different scenario compared to the total block I exprerienced previously.
The solution:
Downgrade Wordpress to 2.3.3 version, unfortunately, Wordpress seems to have no information about this. In this regard, I created a simple steps on how to downgrade your Wordpress installation in less technical ways below:
1. Do not delete your upgraded wordpress database.
2. Backup is not necessary, you don’t even need to restore your Wordpress database from your backup.
3. Delete all upgraded Wordpress files except wp-content folder, the files inside it and wp-config.php (temporarily renaming the files instead of deleting them is also a good practice e.g. index.php to index.php2)
4. Upload all the files extracted from Wordpress 2.3.3 ZIP file downloaded from Wordpress website.
5. Take note that Wordpress 2.5 has a new password hashing system, therefore you cannot login yet from your downgraded WP website. To solve this problem, go to http://your.blog.com/wp-login.php?action=lostpassword to reset your password.
6. Login to http://your.blog.com/wp-login.php after resetting your password and follow the last instruction.
YOUR WORDPRESS INSTALLATION HAS BEEN DOWNGRADED! HAPPY BLOGGING!
NOTE: I was in an infinite ping from the computer I am using to my website when I was writing this post and my IP address did not get blocked anymore. I don’t know what’s inside Wordpress 2.5.1’s post-new.php which is causing my hosting provider to block my IP address everytime I am accessing it, but downgrading to 2.3.3 has solved my problem.

To disable your Windows XP time display, ADD the following Windows XP registry hack:
Hive: HKEY_LOCAL_MACHINE
Key: Software\Microsoft\Windows\CurrentVersion\Policies\Explorer
Name: HideClock
Type: REG_DWORD
Value: 1
Enjoy!
How do you display your server’s open ports and the process that owns them? You can use the commands below to accomplish this (make sure you run them as root):
#sudo lsof -i
#sudo netstat -lptu
Below are sample output of the commands above:


Filed under:
Linux, Tech Tips
I have been searching the web for an asterisk behind NAT configuration but couldn’t find a short but definite example so I decided to create a working example configuration of asterisk behind NAT. So if you guys are currently having problems configuring your asterisk behind NAT, please feel free to use my example below:

Put the following in your rc.local:
iptables -F
iptables -t nat -F
iptables -t mangle -F
iptables -t nat -A POSTROUTING -o eth0 -j SNAT –to your.public.ip.here
echo 1 > /proc/sys/net/ipv4/ip_forward
iptables -t nat -A PREROUTING -p udp –dport 10000:20000 -j DNAT –to-destination 192.168.30.1
iptables -t nat -A PREROUTING -p udp –dport 5060 -j DNAT –to-destination 192.168.30.1
iptables -A FORWARD -p udp -s 192.168.30.1 -j ACCEPT
iptables -A FORWARD -p udp –dport 10000:20000 -d 192.168.30.1 -j ACCEPT
iptables -A FORWARD -p udp –dport 5060 -d 192.168.30.1 -j ACCEPT
your sip.conf should be:
[general]
context=default
port = 5060
bindaddr = 0.0.0.0
context = default
externip = your.public.ip.here
nat=yes
localnet=192.168.30.0/255.255.255.0
canreinvite=no
Sample gateway-to-gateway SIP config for sip.conf:
[toyoursipprovider]
type=friend
host= sip.provider.gateway.ip
canreinvite=no
disallow=all
allow=g729
allow=ulaw
dtmfmode=rfc2833
ENJOY!
The LiMo Foundation has announced the on-schedule availability of LiMo Platform Release 1. The LiMo Platform is the world’s first globally competitive, Linux-based software platform for mobile devices.
“With Release 1 of the LiMo Platform now completed, LiMo Foundation has established a scalable and sustainable mobile device platform that will spur rapid innovation and contributions from all LiMo members,” said Morgan Gillis, executive director of LiMo Foundation. “This is an extremely exciting time to be a part of the LiMo Foundation - in slightly more than one year, we have rolled out our deliverables on schedule, our membership has continued to grow strongly with broad engagement from across the mobile communications industry, and leading handset providers have already released a range of devices using LiMo technology.”
The LiMo Platform-leveraging standards and open-source projects-is a modular, plug-in, hardware-independent architecture built around an open operating system, with a secure run-time environment for support of downloaded applications. All of the enabling technology within Release 1-created by the foundation’s Founder members-has now been commercially deployed and proven within multiple handsets enjoyed by consumers today, as well as in several reference and pilot devices that will be on the market later this year. This represents hundreds of millions of dollars of technology investment to date.
Third-party developers can use LiMo’s application programming interface (API) specifications-available now at www.limofoundation.org to build new applications that deliver next-generation consumer experiences across a tremendous, stable base of globally deployed mobile devices. Middleware components for the LiMo Platform can be implemented in either C or C++ programming languages. Software Development Kits for Native, Webkit and Java operating environments will be released from the second half of 2008, further empowering mobile application developers.