10/28/2009

Lancement des versions localisées de Twitter

Billet très rapide pour annoncer le lancement officiel de :

J'essayerai d'écrire un autre billet pour donner plus d'informations techniques sur l'architecture des sites.
10/12/2009

preg_replace/preg_replace_callback PURE Javascript equivalent

I didn't know that but the string replace method support $X notation style and callback functions:

preg_replace
in pure javascript:


preg_replace_callback in pure javascript:

PHP preg_replace_callback Javascript equivalent

Usage:

[Explore Code] [Download @GitHub]
10/10/2009

PHP preg_replace the Javascript equivalent

It's seems that preg_replace (and apparently preg_replace_callback) doesn't exist in PHP.js or any other javascript library, however after some research I've found this one from Ferdinand Silva:



And this one from Xuan NGUYEN:


Problems
But their function don't support references (of the form \\n or (since PHP 4.0.4) $n or ${n}) in the remplacement argument . So I've developped mine !


Check my GitHub page for the PHP preg_replace Javascript Equivalent
10/03/2009

Twitter recommendation-power indicator tool [updated]

I've just released a new version of Twitter recommendation-power indicator tool.

Changelog:
  1. Now support minurl.fr & minu.me
  2. "pass Reply & RT" option added
  3. Some bug fixes

However I still wait for a tr.im API key...
« »
 
 
Made with on a hot august night from an airplane the 19th of March 2017.