Posts Tagged ‘ Hack

Tutorial:Disable Ads with DD-WRT

If you are running DD-WRT on your router and you hate ads, here is the solution to disable them on every computer in your home.

  1. Navigate to the “Services | Services” tab on your DD-WRT router.
  2. Under “DNSMasq“, make sure “DNSMasq” and “Local DNS” are enabled. Then copy and paste the following code into the “Additional DNSMasq Options” text box.

  3. Next, navigate to “Administration | Commands“.  Copy and paste the following code into the “Commands” form.  Then click the “Save Startup” button.
    echo -e "#!/bin/sh\nn=1\nwhile sleep 60\ndo\n\twget -q -O - | grep \"^\" | grep -v localhost | awk '{print \"$_rogue\\\t\"\$2}' | tr -d '\\\015' >/tmp/dlhosts\n" >/tmp/write_dlhosts
    echo -e "\t[ \`grep -il doubleclick /tmp/dlhosts\` ] && break\n\t[ \$n -gt 5 ] && break\n\tlet n+=1\ndone\nkillall -HUP dnsmasq" >>/tmp/write_dlhosts
    chmod +x /tmp/write_dlhosts
    /tmp/write_dlhosts &

  4. Reboot your router.

If you would like to confirm that your blocking is enabled, open a command prompt and type in “nslookup“. You should get an address of back from your DNS server.

For further information and the source of this information, take a look over on the DD-WRT forums


HTML Character Code Lookup

So picture this, you are focused working on <insert thing you are working on> that must get done within the hour.  The last part of your project requires that you have a “©” inserted in the document.  You hop on google and start searching for alt codes and html codes.  You find a ginormous table of html codes and start sifting through the table only to find that for some reason this huge table of characters is somehow missing the one character that you need!

Have no fear, I found this nifty little app that will save the day.

This app lets you search through characters.  If the character you are looking for contains or looks like a “c” just enter “c” in the search field and it will give you a list of all relevant entries.  Nifty Eh?

LackRack Hack

If you are an IT nerd like me, you may have run into the issue of needing a rack mount for your miscellaneous peripherals. The guys over at Eth-0 have come up with a great way to use Ikea furniture, providing the perfect rack mount for Switches and servers.