Utilisateur:Stéphane Brunner

De Stéphane Brunner.

Sommaire

Liens




LOL

Ma formule préférée : ei π = -1.


La bonne réponse à cette question mille fois posée est pourtant simple :

  • sur le forum Gnome : « Gnome est meilleur que KDE » ;
  • sur le forum KDE : « KDE est meilleur que Gnome » ;
  • sur un forum MS-Windows : « Gnome et KDE sont de loin les meilleurs »...

Il existe 10 sortes de personnes : celles qui connaissent le binaire, et les autres.


Si un jour on te reproche que ton travail n'est pas un travail de professionnel, dis toi que : Des amateurs ont construit l'arche de Noé, et des professionnels le Titanic.


Si Microsoft inventait un truc qui plante pas, ce serait un clou.


Et pour finir : http://www.nojhan.net/geekscottes/

Régles

  • Un vocabulaire clair tu emploieras.
  • Des thermes racistes tu ne diras pas.
  • Des propos injurieux tu n’exclameras pas.
  • Le respect tu maîtriseras.
  • Le rire, l'amusement tu connaîtras !

TODO

OSM

  • Finir bâtiment Lausanne
  • 2ème passe ? parking, arbres, barrières
  • Bus liste arrêts


  • S1 Yverdon - Lausanne - Villeneuve // voie aller : 3 / voie retour : 8
  • S2 Vallorbe - Lausanne - Palézieux // voie aller : 4 / voie retour : 7
  • S3 Allaman - Lausanne - Villeneuve // voie aller : 3 / voie retour : 9
  • S4 Morges - Lausanne - Palézieux // voie aller : 4 / voie retour : 7
  • S11 Yverdon-les-Bains – Lausanne // voie aller : 1 / voie retour : 8
  • S21 Lausanne - Payerne // voie aller : 70 / voie retour : 70

Diablerets

mono Srtm2Osm.exe -bounds1 46.3 7.1 46.4 7.3 ../ASTGTM_N46E007_dem.tif

sudo apt-get install gnuplot-x11
cd /media/SanDisk/srtm2osm; ./extractdata.pl ../srtm_38_03/srtm_38_03.asc 46.3 7.1 46.4 7.3 > extract.txt
./mkcntr.pl extract.txt 10 > contours.osm
#./merge.pl contours.osm map.osm > map.osm

Garmin map

Map to test

Ref : User:Petrovsk/FR:layered Garmin map.

Routage :

  • Voiture 91
  • Piéton 92
  • Sky 93

Display :

  • Mapnik 81
  • P-map 82

Overlays :

  • sacscale 71
  • mtbscale 72
  • Piste sky 73
  • Piste autre 74
  • Contours 61


wine ./Srtm2Osm/Srtm2Osm.exe \
-bounds1 45.7 5.8 47.9 10.7 \
-step 10 -cat 500 100 \
-large -corrxy 0.0005 0.0006 \
-o srtm_10.osm

java -Xmx1G -jar splitter.jar --mixed=yes --mapid=72500001 srtm_10.osm
mv template.args srtm.args

java -Xmx1G -jar mkgmap.jar --draw-priority=50 --transparent --family-id=61 -c srtm.args

java -Xmx1G -jar splitter.jar ... switzerland.osm

sed 's/mapname: 6324/mapname: 6191/g' template.args > 91.args
sed 's/mapname: 6324/mapname: 6192/g' template.args > 92.args
sed 's/mapname: 6324/mapname: 6193/g' template.args > 93.args
sed 's/mapname: 6324/mapname: 6181/g' template.args > 81.args
sed 's/mapname: 6324/mapname: 6182/g' template.args > 82.args
sed 's/mapname: 6324/mapname: 6171/g' template.args > 71.args
sed 's/mapname: 6324/mapname: 6172/g' template.args > 72.args
sed 's/mapname: 6324/mapname: 6173/g' template.args > 73.args
sed 's/mapname: 6324/mapname: 6161/g' template.args > 61.args

java -Xmx1G -jar mkgmap.jar --gmapsupp --tdbfile \
\
--family-id=91 --family-name="Routage OSM Voiture" --route \
--draw-priority=5 --style-file=../styles/routage/ \
--add-pois-to-areas --remove-short-arcs \
--max-jobs=1 --latin1 \
--country-name="Suisse" --country-abbr="CH" -c 91.args \
\
--family-id=92 --family-name="Routage OSM Pied" --route \
--draw-priority=5 --style-file=../styles/pied/ \
--add-pois-to-areas --remove-short-arcs \
--max-jobs=1 --latin1 \
--country-name="Suisse" --country-abbr="CH" -c 92.args \
\
--family-id=93 --family-name="Routage OSM Sky" --route \
--draw-priority=5 --style-file=../styles/sky/ \
--add-pois-to-areas --remove-short-arcs \
--max-jobs=1 --latin1 \
--country-name="Suisse" --country-abbr="CH" -c 93.args \
\
\
--family-id=81 --family-name="Mapnik OSM" \
--draw-priority=25 \
--add-pois-to-areas --style-file=../styles/mapnik/ \
--remove-short-arcs --max-jobs=1 --latin1 \
--country-name="Suisse" --country-abbr="CH" \
--generate-sea=extend-sea-sectors -c 81.args \
\
--family-id=82 --family-name="P-map OSM" \
--draw-priority=25 \
--add-pois-to-areas --style-file=../styles/pmap/ \
--remove-short-arcs --max-jobs=1 --latin1 \
--country-name="Suisse" --country-abbr="CH" \
--generate-sea=extend-sea-sectors -c 82.args \
\
\
--family-id=71 --family-name="Promenade overlay" \
--draw-priority=40 --transparent \
--style-file=../styles/sacscale/ \
--remove-short-arcs --max-jobs=1 --latin1 \
--country-name="Suisse" --country-abbr="CH" \
--generate-sea=extend-sea-sectors -c 71.args \
\
--family-id=72 --family-name="Mountainbike overlay" \
--draw-priority=40 --transparent \
--style-file=../styles/mtbscale/ \
--remove-short-arcs --max-jobs=1 --latin1 \
--country-name="Suisse" --country-abbr="CH" \
--generate-sea=extend-sea-sectors -c 72.args \
\
--family-id=73 --family-name="Sky overlay" \
--draw-priority=40 --transparent \
--style-file=../styles/sky/ \
--remove-short-arcs --max-jobs=1 --latin1 \
--country-name="Suisse" --country-abbr="CH" \
--generate-sea=extend-sea-sectors -c 73.args \
\
--family-id=74 --family-name="Pistes overlay" \
--draw-priority=40 --transparent \
--style-file=../styles/pistes/ \
--remove-short-arcs --max-jobs=1 --latin1 \
--country-name="Suisse" --country-abbr="CH" \
--generate-sea=extend-sea-sectors -c 74.args \
\
\
--family-id=61 --family-name="Relief SRTM" \
--draw-priority=50 --transparent \
--remove-short-arcs --max-jobs=1 --latin1 \
\
\
--series-name="OSM + relief" --description="OSM SRTM par Sarge (original from Petrovsk)" \
topo_10.img ../mapnik.TYP ../contours.TYP ../pmap.TYP ../contours.TYP ../mtbscale.TYP ../sacscale.TYP ../piste.TYP

FJ

echo strip_tags($text, '<p><a>');
function closetags ( $html )
{
  #put all opened tags into an array
  preg_match_all ( "#<([a-z]+)( .*)?(?!/)>#iU", $html, $result );
  $openedtags = $result[1];
 
  #put all closed tags into an array
  preg_match_all ( "#</([a-z]+)>#iU", $html, $result );
  $closedtags = $result[1];
  $len_opened = count ( $openedtags );
  # all tags are closed
  if( count ( $closedtags ) == $len_opened )
  {
    return $html;
  }
  $openedtags = array_reverse ( $openedtags );
  # close tags
  for( $i = 0; $i < $len_opened; $i++ )
  {
    if ( !in_array ( $openedtags[$i], $closedtags ) )
    {
      $html .= "</" . $openedtags[$i] . ">";
    }
    else
    {
      unset ( $closedtags[array_search ( $openedtags[$i], $closedtags)] );
    }
  }
  return $html;
}

Prochain ordinateur ?

Desktop many RAM

Acer (8Go)

B15D07 - PC-ACER Aspire M5811-DGE2 - Core i3-530 2.93/4x2048/1000GB/Nvidia 310/DVD ± RW/Win 7 Home Premium (D F I)

1015.10 CHF

Custom (8Go)

15500  INTEL Core 2 Duo 3.00GHz E8400 + Ventilateur [ LGA775 - 6MB - 45nm - 1333MHz]    	
11848 	INTEL - ASUS Gaming G1-P5G43 (Intel G43 - Socket 775 - FSB 1333) - 400W 	
17204 	DDR2 8GB [2GBx4] DDR800 (PC2-6400) - CORSAIR DHX [Q2X8G6400C4DHX] 	
11070 	LOGITECH clavier CH DeLuxe 250 Keyboard Black USB [967738-0250] 	
B29D08 Souris LOGITECH B110 Optical Mouse White USB [ 910-001804 ]  
25210 	SATA300 2.0To (2000GB) - IntelliPower WESTERN RE4-GP (64 Mo; IntelliPower)[WD2002FYPS] 	
33762 	SATA - DVD-ROM LITEON iHDS118 Black OEM [ iHDS118-18 ] 	
99200 	Montage 	
10000 	Configuration de Base 

=> 1088.20

Custom (16Go)

15500  INTEL Core 2 Duo 3.00GHz E8400 + Ventilateur [ LGA775 - 6MB - 45nm - 1333MHz]    	
11848 	INTEL - ASUS Gaming G1-P5G43 (Intel G43 - Socket 775 - FSB 1333) - 400W 	
17462 	DDR2 16GB [4GBx4] DDR800 (PC2-6400) - CORSAIR XMS2 [QUAD2X16G6400] 	
11070 	LOGITECH clavier CH DeLuxe 250 Keyboard Black USB [967738-0250] 	
B29D08 Souris LOGITECH B110 Optical Mouse White USB [ 910-001804 ]  
25210 	SATA300 2.0To (2000GB) - IntelliPower WESTERN RE4-GP (64 Mo; IntelliPower)[WD2002FYPS] 	
33762 	SATA - DVD-ROM LITEON iHDS118 Black OEM [ iHDS118-18 ] 	
99200 	Montage 	
10000 	Configuration de Base 

=> 1728.-

Mini tablette ?

ASUS Eee PC T91MT


HP ProBook 6440b

Disque (total : 320Go) :

  • OS main
    • 20 Go /
    • 30 Go /home
    • 100 Go rsnapshot
  • OS realtime ?
    • 20 Go /
    • 10 Go /home
    • 40 Go rsnapshot
  • Common
    • 100 Go data (XFS)
Total : 320