This file has been truncated, but you can view the full file.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
-- Еh bien, mon prince. Gênes et Lucques ne sont plus que des apanages, | |
des поместья, de la famille Buonaparte. Non, je vous préviens, que si vous | |
ne me dites pas, que nous avons la guerre, si vous vous permettez encore de | |
pallier toutes les infamies, toutes les atrocités de cet Antichrist (ma | |
parole, j'y crois) -- je ne vous connais plus, vous n'êtes plus mon ami, | |
vous n'êtes plus мой верный раб, comme vous dites. [1] Ну, | |
здравствуйте, здравствуйте. Je vois que je vous fais peur, [2] | |
садитесь и рассказывайте. | |
Так говорила в июле 1805 года известная Анна Павловна Шерер, фрейлина и | |
приближенная императрицы Марии Феодоровны, встречая важного и чиновного |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
import os | |
import requests | |
import time | |
import random | |
import logging | |
import sqlite3 | |
import json | |
from Crypto.PublicKey import RSA | |
from Crypto.Signature import PKCS1_v1_5 |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# -*- coding: utf-8 -*- | |
""" | |
Install twisted (pip install twisted) and run the script. | |
Небольшой прокси сервер ловящий html контент страницы и модифицирующий его | |
добаляя после каждого слова состоящего из шести симвалов - ™ | |
Проверенно на Firefox | |
В настройках Firefox необходимо задать: | |
HTTP Proxy -> localhost |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
""" | |
jQuery templates use constructs like: | |
{{if condition}} print something{{/if}} | |
This, of course, completely screws up Django templates, | |
because Django thinks {{ and }} mean something. | |
Wrap {% verbatim %} and {% endverbatim %} around those | |
blocks of jQuery templates and this will try its best |
NewerOlder