Visual Studio Make Selection Uppercase Or Lowercase

In Microsoft Visual Studio you can make a selected code or text uppercase or lowercase by using choosing: Menu: Edit -> Advanced -> Make Uppercase; Edit -> Advanced -> Make Lowercase Command: Edit.MakeUppercase; Edit.MakeLowercase You can also use the following shortcur: Keyboard: CTRL + SHIFT + U (upper); CTRL + U (lower)  

Linux Setup DNS

Setting up the DNS in Linux can be done in a few steps. sudo cp /etc/resolv.conf /etc/ 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,; 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

Android SetTextColor From Colors

When setting the colors for e.g. a TextView you can use the settextcolor from either a color or resource. void android.widget.TextView.setTextColor(int color) public void setTextColor (int color) Sets the text color for all the states (normal, selected, focused) to be this color. There are several ways to do this. To set the colors from your resource you

Read More

Diablo 3 Error List

Released on May 15. Diablo 3 is the sequel from Diablo 1 and 2 and Blizzard newest game. Here is a list of the different Diablo 3 error you can run into. The list might be missing some and is not complete. Most of the errors you’ll encounter is at the authentication and therefore the infamous error 37,

Read More

Android SetTextSize From Dimen

Setting the TextSize of your TextView from a dimension resource might not work at first. When setting make sure to use the getResource()  text.setTextSize(getResources().getDimension(R.dimen.textsize)); dimens.xml <?xml version=”1.0″ encoding=”utf-8″?> <resources> <dimen name=”textsize”>24sp</dimen> </resources>

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

Microsoft Visual Studio Tab Order

When setting the tab orders in Microsoft Visual Studio there’s a very helpful features you should use to make the job easier and it’s called Tab Order. On the View menu, choose Tab Order. The selection mode will be activated on the form and you should see the TabIndex number in the upper left corner.

Read More

Disable Comments On Pages In WordPress

To disable comment on all new post do the following. Settings -> Discussion -> uncheck “Allow people to post comments on new articles” -> Hit “Save Changes” in the bottom of the page. Note that these settings may be overridden for individual articles so it’s flexible. To disable comments from already published posts do the

Read More