This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| # -*- coding: utf-8 -*- | |
| ########################################################### | |
| # KEDJI Komlan Akpédjé | |
| # | |
| # SOA Stack components install script | |
| # @depends: penv.py, unzip.py, optionparse.py in PYTHONPATH | |
| # | |
| # NEOXIA Maroc | |
| ########################################################### |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| /* | |
| * Shorten a URL with bit.ly (uses bit.ly's google spreadsheet API key) | |
| * | |
| * Eric KEDJI <eric.kedji@gmail.com> | |
| */ | |
| CmdUtils.CreateCommand({ | |
| name: "bitly", | |
| homepage: "http://erickedji.wordpress.com/", | |
| author: {name: "Eric", email: "eric.kedji@gmail.com"}, | |
| license: "GPL", |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| def int2rvb(n): | |
| n = n - 1 # normaliser | |
| b = n % 256 | |
| v = (n % (256**2)) / 256 | |
| r = (n % (256**3)) / 256**2 | |
| return (r, v, b) | |
| def rvb2int(r, v, b): | |
| return r*(256**2) + v*256 + b + 1 |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| <?xml version="1.0"?> | |
| <!-- | |
| KEDJI Komlan Akpédjé <eric.kedji@gmail.com> | |
| Projet Ant pour générer un jar dans le répertoire de HotReload de Mule. | |
| Pour l'utiliser, créér un nouveau builder pour le projet | |
| (Projet->Properties->Builder->New), spécifier ce fichier comme buildfile. | |
| Le hot reloading aura lieu par intervalles de 3 secondes. | |
| N'oubliez pas de lancer mule avec "-builder org.mule.ReloadableBuilder" | |
| Sous Eclipse, les jars dans $MULE_HOME/lib/user ne sont pas ajoutés au |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| ;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;; | |
| ;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;; | |
| ; Quatre-vingts-dix-neuf problèmes en LISP ; | |
| ; KEDJI Komlan Akpédjé <eric_kedji@yahoo.fr> ; | |
| ; Inspiré de 'Ninety-nine Lisp Problems', ; | |
| ; lui-même inspiré d'une liste de problèmes ; | |
| ; en Prolog par werner.hett@hti.bfh.ch ; | |
| ; Les étoiles après les numéros de problèmes ; | |
| ; indiquent le niveau de difficulté. ; | |
| ;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;; |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| ;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;; | |
| ;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;; | |
| ; Quatre-vingts-dix-neuf problèmes en Scheme ; | |
| ; KEDJI Komlan Akpédjé <eric.kedji@gmail.com> ; | |
| ; http://erickedji.wordpress.com/ ; | |
| ; Elève ingénieur à l'ENSIAS ; | |
| ; ; | |
| ; Inspiré de 'Ninety-nine Lisp Problems' ; | |
| ; (www.ic.unicamp.br/~meidanis/courses/ ; | |
| ; mc336/2006s2/funcional/ ; |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| <?xml version="1.0"?> | |
| <!DOCTYPE plugin [ | |
| <!ENTITY process-metrics SYSTEM "/pdk/plugins/process-metrics.xml">] | |
| > | |
| <!-- | |
| Plugin Hyperic pour la découverte automatique et l'exposition de statistiques sur les serveurs Mule | |
| Eric KEDJI <eric.kedji@gmail.com> | |
| NEOXIA Maroc | |
| TODO: Ajouter les descriptions aux différentes propriétés (affichées dans l'UI de HypericHQ) |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| /* | |
| * Turn all urls in the selection into links | |
| * Frustrated by Google docs asking me to do CTRL-K, ENTER for every link. | |
| * Eric KEDJI <eric.kedji@gmail.com> | |
| */ | |
| CmdUtils.CreateCommand({ | |
| name: "linkify", | |
| homepage: "http://erickedji.wordpress.com/", | |
| author: {name: "Eric", email: "eric.kedji@gmail.com"}, | |
| license: "GPL", |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| (*O/*_/ | |
| Cu #%* )pop mark/CuG 4 def/# 2 def%%%%@@P[TX---P\P_SXPY!Ex(mx2ex("SX!Ex4P)Ex= | |
| CuG #%* *+Ex= | |
| CuG #%*------------------------------------------------------------------*+Ex= | |
| CuG #%* POLYGLOT - a program in eight languages 15 February 1991 *+Ex= | |
| CuG #%* 10th Anniversary Edition 1 December 2001 *+Ex= | |
| CuG #%* *+Ex= | |
| CuG #%* Written by Kevin Bungard, Peter Lisle, and Chris Tham *+Ex= | |
| CuG #%* *+Ex= |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| /* | |
| * Strip the characters of the modifier in the input | |
| * This was motivated by the desire to strip '$'s in shell snippets, | |
| * so as to copy and paste in a running terminal. | |
| * TODO: Add support for stripping 'eric@schemer$ ' for example. | |
| * | |
| * Eric KEDJI <eric.kedji@gmail.com> | |
| */ | |
| CmdUtils.CreateCommand({ | |
| name: "strip", |