Install fbterm via your favorite package manager
pacman -S fbterm| #!/usr/bin/env python | |
| #-*- coding:utf-8 -*- | |
| import tornado.auth | |
| import tornado.escape | |
| import tornado.httpserver | |
| import tornado.ioloop | |
| import tornado.options | |
| import tornado.web | |
| import tornado.gen |
| #coding: utf-8 | |
| ''' | |
| Petit script qui vous aide à récupérer la liste de vos amis ainsi que leurs liens au cas où vous avez été bloqué, | |
| vous saisissez le lien dans un navigateur là où vous êtes déconnecté, si le lien marche, ce 'faux' ami vous a bloqué, | |
| sinon, il a 'vraiment' désactivé son compte :D | |
| et surtout, ne renommez pas ce fichier facebook.py sinon il va créer une interference avec la bibliothèque Facebook et il va essayer de s'importer lui même! | |
| et quand vous trouvez quelques chose entre '' laissez la et remplacez que le contenu! c'est un type texte et non une variable! | |
| copyleft: abdelouahab ;) | |
| ''' |
| #!/usr/bin/env python | |
| #-*- coding:utf-8 -*- | |
| import tornado.web | |
| import tornado.httpserver | |
| import tornado.ioloop | |
| from tornado.options import define, options | |
| import handlers | |
| import os |
| #coding: utf-8 | |
| import tornado.ioloop | |
| import tornado.web | |
| class MainHandler(tornado.web.RequestHandler): | |
| def get(self): | |
| self.write("Hello, world") | |
| class UnicodeHandler(tornado.web.RequestHandler): |
| <!DOCTYPE html> | |
| <html> | |
| <head> | |
| <title> | |
| ba3333 | |
| </title> | |
| <meta charset="utf-8"> |
| #!/usr/bin/env python | |
| #coding: utf-8 | |
| import tornado.ioloop | |
| import tornado.web | |
| import tornado.escape | |
| #import urllib2 old way | |
| arabic_word = u'السلام' | |
| arab = tornado.escape.url_escape(arabic_word) |
| from concurrent.futures import ThreadPoolExecutor | |
| from tornado import gen | |
| from tornado.process import cpu_count | |
| import bcrypt | |
| # global threadpool | |
| pool = ThreadPoolExecutor(cpu_count()) | |
| @gen.coroutine | |
| def create_user(name, password): |
| # -*- coding: utf-8 -*- | |
| """ | |
| Created on Fri Nov 14 23:01:24 2014 | |
| @author: Abdelouahab | |
| """ | |
| import hashlib | |
| r = '' |
| # -*- coding: utf-8 -*- | |
| """ | |
| Created on Sun Nov 16 17:51:48 2014 | |
| @author: Abdelouahab | |
| """ | |
| import fileinput | |
| import argparse | |
| import time | |
| import datetime |