Re: [SLUG] Adding text to a postscript file

2008-02-03 Thread Erik de Castro Lopo
Erik de Castro Lopo wrote: > Rick Welykochy wrote: > > > Postscript is plain text (ASCII) containing Postscript > > program code and data. > > That was my first thought too. Unfortunately it simply doesn't > work as expected. It turns out all this screw up was caused by something my colleague P

Re: [SLUG] cname domain redirection Q

2008-02-03 Thread Alex Samad
On Mon, Feb 04, 2008 at 11:48:34AM +1100, Voytek Eymont wrote: > I have adomain.org.au, the domain will be dropped in the next few month, > and, all web data will reside on overseasdomain.net hosted remotely > > currently, CNAME has been set, so, local users typing 'adomain.org.au' > reach web dat

Re: [SLUG] Adding text to a postscript file

2008-02-03 Thread Erik de Castro Lopo
Rick Welykochy wrote: > Postscript is plain text (ASCII) containing Postscript > program code and data. That was my first thought too. Unfortunately it simply doesn't work as expected. If I replace 'tag1' in the original with 'Erik' I get a blank where the 'tag1' used to be. Here are some more d

[SLUG] cname domain redirection Q

2008-02-03 Thread Voytek Eymont
I have adomain.org.au, the domain will be dropped in the next few month, and, all web data will reside on overseasdomain.net hosted remotely currently, CNAME has been set, so, local users typing 'adomain.org.au' reach web data on remote server, that's all fine; from a user perspective, his browse

Re: [SLUG] Adding text to a postscript file

2008-02-03 Thread Mark Pearson
Erik de Castro Lopo wrote: I have a small postscript file which is a template for a ticket. I now need to find a way to add custom text to this file before printing and I need to be able to do this from the command line. If you are printing via CUPS then you can add a custom filter that modi

Re: [SLUG] web/domain redirection ?

2008-02-03 Thread Voytek Eymont
On Sun, January 27, 2008 2:14 am, Martin Barry wrote: > He tried that with the CNAME but as he discovered the remote server is > doing name virtualhosting and without configuration for domain.org.au in > the web server it doesn't work. Martin, thanks I've tried 'rewrite' in htaccess from wiki h

Re: [SLUG] escaping apostrophies in php/mysql

2008-02-03 Thread Voytek Eymont
On Thu, January 31, 2008 5:39 pm, Rich Buggy wrote: > It could be that your old server had magic_quotes_gpc turned on in your > php.ini. Rich, thanks again, fixed with htaccess magic_quotes_gpc on -- Voytek -- SLUG - Sydney Linux User's Group Mailing List - http://slug.org.au/ Subscription in

Re: [SLUG] apache htaccess setup allowoveride all ?

2008-02-03 Thread Voytek Eymont
On Mon, February 4, 2008 11:11 am, Jeremy Visser wrote: > On Fri, 2008-02-01 at 12:53 +1100, Voytek Eymont wrote: > >> do I also need 'AllowOverride All' in vhost's conf ? > > Nope, your error is showing that Apache is indeed parsing the .htaccess > file, which it would not be doing if the AllowOv

Re: [SLUG] apache htaccess setup allowoveride all ?

2008-02-03 Thread Jeremy Visser
On Fri, 2008-02-01 at 12:53 +1100, Voytek Eymont wrote: > do I also need 'AllowOverride All' in vhost's conf ? Nope, your error is showing that Apache is indeed parsing the .htaccess file, which it would not be doing if the AllowOverride setting is incorrect. Are you loading PHP as CGI or a modul

Re: [SLUG] Adding text to a postscript file

2008-02-03 Thread Rick Welykochy
Erik de Castro Lopo wrote: I have a small postscript file which is a template for a ticket. I now need to find a way to add custom text to this file before printing and I need to be able to do this from the command line. Anybody have any suggestions or pointers? Postscript is plain text (ASCI

[SLUG] SyPy Meetup Thursday, 7 February 2008

2008-02-03 Thread Mark Rees
One month of the new year already gone. This Thursday, 7 February 2008 from 6:30PM, there will be a social gathering of Sydney Python Users Group and any individuals interested in discussing Python, Web, Ruby, Perl etc. Laptops, code review, show and tell etc allowed and encouraged. We meet in t

[SLUG] Adding text to a postscript file

2008-02-03 Thread Erik de Castro Lopo
Hi all, I have a small postscript file which is a template for a ticket. I now need to find a way to add custom text to this file before printing and I need to be able to do this from the command line. Anybody have any suggestions or pointers? Cheers, Erik -- ---

Re: [SLUG] Trying to create 'brady bunch-style' video

2008-02-03 Thread elliott-brennan
Hi Ken, Thanks for the info, though turning it into use-able video isn't really the problem - I'll be making a raw dv file for editing with Kino. It's finding a way to automatically get each of the relevant stills combined into a set of sequential jpegs or png files. I need to be able to w

Re: [SLUG] Trying to create 'brady bunch-style' video

2008-02-03 Thread Ken Wilson
Once you have the composite jpeg you could use the mogrify command from image magic to turn it into an animated giff which would flick through the composite images in order. Focused details here:- http://www.antarcticanimation.com/content/about/technology/technology.php The image magic site has