Sunday, March 5, 2017

A better public DNS for FREE

TL;DR

Instead of using your ISP's DNS, use the faster and more reliable Google Public DNS instead: 8.8.8.8 and 8.8.4.4.

Your ISP's DNS

Like most people, I defaulted to using my ISP's DNS. For the most part, this works just fine. Until recently, we encountered various problems such as:
  1. Problems connecting to a specific website - This worked fine when I used my mobile network to connect instead.
  2. Slow to update - I made changes to my personal domain's DNS settings. It took forever to resolve to the right one. However, other parts of the world were already resolving this correctly.

Use Google Public DNS

Then my research pointed me to Google Public DNS here: https://developers.google.com/speed/public-dns/
Advantages:
  1. Google DNS is faster 
  2. It claims to have more security
  3. It's free! And nothing beats free.
Disadvantages:
  1. Yet another way Google is tracking you. But I'm sure you know resistance is futile.
  2. Ah, nothing else yet. I'll revisit this post when I think of another one.

How to use it

To try it out, I suggest configuring a single machine to use it. If you want all your machines to use it, simply change you router's DHCP settings to dispense these settings below. (Yes, I'm make a lot of assumptions here. But if I'm sure you know what I mean.)
Here are Google DNS servers IP addresses:
  • Primary DNS: 8.8.8.8
  • Secondary DNS: 8.8.4.4

Feedback

I'll try this out myself for a while and update the post as necessary. If you do have any feedback, please feel free to let me know. Thanks!

Thinking about assembling a new PC after 10 years

Hello! It's been a long time.

I'm writing this blog post from the machine I assembled 10 years ago. It's still alive and kicking as it has had it's share of upgrades throughout the years. But it's time for me to build a new one! Yehey!

Here is my current setup:
  • Intel Q6600 2.4GHz Quad Core (Passively watercooled with a Zalman Reserator)
  • MSI P5K-E Wifi motherboard
  • 8GB DDR2 memory
  • GeForce GTX 680 video card (Passively watercooled with a Zalman Reserator. Yes! Two of them in separate loops.)
  • Seasonic X650 (I think) 80 Plus Gold PSU
  • Vertex 3 256GB SSD 
  • Dell U3011 monitor
What I use it for:
  • Facebook (Of course!)
  • Web browsing / Work - Since most of my work is mostly over the web.
  • Light gaming (ahem!... Diablo 3, Civilization, This War Of Mine, XCOM)
  • Photo editing with Adobe Lightroom
What I want to build my next machine for:
  • VR gaming with HTC Vive
  • 1 or virtual machines for experimenting
  • Basically the same as before
And so the hunt begins! Stay tuned. :)

Thursday, October 17, 2013

Cygwin commands execute really slow from commandline

Seems to be caused by evaluation of /cygdrive/. So, open network connections and disable the following:


Monday, September 30, 2013

Screenshots on Mac OSX

Best resource I found about capturing screenshots on Mac OSX

Thursday, March 14, 2013

Eclipse on Linux Missing Icons

Sorry! No time to create a proper post.

Here is the solution: 

gsettings set org.gnome.desktop.interface menus-have-icons true

Reference:
http://gnomeshell.wordpress.com/2011/09/11/show-and-hide-the-menu-icons/

Enjoy!

Wednesday, May 5, 2010

How to change window border thickness in Ubuntu 10.04 (Gnome)

prompt%> sudo vi /usr/share/themes/Human/metacity-1/metacity-theme-1.xml

Change following values to 5 or higher:
<distance name="left_width" value="3"/>
<distance name="right_width" value="3"/>
<distance name="bottom_height" value="3"/>

Enjoy!

Sunday, December 6, 2009

Show Desktop Quick Launch in Windows 7

Old habits die hard. I understand. So, for those who have gotten used to going to the bottom-left cornet of your desktop and clicking the "Show Desktop" quick launch icon for years, here is some help in your transition to Windows 7.

First of all, the new show desktop is now on the bottom-right corner of the screen. See screen cap below. Of course, I know that won't satisfy you. =) So keep reading.



If you want to get the old fashioned "Show Desktop" icon on the bottom-left, here are the instructions:

Step 1:
Using notepad, create a file named "desktop.scf" with the contents below:

[Shell]
Command=2
IconFile=explorer.exe,3
[Taskbar]
Command=ToggleDesktop

In the Save dialog, select "All Files (*.*)" as file type. Then, save it to: "C:\Users\%USERNAME%\AppData\Roaming\Microsoft\Internet Explorer\Quick Launch\User Pinned\TaskBar".

Step 2:
Duplicate a shortcut on your desktop. Just do this using copy-paste. (I'm using Zoom Browser on my example. But you can use any other program.) Go to the shortcut properties and change the comment, name, and icon to your preferred icon. (You can use explorer.exe for the desktop icon.) Now, pin the shortcut you just created onto the taskbar.


Step 3:
Right-click on your new launcher, then right-click again onto the icon itself and bring up its properties. On the shortcut tab, change the Target to desktop.scf you created in Step 1. Click OK, and your done!


I hope this helps. Enjoy!

References:
Link1