Viewing Category : howto

Post thumbnail of How to show all video modes available in Linux
25 January 2011
Continue reading How to show all video modes available in Linux

How to show all video modes available in Linux

Here’s a quick way to show all available video modes available with your current combination of video driver and physical displays. If you’re hand tweaking /etc/X11/xorg.conf to your liking, you should avoid listing display dimensions that your system doesn’t support. This little tool will let you know exactly what’s available.

Post thumbnail of Master Nuketown and the Explosive Cross Bow in Call of Duty Black Ops
21 December 2010
Continue reading Master Nuketown and the Explosive Cross Bow in Call of Duty Black Ops

Master Nuketown and the Explosive Cross Bow in Call of Duty Black Ops

If you like sticking explosive crossbow bolts and/or semtex sticky grenades to people and watching or listening to them explode, you should try mastering the Nuketown map. Don your flak jacket and hatchet and go at them, kamikaze style!

Post thumbnail of Extract files from a RPM without installing the package
6 December 2010
Continue reading Extract files from a RPM without installing the package

Extract files from a RPM without installing the package

his little utility comes with rpm, so it’s already installed and waiting for you. rpm2cpio converts a rpm file specified as as a command argument (or as standard input) and spits it out as a cpio archive to standard output.

Post thumbnail of Build source rpms with Mock to avoid compiler problems
2 December 2010
Continue reading Build source rpms with Mock to avoid compiler problems

Build source rpms with Mock to avoid compiler problems

If you’ve ever run into a dreaded configure problem such as C compiler cannot create executables, and gotten lost in a tangle of glibc/cc/g++ packages, you might find that building source rpms using Mock turns a multi-step process into a breezy single step. Build source rpms using mock which builds inside a chroot. This lets you compile 32-bit on 64-bit without a problem. Check out mock configurations in etc. You may have preconfigured configurations for your Linux distribution.

Post thumbnail of Case insensitive regex in bash
8 November 2010
Continue reading Case insensitive regex in bash

Case insensitive regex in bash

Shopt toggles the values of variables controlling optional shell behavior. If you want to match a regular expression while ignoring the case, the easiest method is to use shopt. You can use shopt set, unset, and print out settable options such as the ability to expand aliases and debugging options.

Post thumbnail of UAC Elevation in Windows 7 and Server 2008
18 October 2010
Continue reading UAC Elevation in Windows 7 and Server 2008

UAC Elevation in Windows 7 and Server 2008

I found a number of simple VBScript’s that relaunch themselves with elevated privileges using the “runas” verb just to launch another application or script. They just do it by re-invoking themselves with a bogus argument just to trigger the else clause the second time through. I don’t like the ampersand and underscore style, so I rewrote it a little less quirky.

Post thumbnail of Install Adobe flash 64-bit plugin codename square in Linux
16 September 2010
Continue reading Install Adobe flash 64-bit plugin codename square in Linux

Install Adobe flash 64-bit plugin codename square in Linux

Finally, a 64-bit flash player plugin from Adobe. And it’s simple to install too… Go to your browser’s plugin directory, delete the libflashplayer.so or the link to it, then copy in the libflashplayer.so from the tarball you just downloaded.

Post thumbnail of Stop GDM from showing all user accounts at login screen
13 September 2010
Continue reading Stop GDM from showing all user accounts at login screen

Stop GDM from showing all user accounts at login screen

Here’s how to make GDM stop showing *every* user account at login screen by default. I don’t know why they released gdm with the broken gdmsetup and showing all accounts in the window by default.

Post thumbnail of Perform an inception. Mount the install img from inside an iso to see whats available in kickstart pre installs
24 August 2010
Continue reading Perform an inception. Mount the install img from inside an iso to see whats available in kickstart pre installs

Perform an inception. Mount the install img from inside an iso to see whats available in kickstart pre installs

Perform an Inception. Mount your iso, then mount the image found inside. Go inside the second image to see what is available during the pre install section of a kickstart. Use isomaster to rebuild the install.img and plop that inside the the outer iso, rebuilding that one too.

Post thumbnail of Bash integer counter just like in C
6 August 2010
Continue reading Bash integer counter just like in C

Bash integer counter just like in C

In almost all high level languages you can do something similar to x++ to increment an integer counter. Bash doesn’t have an incrementer, but you can still make your own integer counter using back-ticks and expr.

 Page 2 of 9 « 1  2  3  4  5 » ...  Last » 
Powered by Wordpress   |   Lunated designed by ZenVerse