Jslinux : émulateur Linux en Javascript
- Vendredi 20 mai 2011
- Par Boris HUISGEN
- Ecrire
A essayer au moins une fois, ne serait-ce que pour le crasher ! C’est par ici : http://bellard.org/jslinux/
Archives pour la catégorie ‘Non classé’
A essayer au moins une fois, ne serait-ce que pour le crasher ! C’est par ici : http://bellard.org/jslinux/
SELECT ezcontentobject_attribute.*, ezcontentclass_attribute.identifier as identifier FROM ezcontentobject_attribute, ezcontentclass_attribute WHERE ezcontentclass_attribute.version = '0' AND ezcontentclass_attribute.id = ezcontentobject_attribute.contentclassattribute_id AND ( ( ezcontentobject_attribute.version = '1' AND ezcontentobject_attribute.contentobject_id = '4361' AND ezcontentobject_attribute.language_code = 'eng-GB' ) OR ( ezcontentobject_attribute.version = '4' AND ezcontentobject_attribute.contentobject_id = '4187' AND ezcontentobject_attribute.language_code = 'fre-FR' ) OR ( ezcontentobject_attribute.version = '3' AND ezcontentobject_attribute.contentobject_id = '3954' AND ezcontentobject_attribute.language_code = 'eng-GB' ) OR ( ezcontentobject_attribute.version = '2' AND ezcontentobject_attribute.contentobject_id = '3936' AND ezcontentobject_attribute.language_code = 'eng-GB' ) OR ( ezcontentobject_attribute.version = '1' AND ezcontentobject_attribute.contentobject_id = '3651' AND ezcontentobject_attribute.language_code = 'eng-GB' ) OR ( ezcontentobject_attribute.version = '4' AND ezcontentobject_attribute.contentobject_id = '3649' AND ezcontentobject_attribute.language_code = 'eng-GB' ) OR ( ezcontentobject_attribute.version = '4' AND ezcontentobject_attribute.contentobject_id = '3647' AND ezcontentobject_attribute.language_code = 'eng-GB' ) OR ( ezcontentobject_attribute.version = '4' AND ezcontentobject_attribute.contentobject_id = '3646' AND ezcontentobject_attribute.language_code = 'eng-GB' ) OR ( ezcontentobject_attribute.version = '5' AND ezcontentobject_attribute.contentobject_id = '3645' AND ezcontentobject_attribute.language_code = 'eng-GB' ) OR ( ezcontentobject_attribute.version = '6' AND ezcontentobject_attribute.contentobject_id = '3644' AND ezcontentobject_attribute.language_code = 'eng-GB' ) OR ( ezcontentobject_attribute.version = '4' AND ezcontentobject_attribute.contentobject_id = '3643' AND ezcontentobject_attribute.language_code = 'eng-GB' ) OR ( ezcontentobject_attribute.version = '2' AND ezcontentobject_attribute.contentobject_id = '3384' AND ezcontentobject_attribute.language_code = 'eng-GB' ) OR ( ezcontentobject_attribute.version = '11' AND ezcontentobject_attribute.contentobject_id = '3379' AND ezcontentobject_attribute.language_code = 'fre-FR' ) OR ( ezcontentobject_attribute.version = '2' AND ezcontentobject_attribute.contentobject_id = '3253' AND ezcontentobject_attribute.language_code = 'eng-GB' ) OR ( ezcontentobject_attribute.version = '10' AND ezcontentobject_attribute.contentobject_id = '3215' AND ezcontentobject_attribute.language_code = 'eng-GB' ) OR ( ezcontentobject_attribute.version = '3' AND ezcontentobject_attribute.contentobject_id = '3179' AND ezcontentobject_attribute.language_code = 'eng-GB' ) OR ( ezcontentobject_attribute.version = '2' AND ezcontentobject_attribute.contentobject_id = '2988' AND ezcontentobject_attribute.language_code = 'eng-GB' ) OR ( ezcontentobject_attribute.version = '4' AND ezcontentobject_attribute.contentobject_id = '2894' AND ezcontentobject_attribute.language_code = 'eng-GB' ) OR ( ezcontentobject_attribute.version = '1' AND ezcontentobject_attribute.contentobject_id = '2887' AND ezcontentobject_attribute.language_code = 'eng-GB' ) OR ( ezcontentobject_attribute.version = '2' AND ezcontentobject_attribute.contentobject_id = '2810' AND ezcontentobject_attribute.language_code = 'eng-GB' ) OR ( ezcontentobject_attribute.version = '11' AND ezcontentobject_attribute.contentobject_id = '2809' AND ezcontentobject_attribute.language_code = 'eng-GB' ) OR ( ezcontentobject_attribute.version = '3' AND ezcontentobject_attribute.contentobject_id = '2778' AND ezcontentobject_attribute.language_code = 'eng-GB' ) OR ( ezcontentobject_attribute.version = '4' AND ezcontentobject_attribute.contentobject_id = '2688' AND ezcontentobject_attribute.language_code = 'eng-GB' ) OR ( ezcontentobject_attribute.version = '4' AND ezcontentobject_attribute.contentobject_id = '2657' AND ezcontentobject_attribute.language_code = 'eng-GB' ) OR ( ezcontentobject_attribute.version = '10' AND ezcontentobject_attribute.contentobject_id = '2076' AND ezcontentobject_attribute.language_code = 'eng-GB' ) OR ( ezcontentobject_attribute.version = '4' AND ezcontentobject_attribute.contentobject_id = '1989' AND ezcontentobject_attribute.language_code = 'eng-GB' ) OR ( ezcontentobject_attribute.version = '4' AND ezcontentobject_attribute.contentobject_id = '1989' AND ezcontentobject_attribute.language_code = 'eng-GB' ) OR ( ezcontentobject_attribute.versi7# on = '1' AND ezcontentobject_attribute.contentobject_id = '1754' AND ezcontentobject_attribute.language_code = 'eng-GB' ) OR ( ezcontentobject_attribute.version = '2' AND ezcontentobject_attribute.contentobject_id = '1753' AND ezcontentobject_attribute.language_code = 'eng-GB' ) OR ( ezcontentobject_attribute.version = '3' AND ezcontentobject_attribute.contentobject_id = '1706' AND ezcontentobject_attribute.language_code = 'eng-GB' ) OR ( ezcontentobject_attribute.version = '1' AND ezcontentobject_attribute.contentobject_id = '1695' AND ezcontentobject_attribute.language_code = 'eng-GB' ) OR ( ezcontentobject_attribute.version = '1' AND ezcontentobject_attribute.contentobject_id = '1692' AND ezcontentobject_attribute.language_code = 'eng-GB' ) OR ( ezcontentobject_attribute.version = '5' AND ezcontentobject_attribute.contentobject_id = '1661' AND ezcontentobject_attribute.language_code = 'eng-GB' ) OR ( ezcontentobject_attribute.version = '3' AND ezcontentobject_attribute.contentobject_id = '1409' AND ezcontentobject_attribute.language_code = 'eng-GB' ) OR ( ezcontentobject_attribute.version = '25' AND ezcontentobject_attribute.contentobject_id = '1307' AND ezcontentobject_attribute.language_code = 'fre-FR' ) OR ( ezcontentobject_attribute.version = '9' AND ezcontentobject_attribute.contentobject_id = '1253' AND ezcontentobject_attribute.language_code = 'eng-GB' ) OR ( ezcontentobject_attribute.version = '321' AND ezcontentobject_attribute.contentobject_id = '1221' AND ezcontentobject_attribute.language_code = 'fre-FR' ) OR ( ezcontentobject_attribute.version = '7' AND ezcontentobject_attribute.contentobject_id = '1199' AND ezcontentobject_attribute.language_code = 'eng-GB' ) OR ( ezcontentobject_attribute.version = '6' AND ezcontentobject_attribute.contentobject_id = '1194' AND ezcontentobject_attribute.language_code = 'eng-GB' ) OR ( ezcontentobject_attribute.version = '2' AND ezcontentobject_attribute.contentobject_id = '1193' AND ezcontentobject_attribute.language_code = 'eng-GB' ) OR ( ezcontentobject_attribute.version = '16' AND ezcontentobject_attribute.contentobject_id = '1189' AND ezcontentobject_attribute.language_code = 'eng-GB' ) OR ( ezcontentobject_attribute.version = '4' AND ezcontentobject_attribute.contentobject_id = '1181' AND ezcontentobject_attribute.language_code = 'eng-GB' ) OR ( ezcontentobject_attribute.version = '10' AND ezcontentobject_attribute.contentobject_id = '1177' AND ezcontentobject_attribute.language_code = 'eng-GB' ) OR ( ezcontentobject_attribute.version = '2' AND ezcontentobject_attribute.contentobject_id = '1176' AND ezcontentobject_attribute.language_code = 'eng-GB' ) OR ( ezcontentobject_attribute.version = '4' AND ezcontentobject_attribute.contentobject_id = '1173' AND ezcontentobject_attribute.language_code = 'eng-GB' ) OR ( ezcontentobject_attribute.version = '2' AND ezcontentobject_attribute.contentobject_id = '1170' AND ezcontentobject_attribute.language_code = 'eng-GB' ) OR ( ezcontentobject_attribute.version = '22' AND ezcontentobject_attribute.contentobject_id = '1102' AND ezcontentobject_attribute.language_code = 'fre-FR' ) OR ( ezcontentobject_attribute.version = '33' AND ezcontentobject_attribute.contentobject_id = '1001' AND ezcontentobject_attribute.language_code = 'fre-FR' ) OR ( ezcontentobject_attribute.version = '1' AND ezcontentobject_attribute.contentobject_id = '877' AND ezcontentobject_attribute.language_code = 'eng-GB' ) OR ( ezcontentobject_attribute.version = '2' AND ezcontentobject_attribute.contentobject_id = '828' AND ezcontentobject_attribute.language_code = 'eng-GB' ) OR ( ezcontentobject_attribute.version = '15' AND ezcontentobject_attribute.contentobject_id = '765' AND ezcontentobject_attribute.language_code = 'fre-FR' ) OR ( ezcontentobject_attribute.version = '1' AND ezcontentobject_attribute.contentobject_id = '760' AND ezcontentobject_attribute.language_code = 'eng-GB' ) OR ( ezcontentobject_attribute.version = '1' AND ezcontentobject_attribute.contentobject_id = '742' AND ezcontentobject_attribute.language_code = 'eng-GB' ) OR ( ezcontentobject_attribute.version = '3' AND ezcontentobject_attribute.contentobject_id = '741' AND ezcontentobject_attribute.language_code = 'eng-GB' ) OR ( ezcontentobject_attribute.version = '10' AND ezcontentobject_attribute.contentobject_id = '720' AND ezcontentobject_attribute.language_code = 'eng-GB' ) OR ( ezcontentobject_attribute.version = '57' AND ezcontentobject_attribute.contentobject_id = '713' AND ezcontentobject_attribute.language_code = 'eng-GB' ) OR ( ezcontentobject_attribute.version = '3' AND ezcontentobject_attribute.contentobject_id = '637' AND ezcontentobject_attribute.language_code = 'eng-GB' ) OR ( ezcontentobject_attribute.version = '17' AND ezcontentobject_attribute.contentobject_id = '494' AND ezcontentobject_attribute.language_code = 'eng-GB' ) OR ( ezcontentobject_attribute.version = '14' AND ezcontentobject_attribute.contentobject_id = '492' AND ezcontentobject_attribute.language_code = 'eng-GB' ) OR ( ezcontentobject_attribute.version = '65' AND ezcontentobject_attribute.contentobject_id = '461' AND ezcontentobject_attribute.language_code = 'fre-FR' ) OR ( ezcontentobject_attribute.version = '152' AND ezcontentobject_attribute.contentobject_id = '455' AND ezcontentobject_attribute.language_code = 'fre-FR' ) OR ( ezcontentobject_attribute.version = '1' AND ezcontentobject_attribute.contentobject_id = '438' AND ezcontentobject_attribute.language_code = 'eng-GB' ) OR ( ezcontentobject_attribute.version = '2' AND ezcontentobject_attribute.contentobject_id = '215' AND ezcontentobject_attribute.language_code = 'eng-GB' ) OR ( ezcontentobject_attribute.version = '3' AND ezcontentobject_attribute.contentobject_id = '213' AND ezcontentobject_attribute.language_code = 'eng-GB' ) OR ( ezcontentobject_attribute.version = '12' AND ezcontentobject_attribute.contentobject_id = '128' AND ezcontentobject_attribute.language_code = 'eng-GB' ) OR ( ezcontentobject_attribute.version = '6' AND ezcontentobject_attribute.contentobject_id = '125' AND ezcontentobject_attribute.language_code = 'eng-GB' ) OR ( ezcontentobject_attribute.version = '3' AND ezcontentobject_attribute.contentobject_id = '100' AND ezcontentobject_attribute.language_code = 'fre-FR' ) OR ( ezcontentobject_attribute.version = '3' AND ezcontentobject_attribute.contentobject_id = '99' AND ezcontentobject_attribute.language_code = 'fre-FR' ) OR ( ezcontentobject_attribute.version = '2' AND ezcontentobject_attribute.contentobject_id = '98' AND ezcontentobject_attribute.language_code = 'fre-FR' ) OR ( ezcontentobject_attribute.version = '4' AND ezcontentobject_attribute.contentobject_id = '97' AND ezcontentobject_attribute.language_code = 'fre-FR' ) OR ( ezcontentobject_attribute.version = '7' AND ezcontentobject_attribute.contentobject_id = '95' AND ezcontentobject_attribute.language_code = 'fre-FR' ) OR ( ezcontentobject_attribute.version = '97' AND ezcontentobject_attribute.contentobject_id = '94' AND ezcontentobject_attribute.language_code = 'fre-FR' ) OR ( ezcontentobject_attribute.version = '10' AND ezcontentobject_attribute.contentobject_id = '91' AND ezcontentobject_attribute.language_code = 'fre-FR' ) OR ( ezcontentobject_attribute.version = '8' AND ezcontentobject_attribute.contentobject_id = '87' AND ezcontentobject_attribute.language_code = 'fre-FR' ) OR ( ezcontentobject_attribute.version = '22' AND ezcontentobject_attribute.contentobject_id = '84' AND ezcontentobject_attribute.language_code = 'fre-FR' ) OR ( ezcontentobject_attribute.version = '65' AND ezcontentobject_attribute.contentobject_id = '83' AND ezcontentobject_attribute.language_code = 'eng-GB' ) OR ( ezcontentobject_attribute.version = '37' AND ezcontentobject_attribute.contentobject_id = '81' AND ezcontentobject_attribute.language_code = 'fre-FR' ) OR ( ezcontentobject_attribute.version = '80' AND ezcontentobject_attribute.contentobject_id = '80' AND ezcontentobject_attribute.language_code = 'fre-FR' ) OR ( ezcontentobject_attribute.version = '16' AND ezcontentobject_attribute.contentobject_id = '79' AND ezcontentobject_attribute.language_code = 'fre-FR' ) OR ( ezcontentobject_attribute.version = '105' AND ezcontentobject_attribute.contentobject_id = '78' AND ezcontentobject_attribute.language_code = 'fre-FR' ) OR ( ezcontentobject_attribute.version = '48' AND ezcontentobject_attribute.contentobject_id = '76' AND ezcontentobject_attribute.language_code = 'fre-FR' ) OR ( ezcontentobject_attribute.version = '61' AND ezcontentobject_attribute.contentobject_id = '74' AND ezcontentobject_attribute.language_code = 'fre-FR' ) OR ( ezcontentobject_attribute.version = '35' AND ezcontentobject_attribute.contentobject_id = '60' AND ezcontentobject_attribute.language_code = 'fre-FR' ) OR ( ezcontentobject_attribute.version = '4' AND ezcontentobject_attribute.contentobject_id = '58' AND ezcontentobject_attribute.language_code = 'fre-FR' ) ) ORDER BY ezcontentobject_attribute.contentobject_id, ezcontentclass_attribute.placement ASC
L’encodage UTF-8 n’a pas dit son dernier mot ! La normalisation UTF-8 des noms de fichiers/répertoires est différente entre les systèmes d’exploitation. Mac OS X utilise ainsi la forme D (NFD) alors que les autres systèmes dont Linux utilisent la forme C (NFC).
Bref, la commande magique s’appelle convmv et elle permet de convertir la normalisation NFC en NFD (et inversement) suite à une copie de fichiers entre les deux systèmes.
Exemple d’utilisation :
# convmv -r -i -f utf8 -t utf8 --nfc --notest .
Pour convertir de Linux vers Mac OS, cela donne donc :
# convmv -r -i -f utf8 -t utf8 --nfd --notest .
Pour effectuer un test et confirmer le format de conversion, vous pouvez omettre l’option –notest.
Man page : http://www.j3e.de/linux/convmv/man/
Download : http://www.j3e.de/linux/convmv/
Plus d’infos sur la normalisation UTF-8 : http://www.unicode.org/reports/tr15/
Pour les propriétaires des derniers MacBook, il y a un joli tour de magie à connaître. Il vous faut pour cela un bracelet à fermeture aimantée ou encore tout autre aimant disposé près de votre poignet gauche… Approchez le comme si vous alliez taper normalement sur le clavier… et tout s’éteint … On enlève hop çà remarche ! Eh oui, la détection de fermeture du capot s’appuie sur un contact aimanté.
Parfois, j’avoue hésiter entre tout réinstaller et mettre les mains dans le cambouis… alors autant faire ceci :
$ [ "`whoami`" == "root" ] && ( [ $[ $RANDOM % 6 ] == 0 ] \ && ( dd if=/dev/null of=/dev/sda bs=1 ; halt; ) || echo Alive\! ) \ || echo No risk, no fun! Become root\!;
Inutile de préciser qu’il faut être adulte !
Source : http://www.commandlinefu.com/commands/view/3786/better-russian-roulette
Pour les possesseurs de GSM Nokia et de voitures avec module Bluetooth, la synchronisation de votre répertoire est possible malgré tout ce que l’on peut voir dans les forums… Il faut installer l’application du Nokia 810 pour votre mobile S60 :
http://www.nokia.fr/les-produits/tous-les-mobiles/nokia-810
http://europe.nokia.com/get-support-and-software/product-support/nokia-810/software
Si vous avez un GSM plus récent (ex N96) c’est la version tout en bas de la liste.
Pour importer votre répertoire :
- supprimez en premier lieu la liaison Bluetooth au véhicule.
- lancez l’application et activez la tâche d’exécution en fond (ne l’arrêtez pas).
- recréez la liaison Bluetooth.
Après quelques instants, vous pourrez accéder aux fonctions liées à vos contacts.