Search Results

Search found 2 results on 1 pages for 'voxobscuro'.

Page 1/1 | 1 

  • Using photoshop actions to decide if an image needs to be rotated

    - by voxobscuro
    I have Photoshop CS3 and I need to do a batch on a lot of pictures before I upload them. The pictures need to fit in an 600x800 box, yet be as big as possible within that box. Some of them are much wider than taller and others are more tall than wide. I am trying to put together a photoshop action that will rotate, resize, and fill pictures as needed to make them as big as possible while staying within the 600x800 box. The only thing I haven't gotten sorted out is how to tell photoshop to rotate the image 90 degrees if that will allow the picture to be bigger within the constraints. Any ideas?

    Read the article

  • Getting rails to execute root level file edits on system files without compromising security.

    - by voxobscuro
    I'm writing a Rails 3 application that needs to be able to trigger modifications to unix system config files. I'd like to insulate the file modifications from the consumer side by running them in a background process. I've considered writing out a temp file in rails and then copying the file with a bash script but that doesn't really insulate the system. I've also considered pulling from the database manually with a cron based script and updating the configs. But what I would really like is a component that can hook into the rails environment, read out what is needed from the database, and update the config files. This process needs to be run as root because the config files mostly live in /etc/whatever. Any suggestions? Thanks!

    Read the article

1