« Sandbox » : différence entre les versions
Aller à la navigation
Aller à la recherche
Aucun résumé des modifications |
|||
Ligne 73 : | Ligne 73 : | ||
== Cite test == | == Cite test == | ||
Lorem ipsum dolor<ref>Faux-texte, qu'un imprimeur composa à partir d'un écrit de Cicéron</ref> sit nunc abuntur<ref>L'on quitte ici le texte original</ref>. | Lorem ipsum dolor<ref group="note">Faux-texte, qu'un imprimeur composa à partir d'un écrit de Cicéron</ref> sit nunc abuntur<ref group="note">L'on quitte ici le texte original</ref>. | ||
<references /> | <references group="note" /> |
Version du 25 décembre 2010 à 14:06
SyntaxHighlight_GeSHi test
Pre without <source>
# # French UTF-8 Users Accunts. # french|French UTF-8 Users Accounts:\ :charset=UTF-8:\ :lang=fr_FR.UTF-8:\ :tc=default: # # English UTF-8 Users Accunts. # english|English UTF-8 Users Accounts:\ :charset=UTF-8:\ :lang=en_US.UTF-8:\ :tc=default:
FreeBSD: how to add UTF-8 accounts classes to /etc/login.conf
#
# French UTF-8 Users Accunts.
#
french|French UTF-8 Users Accounts:\
:charset=UTF-8:\
:lang=fr_FR.UTF-8:\
:tc=default:
#
# English UTF-8 Users Accunts.
#
english|English UTF-8 Users Accounts:\
:charset=UTF-8:\
:lang=en_US.UTF-8:\
:tc=default:
TCL: read info from sqllite
- In the config part
#The database containing mac information
#You can so hide a MAC address you don't want to print
#or gives it a custon name.
set macs(db) /tmp/pamela.db
#Path to libtclsqlite.so, if it's needed to manually load it
set macs(libtclsqlite) "/usr/local/lib/sqlite/libtclsqlite.so"
- In the procedural part
#Loads database information
if {[info exists macs(db)] && $macs(db) != ""} {
if {[info exists macs(libtclsqlite)] && $macs(libtclsqlite) != ""} {
load $macs(libtclsqlite)
} {
package require sqlite
}
sqlite db $macs(db)
set macs(knownmacs) [db eval {SELECT * FROM knownmacs}]
db close
}
Poem test
As I roll the Dice
The Ilithid cut in twain
I rolled a twenty
--Loki from Mebane, North Carolina