Better teasers / summaries in Drupal.

Generate a trimmed, formatted version of a text field value.

If the end of the summary is not indicated using the < !--break--> delimiter (remove the space after the first angle bracket) then we generate the summary automatically, trying to end it at a sensible place such as the end of a paragraph, a line break, or the end of a sentence (in that order of preference).

https://api.drupal.org/api/drupal/modules!field!modules!text!text.modul…

Oops - defaults

So... looks like I forgot to disable zone transfers, which are enabled by default.

found this in /var/log/messages:
Oct 17 12:44:20 #localhost named[2514]: client 176.221.80.21#47253 (ks.id.au): transfer of 'ks.id.au/IN': AXFR started
Oct 17 12:44:20 #localhost named[2514]: client 176.221.80.21#47253 (ks.id.au): transfer of 'ks.id.au/IN': AXFR ended

Tested it myself with:
$dig -t axfr @ns1.ks.id.au ks.id.au
; <<>> DiG 9.9.4-RedHat-9.9.4-14.el7 <<>> -t axfr @ns1.ks.id.au ks.id.au
; (2 servers found)
;; global options: +cmd

localhost SSH access to a jailbroken ipad

After upgrading to IOS 7, I wanted to be able to ssh onto the device using a locally installed ssh client (i use iSSH).

This wasn't possible... I kept getting an error "Fatal Error Operation not permitted".

Found a very useful article here: http://blog.funroll.co/ios-7-jailbreak-enable-ssh-to-localhost

Here is the list of commands I ran to sort things out.

------------------------------------

quick blog before saying good bye to Switzerland

The last two days in Brief

Wednesday - True to predictions of the fern (that lovely warm breeze) the weather turned terrible on Wednesday so we made our way to Bern. Once there it rained more. We did attempt to wander around the city - I did see the Bern Bears in their new improved 'pit'. The Pit is now a lovely terrace with hidey holes for the bears. Its a reasonable size so I didn't feel it was too cruel.