I hereby claim:
- I am fil on github.
- I am fil (https://keybase.io/fil) on keybase.
- I have a public key whose fingerprint is 4135 B776 D395 52D0 8A44 A57F ADBE 58EB 174F 9505
To claim this, I am signing this object:
/* | |
* Newton's method for finding roots | |
* | |
* code adapted from D.V. Fedorov, | |
* “Introduction to Numerical Methods with examples in Javascript” | |
* http://owww.phys.au.dk/~fedorov/nucltheo/Numeric/11/book.pdf | |
* (licensed under the GPL) | |
* by Philippe Riviere <philippe.riviere@illisible.net> March 2014 | |
* modified for compatibility with Chrome/Safari | |
* added a max iterations parameter |
#!/usr/bin/perl | |
# source: http://www.perlmonks.org/?node_id=642617 | |
#use strict; | |
# mixed string with ISO 8859-1 und UTF-8: | |
#my $test_string = "Das Å (auch \"bolle-Å\" genannt, was soviel bedeutet wie \"Kringel-Å\") ist mit der ". | |
#D force_latin("dänischen Rechtschreibreform von 1948 eingeführt worden."); |
I hereby claim:
To claim this, I am signing this object:
#! /bin/bash | |
bon=$1 | |
( | |
echo "stage,time,place,lat,lon" && | |
( | |
lynx -dump "http://www.tnt.fr/public/suivi_colis/recherche/visubontransport.do?bonTransport=$bon" \ | |
| sed 's/^\(.*\) \([0-9][0-9].[0-9][0-9].2014 ..:..\) \(.*\)/\1,\2,\3/' \ | |
2>/dev/null \ | |
| grep "/201[0-9] " |
<?php | |
# stitch tile images together to form a large image | |
# see also https://github.com/ericfischer/tile-stitch | |
function usage($err= null) { | |
echo "php recolle.php 'http://TILES_SERVER/%z/%x/%y.png' z x1 y1 [+nx] [+ny]\n"; | |
if ($err) |
#! /usr/bin/php -q | |
<?php | |
define('_STATEDIR', '/data/state/'); | |
define('_ROOTPASS', 'root password for mysql'); | |
# connexion a la base | |
$conn = mysql_connect('localhost', 'root', _ROOTPASS); | |
if (!$conn) die ('erreur connexion DB '.mysql_error()); |
<?php | |
# (trouver le pipeline qui va bien ou patcher public/interfaces.php) | |
$table_des_traitements['LOGO_ARTICLE'][]= 'traiter_logo_article(%s, $Pile[$SP][\'id_article\'])'; |
# ma config | |
seen-local-config.php | |
# stockage de mon backup xml | |
tmp/ | |
# mes fichiers exportes | |
seen/ | |
# mes fichiers downloades |
#!/usr/bin/env python | |
# -*- coding: utf-8 -*- | |
# | |
# adapted from ensim-0.8.4-py2.7.egg/gensim/corpora/wikicorpus.py | |
# | |
# Copyright (C) 2010 Radim Rehurek <radimrehurek@seznam.cz> | |
# Licensed under the GNU LGPL v2.1 - http://www.gnu.org/licenses/lgpl.html | |