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
| #!/usr/bin/env python3 | |
| import socket | |
| class Socket(socket.socket): | |
| def __init__(self, *args): | |
| super().__init__(*args) | |
| def recvuntil(self, txt): | |
| result = b"" | |
| while result.find(txt) == -1: |
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
| Co jest stoliną Niemiec? | |
| Berlin | |
| Bukareszt | |
| Warszawa | |
| Londyn | |
| Który z kolorów nie jest we fladze Niemiec? | |
| Różnowy | |
| Czarny | |
| Czerwony | |
| Żółty |
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
| #!/usr/bin/env python3 | |
| # coding: utf-8 | |
| import argparse | |
| import os | |
| import subprocess | |
| def append_copyright(info, des): | |
| content = open(des, 'r').read() |
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
| # ============================================= | |
| # =============== ALERT =============== | |
| # ============================================= | |
| # Do NOT run this script! | |
| # It's like a document, it'll NOT work! | |
| # 1. Install AsseticBundle via composer. | |
| composer require symfony/assetic-bundle | |
| # 2. Add AsseticBundle to AppKernel's bundles list: |
NewerOlder