Archive for the 'Hacks' Category

Fix 500 Internal server Error on .htaccess

500 Internal Server Error on Localhost for Web.Developer Server Suite was pissing me off for a long time. The Apache error logs shows “RewriteEngine not allowed here”. Deleting .htaccess would fix the problem, but here is the fix. It’s a problem with mod_rewrite module and Apache’s AllowOverride configuration. Here’s how to fix it :

Firstly, make sure LoadModule rewrite_module modules/mod_rewrite.so is enabled in httpd.conf (Remove # before the line to enable)

Then, edit httpd.conf .. Find out the foll lines and mod -

<Directory “/www/vhosts/localhost”> #replace this with your dir name
Options Indexes FollowSymLinks
Order allow,deny
Allow from all
AllowOverride All #Added
</Directory>

<Directory />
Options FollowSymLinks
# AllowOverride Limit #Old Value
AllowOverride All #Added
Order deny,allow
Deny from all
Satisfy all
</Directory>

Web Developer Firefox Addon

Web Developer adds a menu and a toolbar with various web developer tools. It’s highly recommended for any Web Developer..

web developer addon for firefox for Developers and designers

Some Options are :

  • Resize Firefox Window : See what your website looks like in 1024×768 or 800×600 at the click of a button
  • View HTTP Headers
  • View CSS Styles of page being viewed
  • CSS HACK : Modify CSS in real time for any site you are viewing
  • Reveal Form Passwords, Hidden Forms
  • Cookies : Disable, clear, add, delete domain cookies, clear session cookies
  • Disable Java, disable JS
  • View Lotsa information regarding page
  • Validate code
  • View Source , Generated source .. ..

INSTALL NOW

Visit Addon page on Firefox Add-ons

Speed up Torrent speeds

XP SP2 limits teh number of TCP Connections to maximum of 10. This is supposed to slow down virus multiplication as their (of many) strategy of viral growth is to connect to a high amount of IPs. This could also limit the max simultaneous connections needed for Torrent downloads..

First, download the Patch for changing max TCP connections from here [ EventID 4226 Patcher Version 2.23d-english]. Change the value to a value between 50-100..

Next, uTorrent: Options > Preferences > Advanced options > net.max_halfopen and increase it from 10 to a decent value like 80..

utorrent_max_halfopen_connections_xp2.jpg

Tweak advanced Ubuntu configurations with Ubuntu Tweak

Ubuntu Tweak is an application designed to make Ubuntu config. easier for everyone. It provides many useful desktop and system options that aint provided by the default desktop environment.

ubuntu-tweak-latest_screenshot.png

Features of Ubuntu Tweak:

  • View Basic System Information (Distribution, Kernel, CPU, Memory, etc.)
  • GNOME Session Control
  • Show/Hide/Change Splash screen
  • Show/Hide desktop icons or Mounted Volumes
  • Show/Hide/Rename Computer, Home, Trash icon or Network icons
  • Tweaks for Metacity Window Manager’s Style and Behavior
  • Compiz Fusion settings, Screen Edge Settings, Window Effects Settings, Menu Effect Settings
  • GNOME Panel Settings
  • Nautilus Settings
  • Advanced Power Management Settings
  • System Security Settings

Ubuntu Tweak at Google Code | Homepage
Latest Version : Deb Package: ubuntu-tweak_0.2.4-ubuntu2_all.deb

Chitika eMiniMalls tweaks

Add the following to your chitika Javascript code for each of the respective functions:

Specifying your own Keywords
var ch_queries = new Array(’ ‘);
var ch_queries = new Array(’iPod’,'Dell Computers’,'DVD Players’);

Turn off search
ch_nosearch = 1;

Change the default tab
If you are using a 250×250 or smaller, add: ch_default_tab = “Deals”;
Otherwise, add: ch_default_tab = “Best Deals”;

Customize Ad backgrounds
ch_color_bg = “#D6D6DF”;

Customize fonts
ch_font_text = ‘Comic Sans MS’;
ch_font_title = “Verdana, Arial, Helvetica”;

Some sites are not accessible on BSNL DataOne BroadBand in India

Well, I’ve been facing this problem too. It’s their DNS Servers, I tell you !!

Here’s the workaround to get that fixed. Try alternative DNS servers like OpenDNS.

OpenDNS is a better DNS, free to all. OpenDNS uses its distributed network of DNS servers to speed up your Internet experience, increase reliability, improve security and make DNS smarter for users all over the world. OpenDNS is a zero downtime service.

OpenDNS servers : 208.67.222.222, 208.67.220.220

Goto Control Pannel > Network Connections and find your connection under “LAN or High-Speed Internet” and change the DNS servers for that.

Click image below for info. on how to change the DNS server setting.

Easy to remember DNS servers IP

 

OR try the easy to remember AT&T / Level 3 DNS servers
4.2.2.1, 4.2.2.2, 4.2.2.3, 4.2.2.4, 4.2.2.5, 4.2.2.6