Month May 2012

RHCE Studyguide

Prerequisite skills for RHCT and RHCE Candidates should possess the following skills, as they may be necessary in order to fulfill requirements of the RHCT and RHCE exams: use standard command line tools (e.g., ls, cp, mv, rm, tail, cat,…

nginx php centos6 howto

Remove previous php installation # yum remove php-cli php-common Add the EPEL and REMI repos: wget wget sudo rpm -Uvh remi-release-6*.rpm epel-release-6*.rpm Install nginx prerequisites # yum install perl pcre-devel gperftools-devel geoip geoip-devel Download nginx # wget “”…

wordpress plugin pre syntax

A great plugin to use to get syntax specific pre statements is “Prettify GC Syntax Highlighter” Found here You can also change prettyprint to: prettyprint lang-YOURLANG and Replace YOURLANG with one of the following: aea agc apollo bsh c cc…

getdn.bat

To return the distinguished name for all users in an active directory domain create a new file called getdn.bat Content: del c:\activeUsers.txt DSQUERY.exe * -limit 0 -filter “(&(objectCategory=Person)(objectClass=User)(!userAccountControl:1.2.840.113556.1.4.803:=2))” >”c:\activeUsers.txt” C:\WINDOWS\NOTEPAD.EXE c:\activeUsers.txt

start menu search broken

Searching from the start menu resulted in no results Searching from the start menu suddenly stopped working on one of my machines recently. Only when it stopped working did I realise how much I had started to rely upon it…

visio error 106

If you are receiving this error: Microsoft Office Visio “An error (106) occurred during the action Check Out File.  Bad disk failure.”  OK.   The issue is that you are trying to save to a folder you don’t have rights…

cURL Examples

Great examples of how to use cURL from  1. Download a Single File The following command will get the content of the URL and display it in the STDOUT (i.e on your terminal). $ curl To store the output…