Journal Pub: open source everything
21
mar.
2012



Ça fait un certain temps, que je voulais mettre a jour mon téléphone portable sous android, un sony ericsson xperia x10.
Hélas le logiciel fournie ne marche que sur windows, que j'ai pas absolument pas envie d'installer.
J'avais regarde du cote du sdk android, mais c'est une solution assez complexe, bref j'avais pas envie.
Et finalement en cherchant encore, je tombe sur un logiciel Flashtool, il a l'air de faire pas mal de choses.
Ha, ça marche, après quelques petites (...)













#!/usr/bin/python
# -*- coding: utf-8 -*-
import xchat
__module_name__ = "pyid"
__module_version__ = "0.1"
__module_description__ = "Python module identify for freenode , /id nick password"
def id(word, word_eol, userdata):
if len(word) < 2:
print 'Usage : /id '
else:
if xchat.get_info("nick") == word[1]:
pass
else:
xchat.command('msg nickserv ghost '+word[1]+' '+word[2])
xchat.command('nick '+word[1])
xchat.command('msg nickserv identify '+word[2])
return xchat.EAT_ALL
xchat.hook_command("id", id, help="/id ")