public marks

PUBLIC MARKS with tags images & shell

October 2008

Script pour optimiser les images d'un site (eZ Publish, Linux, Online Editor, Performances, shell, Web)

by camel & 1 other
L'optimisation des images est une manière simple et peu coûteuse d'améliorer les performances d'affichage d'un site au premier chargement (avec le cache navigateur vide) sans trop de problèmes. Smush it! a remis ce sujet à la mode et permet de voir facilement les images à optimiser pour une page donnée. Le problème est qu'avec ce service, on peut récupérer une archive zip avec les images optimisées mais en perdant l'arborescence des images ce qui peut être un peu fastidieux, il est aussi fastidieux d'utiliser l'extension Firefox sur toutes les pages d'une application web pour passer en revue toutes les images et si en plus les images ne sont pas publiquement accessibles son utilisation ne sera tout simplement pas possible. Pour pallier à cela, j'ai écrit le script shell suivant pour l'optimisation des fichiers GIF et PNG qui : 1. optimise tous les fichiers PNG avec pngcrush 2. identifie les PNG 24 bits avec identify (qu'il est peut être possible de transformer en PNG 8 bits mais cela nécessite une vérification visuelle) 3. convertit les fichiers GIF en PNG 8 bits avec convert si le fichier résultant est plus petit.

Tentakel to execute commands on multiple Linux or UNIX Servers

by camel
Many times, you want to execute a command not only on one server, but also on several servers. For example, find out * Version of kernel * Version of Apache web server * Update static html or images files on all web servers via rsync * Find out user information, server information, memory usage etc * Security/patch checking tentakel I have already covered how to execute commands on multiple Linux or UNIX servers via shell script. The disadvantage of script is commands do not run in parallel on all servers. However, several tools exist to automate this procedure in parallel. With the help of tool called tentakel, you run distributed command execution. It is a program for executing the same command on many hosts in parallel using ssh (it supports other methods too). Main advantage is you can create several sets of servers according requirements. For example webserver group, mail server group, home servers group etc. The command is executed in parallel on all servers in this group (time saving). By default, every result is printed to stdout (screen). The output format can be defined for each group.

December 2007

John Resig - Easy PDF Sharing

by gregR
a little shell script this afternoon which converts a PDF into a set of images then builds a little HTML JavaScript browser that you can copy-and-paste into your blog posts.

November 2006

exifstats -- How were your photos taken?

by gregR & 1 other
a command line tool for gathering and displaying data about how your photos were taken.

PUBLIC TAGS related to tag images

blog +   culture +   dotclear +   electro +   en +   fx +   galerie +   graphisme +   image +   informatique +   internet +   limoges +   numerique +   épicuriens +   photo +   photoshop +   tutorial +  

Active users

camel
last mark : 16/10/2008 13:15

gregR
last mark : 13/12/2007 08:16