by Kevin Bailey | Apr 8, 2013 | Technical Blog
Bash does not have an ‘easy’ way to comment out blocks of code – but this is simple enough. At the beginning of the block you wish to comment out put: : by Kevin Bailey | Apr 8, 2013 | Technical Blog
Bit of a strange one this… Obviously, there are tons of articles around about running commands as root without a password prompt. But I wanted to run a command as another user and also not have a password prompt. So in sudoers I had root ALL=(ALL) ALL %sudo ALL... by Kevin Bailey | Aug 31, 2012 | Technical Blog
Since SLES doesn’t have gpw or pwgen available I enhanced a bash snippet I found to create a pseudo random password. Here it is – enjoy! DATABASE_NAME=`cat /dev/urandom | base64 | tr -d ‘[:punct:]’ | tr -d ‘[:digit:]’ | tr -d... by Kevin Bailey | Aug 29, 2012 | Technical Blog
OK – So I have a laptop with 6GB RAM. And I’ve just installed Netbeans – and I want to debug a Drupal. (BTW – I installed Netbeans from the main Netbeans site and not from the Ubuntu repository due to concerns RE the current repository... by Kevin Bailey | Aug 16, 2012 | Technical Blog
Yes – we all know about the essential modules; Views, Rules, Webform, pathauto etc. But I’m going to add in here any other modules which slip under the normal radar and which are useful additions for the average Drupal dev. Starting off with: Special menu...
Recent Comments