Having recently heard an acoustic version of VV Brown’s Shark in the Water I wanted an audio file I could listen to until it is released in 2 weeks. There was an acoustic version in a London Cab on Youtube so: I grabbed the youtube video using youtube-dl (get it with Synaptic) youtube-dl “http://www.youtube.com/watch?v=Kcgffz72b_8” I… Read more »
Posts By: jonny
Install LAMP on Ubuntu
For local development to install Apache, MySQL, PHP: apt-get install apache2 php5 libapache2-mod-php5 mysql-server mysql-client php5-mysql phpmyadmin Configuration files are in /etc e.g./etc/apache2/etc/php5/etc/mysql/etc/phpmyadmin Deamons are started by default so just visit http://localhost An alternative is to use Tasksel: sudo tasksel install lamp-server
cp: overwrite – force yes
Getting a bit peeved with the copy command prompting to overwrite files. cp -rf ./* ./another/location/cp: overwrite `/filename.conf’? y The ‘-i’ interactive option is obviously aliases into the copy command on Centos (even the -f option was not overriding this for me) but a quick way of overriding the aliasing behaviour is to prefix the… Read more »
Extracting ISO files
Needing to extract the contents of a CentOS iso file so that it could be used to http / kickstart installs: mkdir tmp_mntmkdir ./5.3mount -o loop ./CentOS-5.3-x86_64-bin-DVD.iso ./tmp_mntcp -R ./tmp_mnt/* ./5.3
Grepping MailboxFolderStatistics
I am trying to get the the mailbox folder sizes for a user with many folders. Wouldn’t it be great if I could just: get-mailboxfolderstatistics USER | grep “foldernamepattern” | ft Obviously this does not work so: Get-MailboxFolderStatistics USER | Where { $_.Name -match “pattern*” } | sort -desc FolderSize | ft Name,ItemsInFolder,@{expression={$_.FolderSize.ToKB()};Label=”Folder Size (KB)”},@{expression={$_.FolderAndSubFolderSize.ToKB()};Label=”Folder… Read more »
Items Stuck in OWA Outbox
We had an Exchange user with message items appearing in her OWA outbox but which did not display in Outlook. Attempts to delete these items failed and the items kept re-appearing in the OWA outbox possibly indicating some sort of corruption of these items? Solution: Move the mailbox to another mailbox database setting the BadItem… Read more »
Exchange server address list service failed to respond
Attempting to move a mailbox from one database to another and received the following error: The address list service on the server ‘SERVERNAME’ is not running. The Exchange server address list service failed to respond. Solution: The ‘Microsoft Exchange System Attendant’ service on the server may be showing as running but needs to be restarted,… Read more »
Linux Web Filtering with OpenDNS and a Dynamic IP Address
Motivation Parental Control / Protecting my kids from some of the nastier stuff on the web is my motivation. On M$ Windows there are commercial offerings such as NetNanny. On Linux I had briefly tested and used Squid with DansGuardian – likely more accurate with word filtering but a little resource intensive for my daughters… Read more »
echo with new lines
For future reference: echo “This does not give \n a new line” does not work. I had used printf sometimes but the -e switch also works for echo: echo -e “This gives \n a new line”
Gimp and Layer Styles
Great guide here about using photoshop plug-ins in gimp, installing Layer Styles plug-in (Drop Shadows, Glows etc) in gimp and more.