Quantcast
Browsing latest articles
Browse All 10 View Live

Image may be NSFW.
Clik here to view.

New features in Wisss : authentication, acl, blocks

Following my last post about authentication, I’ve implemented it in Wisss. I’ve also added a simple ACL management which retrieves all resources, roles and privileges from database and constructs a...

View Article


Image may be NSFW.
Clik here to view.

Apache Virtualhost generator

Currently I’ve not much time to work on Wisss However, I will make a tiny dsl and generator to have a virtualhost file generated (independent from Wisss, which already generate a vhost). I’ve already...

View Article


How to extract audio from a DVD and encode to flac

To see information about the dvd : mplayer -identify -frames 0 dvd:// To encode the 17 chapters of the first title of a dvd : for i in $(seq 17) ; do mplayer -vo null -ao pcm -ao pcm:file=$i.wav:fast...

View Article

Autoresize textarea

I was looking for a javascript which could automatically resize a textarea but the ones I’ve found were a bit buggy or ugly, so I’ve written mine. There’s just a tiny bug with copy/paste with mouse....

View Article

Integration of Scriptaculous slider in Zend framework

For a customer need, I’ve integrated the scriptaculous slider as shown here in Zend framework. To achieve this, I’ve created a formSlider view helper which is then used by a slider form element. The...

View Article


Wrapping text for Zend Pdf

A common issue in Zend_Pdf is to wrap text in a box. I’ve found partial solutions such as wrapping text each 80 characters for instance but the line width can vary regarding the font and the character...

View Article

Zend Pdf and PNG transparency issue

Currently working on PDF generation, I’ve noticed that drawing a big PNG image with transparency (about 600×800, 150kB) brings the script computation up to 20 seconds. I’ve raised the bug in the Zend...

View Article

Array search performance

You probably have often searched for a value in an array using the in_array() function. Reading php|architect’s Guide to PHP Security by Ilia Alshanetsky, I’ve noticed that searching on values can be...

View Article


Talk about Wisss during the Acceleo Day at RMLL 2009

Long time not posting here. I’ve had a lot of work and nothing really interesting to post. I just inform you that I will make a speech about Wisss during the Acceleo Day in Nantes, at L’école des...

View Article


Image may be NSFW.
Clik here to view.

Permission required decorator for django

Very long time since last post. The new thing in my geek life is I’ve switched to Django. My last issue today was to display an error message instead of redirecting to login page when the use doesn’t...

View Article
Browsing latest articles
Browse All 10 View Live