You can efficiently change the console fonts, character sets and keymaps through the following command:
sudo dpkg-reconfigure console-setup
The configuration is stored in the file /etc/default/console-setup, and can be edited by hand as well.
The changes are effective for all virtual consoles after reboot. To apply the change for the current console, run:
To prevent changing the console font completely (i.e. native system/BIOS font will be used), set the font to "do not change".
The equivalent in the config file is:
When demoting a 2003 domain controller using dcpromo, you may run into the following error:
The error message is quite misleading as the real cause has got nothing to do with NETLOGON, but is in fact a DNS issue. You will most likely have the server's primary DNS pointing to itself using loopback address (127.0.0.1) or its own IP address.
You can correct the issue by having the DNS point to remaining domain controllers, and remove any DNS pointing to itself (i.e. loopback address or any other IP owned by the server being demoted).
Nice article about things you can do after a fresh install of Ubuntu on your computer:
Very useful if you don't have a whole lot of experience with linux in general, and Ubuntu in particular.
It has always been a bit tedious to manage and customize Internet Explorer through group policies, especially when your network has different versions of Windows and/or different versions of Internet Explorer.
To reduce complexity of maintaining Internet Explorer in a network, since long, Microsoft has made available the Internet Explorer Administration Kit. This tool allows you to exert more control over Internet Explorer, its settings and its behaviour.
More information and downloading the IEAK: https://technet.microsoft.com/en-us/ie/bb219517.aspx
A bit of a hidden feature in Windows 8: you can actually "quit" Windows Explorer.
Right-click the (empty) taskbar while holding down Ctrl+Shift to reveal Exit Explorer as an additional menu item. Clicking it will then end Windows Explorer, leaving you with a blank screen, same as ending explorer.exe from the task manager.
You can then call up task manager (Ctrl+Shift+Esc), and start Windows Explorer again (File > Run > explorer.exe).
For some time now, installing/updating Java prompts you to install the Ask.com toolbar and search page. After installation, this is offered each time you install a new update of Java, which can be very annoying. A somewhat undocumented feature is that you can disable these offers from the Java Control Panel, preventing future updates from prompting you to install this thing.
For debugging purposes, I often prematurely abort a function by adding a return statement in the middle of it. With most compilers this works flawlessly, accept with Java...
The Java compiler bums out with an unreachable statement error, and won't allow you to compile a class until all code is reachable within a function.
Luckily, you can trick the compiler by adding an if-statement that's always true:
if (1==1) return;
This way, as the return is supposedly conditional, and the compiler doesn't consider the result of an if-statement, it is tricked into believing the following code is still reachable.
A nice article about how to set up NIS on Red Hat linux: http://bradthemad.org/tech/notes/redhat_nis_setup.php.