CentOS useful commands
To get your CentOS version type:
1cat /etc/redhat-release
To update all your CentOS packages at once:
1yum update
To install nslookup, dig and other network utilities:
1yum install bind-utils -y
To get your CentOS version type:
1cat /etc/redhat-release
To update all your CentOS packages at once:
1yum update
To install nslookup, dig and other network utilities:
1yum install bind-utils -y
Launch Terminal from Spotlight or Launchpad > Utilities, and enter the following command to show the directory:
``
chflags nohidden ~/Library/
The users Library folder will immediately become visible. Reverting …
Creating a simple gradient using two colors is very simple:
1Rectangle rect = new Rectangle(0, 0, 100, 100);
2LinearGradientBrush lgb = new LinearGradientBrush(rect, Color.White, Color.Blue, 90);
3e.Graphics.FillRectangle(lgb, rect);
This code will …
Believe me, it is easy. As with any class, before we can use any of the Classes, Events and Objects available to us in the .Net Framework we need to import the Namespaces we need. For this we need 3 namespaces. VB.Net users only required 2 because …
There is a simple way to know this. The following code takes white (#ffffff) divided it by two as our reference color. If the comparing color is lower than the reference color, then the given color is dark, otherwise it’s light color.
1 …You can assign a printer and other settings by using the basic PrintDocument and PrintDialog controls properties. Look at the next example:
1if (printDialog.ShowDialog() == DialogResult.OK) {
2 printDocument.PrinterSettings.PrinterName = …Before trying the queries in this page, I recommend you to read this full article to learn more about the process.
To update WordPress options with the new blog location, use the following SQL command:
1UPDATE wp_options SET option_value = replace …Worth watching
Papyrus is a UML designer plugin for the eclipse development environment. Installing it on the Indigo version is very easy:

If you are one of those who started surfing and creating the web in the 90’s, Reocities will take you back in time to the beginning of an era. Blue text on green or yellow wallpapers and animated gif’s overloaded the pages during the last decade of …