Small Script to Remove a List of Directories
cat list-of-directories.txt|while read f; do if [ -e "$f" ]; then rm -rf “$f”; fi; done thanks unSpawn!
cat list-of-directories.txt|while read f; do if [ -e "$f" ]; then rm -rf “$f”; fi; done thanks unSpawn!
I have been a fan of Redhat for a very long time I bought my first copy of Redhat back in 1997 – it was in a boxset, I kept it for years even after I upgraded! Redhat has been stable and reliable (well ok, most of the time) – just what you need for [...]
Nearly time to upgrade again
Found a new way to edit my hosts file while normally I would use vi this means that I can use TextEdit which sometimes is easier. Open the Terminal: Applications > Utilities > Terminial Type the following and hit enter: sudo open -e /etc/hosts Or if you fancy vi then: sudo vi /etc/hosts
If you need to enable SSL in ProFTPD, try this out: <IfModule mod_tls.c> TLSEngine on TLSRequired off TLSRSACertificateFile /etc/httpd/conf/ssl.crt/server.crt TLSRSACertificateKeyFile /etc/httpd/conf/ssl.key/server.key TLSVerifyClient off </IfModule>
To say I am looking forward to Snow Leopard is an understatement – the prospect of getting rid of Microsoft Entourage is making me giddy, my only worry is that it won’t live up to the dream. So when at 6pm today here in Shanghai I get an email saying it is in the post [...]
So if you are like me using Mosso and cant edit the php.ini file then if you want to increase the default upload size you need to edit your .htaccess file and add the following (adjust as needed): php_value post_max_size 16M php_value upload_max_filesize 16M php_value max_execution_time 600
Follow these steps: 1. Click the Finder icon in the Dock. 2. Choose Connect to Server from the Go menu (see Note 1). 3. In the address field of the Connect to Server dialog, type the URL using this syntax (see Note 3): smb://ServerName/ShareName/ 4. Click Connect.
I started to look round for SVN clients to update our internal repos – windows and linux ones are easy, Mac however is bit harder. So far the testing includes: Syncro SVN Verisions Going to use them for a while and see which one pans out.
Seriously – I have been getting really really REALLY annoyed with the lack of support for Alt-Tab Windows style, so after a few googles i found: Witch This thing is going to save my Mac! I was thinking of switching to Ubuntu…