Archive for 2007
CoolUri plugin for typo3
This is perhaps more of a convenient place for me to store install instructions than anything… BUT:
Installing CoolUri in Typo3 on linux / apache2 / php5
apache2ctl and apache2 virtual host blah blah
Gary pointed me to apache2ctl the other day and now I cant live with out it.
Useful things:
apache2ctl – t (check the syntax of virtual host files BEFORE reloading and breaking apache)
apache2ctl – M (show all the loaded modules – ie. check if rewrite is enabled and working)
apache2ctl – E (log startup errors to file)
apache2ctl – h (show the rest of the options)
Also, I was having issues getting a “real url” module called cooluri working for a typo3 site. In the end it was because my virtual host file was missing (link) :
AllowOverride All
Thats one of those things thats happened before but was forgotten along the way …. hopefully it will be useful for someone out there searching for why mod_rewrite isn’t working the way it should do….
One bash prompt to rule them all
I stumbled across Daniel Robbins blog (the creator of Gentoo) and he had an OK article on how to config your bash prompt.
While he makes a good point for using just ‘>’ and putting everything else in the window bar, that just doesn’t cut it for me.
So – heres my suggestion which I have hacked from a CentOS server I ssh into on occasions:
PS1=”\[\033[1;31m\][\$(date +%H):$(date +%M)]\[\033[1;34m\][\u@\h:\w]#\[\033[0;37m\] ”
Just whack that into bash to try it out. To save it put it into your .bashrc file
grub boot options
I’ve been having some instability due to (i think) my particular motherboard (ASUS M2N-E). I’ve tried a million different settings but have finally found a set of grub options which work.
Some of the options are perhaps not necessary, but I’m sick of trial and error so they will stay! I post this because I’ve seen similar problems with no solutions in forums. So if you are having random crashes with ubuntu feisty… try that grub line out.
ro quiet splash noapic irqpoll noacpi acpi=off
the irqpoll is for the usb ports……
Remove .svn folders from a directory tree
Grabbed this from irc – so very very handy.
Chuck this in your .bash_aliases file (if you have enabled it) and you will be able to recursively remove those pesky hidden svn folders from a directory tree with rmsvn:
alias rmsvn="find . -name '*.svn' -exec rm -rf {} \;"
A reliable text editor
I was complaining to someone the other day about how most text editors fail to deal with large files. I was trying to edit a 8mb sql file and my default editors eclipse and cream (a vim extension) both couldn’t handle it. I then tried emacs and jEdit neither of which I particularly like. jEdit at least opened the file. But the interface is clunky and on my system at least, wont go past 800×600 screen real estate….
Read the rest of this page »
Filler
the idiocy of clocks
this blog is dragging along to no-where.
so.
i am going to give it one more burst of effort.
i’ll try 20 posts in 20 days… or give up and resign it to the google archives forever
Pubstandards – Melbourne
Drink and argue about the extent to which myspace sucks at PubStandards Melbourne.
Based on pubstandards.co.uk its basically like going to Web Standards or PHPMelb, but without the presentation – just the beer. Great.
