Computer Stuff

Learning Resources

Best Free

Router Congestion Control

tcp vegas is excellent for linux based firmware routers. Avoid congestion, disable QoS and turn on tcp vegas congestion control by telenet or ssh to your router, login using your root user/pass and execute following lines:

echo 1 > /proc/sys/net/ipv4/tcp_vegas_cong_avoid
echo 3 > /proc/sys/net/ipv4/tcp_vegas_alpha
echo 3 > /proc/sys/net/ipv4/tcp_vegas_beta
echo 0 > /proc/sys/net/ipv4/tcp_westwood

Westwood is optimized for lossy networks – seems unnecessary.

Source Code

Looking for good code? The best way or optimal way to accomplish a simple common web task? The fact is that most web projects have many redundant tasks in common:

There is usually at least one great way, and many bad ways, to accomplish these tasks in any specific situation. Thus, We focus on finding a great way that is robust, easy to implement, well coded, well documented, and well tested in real-world scenarios. This site is a compilation of such great code.

Begin by searching and when you have some insight, resources, or a better way to code a task, please contribute by editing the pages. Thank you for sharing your knowledge with everyone :-P

Notebook / Laptop Notes

Linux time sync (ntp)


The ntpd in linux doesn't update time if the time difference is too much. You need to do it manually using below, and change the IP to whatever ntp server you like.


If above doesn't work, try

ntpdate -s -b -p 8 -u