Bac à sable wiki : Différence entre versions

De L'abscisse - FabLab et Hackerspace de Dijon
Aller à : navigation, rechercher
m
(test highlight)
Ligne 57 : Ligne 57 :
 
       pass
 
       pass
 
</syntaxhighlight>
 
</syntaxhighlight>
 +
  
 
<syntaxhighlight lang="python" highlight="1,5-7">
 
<syntaxhighlight lang="python" highlight="1,5-7">
Ligne 67 : Ligne 68 :
 
     else:
 
     else:
 
</syntaxhighlight>
 
</syntaxhighlight>
 +
 +
 +
<syntaxhighlight lang="python" inline>lambda x: x * 2</syntaxhighlight>
 +
 +
https://www.mediawiki.org/wiki/Extension:SyntaxHighlight_GeSHi
 +
 +
https://github.com/wikimedia/mediawiki-extensions-SyntaxHighlight_GeSHi/blob/master/SyntaxHighlight_GeSHi.lexers.php
 +
 +
 +
<syntaxhighlight lang="bash">
 +
#!/bin/bash
 +
# Indique au système que l'argument qui suit est le programme utilisé pour exécuter ce fichier
 +
# En règle générale, les "#" servent à mettre en commentaire le texte qui suit comme ici
 +
echo Mon premier script
 +
echo Liste des fichiers :
 +
ls -la
 +
 +
exit 0
 +
</syntaxhighlight>
 +
 +
==images==
  
 
[[Fichier:Plugin doodle.png]]
 
[[Fichier:Plugin doodle.png]]
 
[[Fichier:http://coagul.org/drupal/sites/all/themes/coagul1/logo.png]]
 
[[Fichier:http://coagul.org/drupal/sites/all/themes/coagul1/logo.png]]

Version du 10 décembre 2015 à 13:41


Syntaxe du wiki

http://www.mediawiki.org/wiki/Help:Formatting/fr
http://fr.wikipedia.org/wiki/Aide:Syntaxe

Vos tests sous ce titre

barre de progression

30% accompli (estimation)

Pour intégrer une barre de progression : {{progression|3|10}}

  • hacklab

Selon Wikipedia: « Un hackerspace, hacklab ou media hacklab est un lieu où des gens avec un intérêt commun


  • hacklab
Selon Wikipedia: « Un hackerspace, hacklab ou media hacklab est un lieu où des gens avec un intérêt commun
Selon Wikipedia: « Un hackerspace, hacklab ou media hacklab est un lieu où des gens avec un intérêt commun


un nouveau lien

coucou

nouvellepage

chat déboité

Faire des Liens

ma page ma page "ma page" informatique

Erreur lors de la création de la miniature : /bin/bash: warning: setlocale: LC_ALL: cannot change locale (fr_FR.utf8) convert-im6.q16: delegate failed `'rsvg-convert' -o '%o' '%i'' @ error/delegate.c/InvokeDelegate/1919. convert-im6.q16: unable to open file `/tmp/magick-142655C3gYgUQIJkPB': No such file or directory @ error/constitute.c/ReadImage/544. convert-im6.q16: no images defined `PNG:/tmp/transform_61c3dadeeb91.png' @ error/convert.c/ConvertImageCommand/3258.

Schéma réalisé avec Inkscape (fichier source)

test highlight

def quickSort(arr):
    less = []
    pivotList = []
    more = []
    if len(arr) <= 1:
        return arr
    else:
       pass


def quickSort(arr):
    less = []
    pivotList = []
    more = []
    if len(arr) <= 1:
        return arr
    else:


lambda x: x * 2

https://www.mediawiki.org/wiki/Extension:SyntaxHighlight_GeSHi

https://github.com/wikimedia/mediawiki-extensions-SyntaxHighlight_GeSHi/blob/master/SyntaxHighlight_GeSHi.lexers.php


#!/bin/bash
# Indique au système que l'argument qui suit est le programme utilisé pour exécuter ce fichier
# En règle générale, les "#" servent à mettre en commentaire le texte qui suit comme ici
echo Mon premier script
echo Liste des fichiers :
ls -la
 
exit 0

images

Plugin doodle.png Fichier:Http://coagul.org/drupal/sites/all/themes/coagul1/logo.png