Linux Setup DNS

Setting up the DNS in Linux can be done in a few steps. sudo cp /etc/resolv.conf /etc/resolv.conf.auto Now edit the dhclient sudo gedit /etc/dhcp3/dhclient.conf Look for the below line, which will be commented, and match this setting. # append the following line to the document prepend domain-name-servers 208.67.222.222,208.67.220.220; sudo ifdown eth0 && sudo ifup eth0

Read More

Linux Add Boot Option In Grub2

You can add boot option for Grub2 for Ubuntu by editing the 40_custom file. sudo gedit /etc/grub.d/40_custom Append the following line menuentry “Ubuntu Mymod” { recordfail insmod ext2 set root='(hd3,1)’ linux /boot/vmlinuz-2.6.32-21-generic-pae root=UUID=c01e7d24-fc8c-4498-86a2-ad0ea8d1d4ec ro quiet splash acpi=off noapic nolapic initrd /boot/initrd.img-2.6.32-21-generic-pae  } Modify for your own use e.g. the set root if it’s located different

Read More

Do Not Save Web Browser History

There are different ways of disabling browser history. You can either temporarily disable or permanent disable it. This goes for most browser. Go into the Tools or Settings and find the privacy tab and find Clear Browsing Data or Delete Browser History. Internet Explorer you can use the shortcut: Ctrl + Shift + Del Safari: Go to the

Read More

Linux Ubuntu Disable WebCam LED Light

When running Linux distribution Ubuntu the webcam led light does not turn off when webcam is not active. The webcam LED light is always on. This has been experience on Intel ABook and HP laptop in Ubuntu 12.04, 11.10, 11.04, 10.10 and occur in older versions as well. It’s most likely due to the old laptop and old

Read More

How to install Notepad++ plugin

From Wikipedia: “Notepad++ is a text editor and source code editor for Windows. One advantage of Notepad++ over the built-in Windows text editor, Notepad, is tabbed editing, which allows working with multiple open files.” Download your plugin e.g. TextFX Place the dll file in the plugin subfolder of Notepad++ Load the plugin by going to Settings -> Import -> Import Plugin and select

Read More

CSS3 Gradient Generator

Using gradient color can be cool and be completed with css style. Making a gradient color in css can be completed as following: [sourcecode language=”css”] <script type="text/css"> .txt { background-image: linear-gradient(bottom, rgb(132,170,193) 15%, rgb(159,204,232) 58%, rgb(191,245,255) 79%); background-image: -o-linear-gradient(bottom, rgb(132,170,193) 15%, rgb(159,204,232) 58%, rgb(191,245,255) 79%); background-image: -moz-linear-gradient(bottom, rgb(132,170,193) 15%, rgb(159,204,232) 58%, rgb(191,245,255) 79%); background-image: -webkit-linear-gradient(bottom,

Read More