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
# This script needs | |
# $ pip install fabric | |
from os import environ | |
from fabric import Connection | |
# Create a file `secret.py` in the same directory as this one | |
# and add in it the credentials to connect to the server and GitHub. | |
# Here is a template. |
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 time | |
import logging | |
import io | |
import atexit | |
import sys | |
import requests | |
stringio_stream = io.StringIO() |
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
let mapleader="," | |
let $vundle="~/.vim/bundle/Vundle.vim" | |
" Be iMproved | |
set nocompatible | |
"===================================================== | |
"" Vundle settings | |
"===================================================== |
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
# pip install pycrypto | |
import base64 | |
from Crypto.Cipher import PKCS1_OAEP | |
from Crypto.PublicKey import RSA | |
PUBLIC_KEY = '/home/public_key.pem' | |
PRIVATE_KEY = '/home/private_key.pem' |
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 socket | |
import asyncio | |
import websockets | |
import time | |
import logging | |
import argparse | |
import threading | |
import sys |