public marks

PUBLIC MARKS from camel with tag script

December 2008

Styliser automatiquement les liens d’une URL

Sur certains sites il peut être utile d’informer le visiteur sur la nature du lien en changeant la couleur et en y associant une petite image : est-ce un lien interne, externe, une image, un lien affilié… Pour y arriver facilement je vous conseille d’installer le script de DLINK qui fait cela très bien et presque tout seul…

Customiser son Google Reader avec Greasemonkey

by 1 other
Depuis un petit moment j’utilise Google Reader pour lire mes flux RSS. Parallèlement, j’utilise Blogmarks pour “blogmarker” les articles que je trouve intéressants (ou dans la catégorie “ça pourra servir”). Et depuis un petit moment je me disais que ça serait vraiment pratique un petit bouton “Blogmark it” sur les items de Google Reader… Google reader Après une rapide recherche sans résultats sur http://userscripts.org/, un site qui héberge tout un tas de scripts Greasemonkey, j’ai pris mon courage à 2 mains et j’ai fait un script. Maintenant j’ai un joli bouton “Blogmark it” après les boutons “élements suivant/éléments précédents” de mon Google Reader qui fait exactement comme le plugin Blogmarks pour Firefox, c’est à dire l’ouverture d’une pop-up avec le formulaire pré-rempli (url, titre et description si du texte est selectionné). Voilà donc le lien pour installer en 2 clics mon petit script (après avoir installé GreaseMonkey) : Google Reader “Blogmarks” button. Comme j’étais motivé et bien content de mon truc j’ai aussi fait un script pour avoir un bouton “Share on facebook” de la même façon : Google Reader “Share on facebook” button.

jQZoom Evolution

by 5 others (via)
JQZoom is a javascript image magnifier built at the top of the popular jQuery javascript framework.jQzoom is a great and a really easy to use script to magnify what you want.

Login Panel, connexion du plus bel effet| Webmaster - Ressources et outils gratuits pour votre site internet - Free Tools| Free Tools, Le meilleur des outils gratuits pour webmaster

Login Panel est un script original proposé par Web-kreation. Avec Login Panel, ajoutez en haut de votre page web un petit onglet, qui une fois “déplié”, vous demandera les informations de connexion classiques pour accéder à une zone personnelle. show hide login form Ce script s’appuie sur le Framework Mootools. Très simple à mettre en oeuvre, parfaitement réalisé, il ne vous faudra pas plus de 5 minutes pour le placer sur votre site internet. Et, ce script sera facilement “détournable”… pourquoi ne pas placer un “à propos de” ou panel avec vos sponsors ?

November 2008

Comment mettre à jour plusieurs Wordpress en une seule fois | Korben

(via)
Si vous avez un serveur sur lequel vous gérez une floppé de Wordpress, voici un petit script crée par les amis Billyboylindien et Xorax qui va vous permettre de mettre à jour tous ces wordpress en un seul coup… Alors bien sûr les plus sournois d’entre vous vont me dire : “Ouiii mais euuuh, y’a wordpress MU j’te ferai dire d’abord que j’te signale !” Effectivement, Wordpress MU est une version particulière de Wordpress qui permet via une seule install de Wordpress d’avoir x blogs… Très bien mais toujours mis à jour en décalé par rapport à Wordpress standard et tout le monde n’a pas forcement installé un Wordpress MU dès le départ (genre : moi !) Du coup, ce script de mise à jour est vraiment le bienvenu. Une fois que vous l’avez paramètré et rendu exéutable, il se chargera automatiquement de téléchager la dernière version de Wordpress, fera un backup de vos fichiers et de votre base de donnée, et mettra en place les nouveaux fichiers de Wordpress sans bousiller toute votre install (donc sans toucher à wp-content). Tip top quoi !

OpenInviter - Contacts importer integration with CMS like PunBB, JamRoom, Joomla and many more

by 1 other
Open source OpenInviter (Open Inviter) is an free import contacts (addressbook) script from email providers like Lycos, GMX.net, Rediff, IndiaTimes, KataMail, AOL, OperaMail, Yandex, Terra, Rambler, Mail.com, Mynet.com, Yahoo!, Inbox.com, GMail, Libero, Mail.ru, Live/Hotmail, FastMail or social portals like Flickr, LinkedIn, Twitter, Bebo, Friendster, Facebook, Last.fm, Hi5, MySpace, Flixster, Perfspot, Orkut, Skyrock. This contacts importer script is integrating with content management systems (aka CMS) like Joomla, JamRoom, Drupal, SimpleMachines Forum (SMF), Wordpress, Social Engine, PunBB, Joomla1.0, PhpBB. Open Inviter is written in PHP 5 (no database required but cURL or wget required) and running on any webserver (tested on Apache) offering advanced tell a friend features. OpenInviter is a free self hosted solution that does not use a third party gateway (or API) to import contacts. Sounds cool! How much? OpenInviter is totally free and open-source solution. You can download it, change it, write plugins for it. Everything for free. What are you waiting for? Grab your OpenInviter today! Go to the Download section now! Features at a glance * Easy access to your visitors address book in all major email providers and social networks around the world. * Completely painless and easy way of integrating in your website. It takes virtually not more than 5 minutes to have your own OpenInviter up and running on your site. * Constant updates so that you can sit back and relax and always have access to the latest ways to get your visitor's address book. * WGET-ready! Yes, you read right! OpenInviter is the only contacts importer supporting both WGET and cURL as methods of handling requests (since version 1.2) so now you can use it on ANY server you want without the hassle of installing libcurl! * Real time access to the service statuses so you can know if there is an email provider that is not working right with OpenInviter.

’Scripts Shell sous Linux’ chez ENI (TOOLinux)

(via)
’Scripts Shell sous Linux’ chez ENI 10 novembre 2008 dans Livres Ce livre sur les scripts shell présente la mise en œuvre de projets dans un environnement industriel. Les 5 projets détaillés couvrent la plupart des besoins en scripts rencontrés en entreprise. Ils ont été conçus et présentés de telle sorte que leur adaptation à des besoins spécifiques sera aisée pour le lecteur. Les thèmes couverts traitent de la gestion des comptes utilisateurs, des sauvegardes de fichiers, des sauvegardes systèmes, de la gestion des disques, des communications entre serveurs, des mécanismes de surveillance et des scripts de démarrage. Ces projets abordent des approches différentes de la programmation en shell, tels que les gros projets qui utilisent plusieurs scripts avec des fichiers de configuration et de journalisation, ou le script unique complet et autonome. Des concepts de base sont détaillés comme les menus interactifs, la crontab, des fichiers systèmes, la sécurité SSH et les clés. Les scripts shell traités dans le livre sont en téléchargement sur cette page. A noter que le livre numérique est offert par l’éditeur pour l’achat du livre imprimé jusqu’au 31 décembre 2008. "Scripts Shell sous Linux : Mise en œuvre de 5 projets", de Théo SCHOMAKER et Jean-Marc BARANGER", ENI Editions. 37 euros. ISBN : 978-2-7460-4617-7

Check Your Mysql Server Performance with MySQLTuner -- Debian Admin

by 1 other
MySQLTuner is a script written in Perl that will assist you with your MySQL configuration and make recommendations for increased performance and stability. Within seconds, it will display statistics about your MySQL installation and the areas where it can be improved. It’s key to remember that MySQLTuner is a script which can assist you with your server, but it is not the solution to a badly performing MySQL server. The best performance gains come from a thorough review of the queries sent to the server, and an evaluation of the MySQL server itself. A qualified developer in your application’s programming or scripting language should be able to work with a MySQL database administrator to find improvements for your server. Once the server and application are optimized well, you may need to consider hardware upgrades to the physical server itself. This is a really useful tool for helping to optimize MySQL performance.Understanding the various my.cnf variables and how they affect performance can seem really complicated but this tool takes some of the pain away and makes it easier to understand the effects of each variable.It is especially useful to be able to see the global memory usage, memory usage per thread and the maximum possible memory usage - that is really valuable information that is otherwise complex to calculate.

JavaScript Table Sorter - Web Development Blog

by 4 others (via)
This JavaScript table sorting script is easy to use, fast and lightweight at only 1.7KB. It includes alternate row formatting, header class toggling, auto data type recognition and selective column sorting. It will currently sort strings, numbers and currency. More features will follow.

Linux.com :: Parallel SSH execution and a single shell to control them all

(via)
Many people use SSH to log in to remote machines, copy files around, and perform general system administration. If you want to increase your productivity with SSH, you can try a tool that lets you run commands on more than one remote machine at the same time. Parallel ssh, Cluster SSH, and ClusterIt let you specify commands in a single terminal window and send them to a collection of remote machines where they can be executed. Why you would need a utility like this when, using openSSH, you can create a file containing your commands and use a bash for loop to run it on a list of remote hosts, one at a time? One advantage of a parallel SSH utility is that commands can be run on several hosts at the same time. For a short-running task this might not matter much, but if a task needs an hour to complete and you need to run it on 20 hosts, parallel execution beats serial by a mile. Also, if you want to interactively edit the same file on multiple machines, it might be quicker to use a parallel SSH utility and edit the file on all nodes with vi rather than concoct a script to do the same edit. Many of these parallel SSH tools include support for copying to many hosts at once (a parallel version of scp) or using rsync on a collection of hosts at once. Because the parallel SSH implementations know about all the hosts in a group, some of them also offer the ability to execute a command "on one host" and will work out which host to pick using load balancing. Finally, some parallel SSH projects let you use barriers so that you can execute a collection of commands and explicitly have each node in the group wait until all the nodes have completed a stage before moving on to the next stage of processing.

October 2008

Xen Backup Script - Wiki

(via)
If you're using LVM based storage for your domains this script will create a snapshot and backup each server to a local drive or a remote system using rdiff-backup.

BlackBird, deboggeur javascript| Webmaster - Ressources et outils gratuits pour votre site internet - Free Tools| Free Tools, Le meilleur des outils gratuits pour webmaster

(via)
BlackBird est un script open source de Login/Débogage JavaScript multiplateforme. Les développeurs JavaScript connaissent trop bien la fonction alert() pour débugger leur programme ! BlackBird risque de mettre à la retraite anticipée cette vieille fonction ! blackbird debogage javascript BlackBird est tout simplement un outil génial qui permet le débogage de vos codes par l’intermédiaire d’un moniteur (au design superbe !) qui apparait en avant plan de votre page Internet. Cette console vous permettra d’afficher un ensemble de messages, avec différents types : erreurs, informations, alertes et débogages.

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

by 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

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.

September 2008

XtraFile » XtraUpload v2

by 2 others
Written in PHP using the CodeIgniter Framework, XtraUpload has all the features you would expect from a file Hosting Script. Free users as well as premium users have the ability to upload files but premium users get a lot more features such as viewing files, instantly downloading files and getting the URL’s of the files they have uploaded. You can also specify the file types, sizes along with many other options. Each user must provide a valid email address when they sign up for premium as the script automatically sends the username and password to them upon reception of payment through PayPal IPN. File Hosting websites brings in large revenues and is a very easy system to setup thanks to XtraUpload.

Script To Check If MySQL Master Master Replication Is Working Correctly | HowtoForge - Linux Howtos and Tutorials

This short article explains how you can use a short script to check whether your MySQL master master replication is working as expected or not.

August 2008

IE WebDeveloper - DOM Inspector, Script Console, Logging messages and HTTP Monitor

IE WebDeveloper is an add-on for Microsoft Internet Explorer. The rich web debugging toolset allows you to inspect and edit the live HTML DOM and current cascaded styles, evaluate expressions and display error messages, log messages, explore source code of webpage and monitor DHTML Event and HTTP Traffic.

An alternative to sIFR: Facelift Image Replacement | Breathe new life into your web pages

by 13 others
Facelift Image Replacement (or FLIR, pronounced fleer) is an image replacement script that dynamically generates image representations of text on your web page in fonts that otherwise might not be visible to your visitors. The generated image will be automatically inserted into your web page via Javascript and visible to all modern browsers. Any element with text can be replaced: from headers to span elements and everything in between!

July 2008

Plug-in jQuery pour pré-charger les images CSS - MarcArea Weblog

Je suis tombé il y a quelques temps sur un plug-in sympa pour jQuery qui permet de pré-charger les images des fichiers CSS (via). C'est utile dans un certain nombre de cas pour le webdev moderne. Ca m'avait plu et je voulais l'utiliser mais je me suis rendu compte qu'il ne prenait pas en compte les fichiers importés via la règle @import. J'ai donc ré-écrit le script en améliorant 2 ou 3 petites choses : * Je fais gaffe de parser seulement les CSS de type @media screen * Je fais du récursif pour choper les éventuels styles @importés (façon W3C et IE) * Je stock les règles dans un tableau pour éviter d'avoir une seule regex à appliquer sur une seule grosse chaîne, c'est plus performant

June 2008

ImapSync: migrer un compte imap vers un autre

ImapSync est un script qui permet de copier de manière incrémentale et récursive un compte mail depuis un serveur vers un autre, à l’aide du protocole IMAP. L’intérêt de cet outil est qu’il ne copie que les mails qui n’existent pas encore sur le serveur de destination, rendant la migration beaucoup plus rapide qu’avec d’autres méthodes, en particulier si la migration s’interrompt en plein milieu: avec ImapSync, la migration continuera la où tu t’en étais arrêté. On notera que cet outil préserve de plus le statut de chaque message (lu, non lu, supprimé). Enfin, chaque message copié peut au choix être supprimé de la boite d’origine ou non. Autrement dit, cet outil peut être utilisé aussi bien pour synchroniser un compte mail avec un autre, que pour migrer un compte mail.

April 2008

Logmonster FAQ - The Network People, Inc.

Typical Scenario: You have a web server that serves your domain. You write a simple script to restart apache each night and pipe the logs off to your analyzer. It works. ISP/Hosting Scenario: Each server hosts many domains. You may also have load balanced servers (multiple machines) serving each domain. A tool like this is necessary to: 1. collect all the log files from each server 2. split the logs based on the virtual host(s) 3. discard invalid entries (phishing, referrer spam, etc) 4. sort them into chronological order 5. feed logs into analyzer 6. do something with the raw logs (compress, save to vhost dir, etc) [edit]

March 2008

FancyBox - jQuery image zooming plugin

by 10 others
Inspired by many other lightbox-like tools, now made kinda different image zooming script for those who want something fresh. It`s powered by great javascript library - jQuery, tested with IE6, IE7, Firefox Features: * Automatically scales large images to fit in window * Adds a nice drop shadow under the full-size image * Image sets to group related images and navigate through them

camel's TAGS related to tag script

ajax +   analytics +   apache +   application +   awstats +   backup +   bash +   blog +   blogmarks.net +   browser +   captchas +   class +   cluster +   cms +   code +   configuration +   control +   convert +   corner +   css +   database +   debian +   disk +   dns +   dom +   drbd +   edit +   effets +   email +   error +   facebook +   file +   flash +   flv +   footnotes +   free +   gim +   google +   google agenda +   google reader +   greasemonkay +   html +   http +   ie +   image +   images +   install +   interface +   internet +   javascript +   jQuery +   link +   linux +   list +   log +   mail +   management +   menu +   migration +   monitoring +   mysql +   nagios +   network +   optimize +   parse +   performance +   php +   player +   plugin +   qmail +   radios +   remote +   replication +   report +   reservation +   ressources +   rsync +   server +   serveur +   setup +   shell +   sifr +   site +   sms +   sort +   spam +   ssh +   standard +   statistics +   table +   ticket +   tools +   ubuntu +   upload +   video +   web +   webdesign +   xen +   xhtml +   zoom +