Add the universe repository:
sudo cp -p /etc/apt/sources.list /etc/apt/sources.list_backup sudo add-apt-repository "deb http://archive.ubuntu.com/ubuntu $(lsb_release -sc) universe" sudo apt-get update
Install python virtual environment:
''' | |
Cee-lo is a gambling game played with three six-sided dice. | |
''' | |
from __future__ import print_function | |
import random | |
from collections import Counter | |
def input_float(msg): | |
''' |
upper_bound = int(input("Upper bound: ")) | |
n = 1 | |
while n <= upper_bound: | |
factors = [] | |
i = 1 | |
while i < n: | |
if n % i == 0: | |
factors.append(i) | |
i += 1 |
order = 'MDCLXVI' | |
add_to_sub = ( | |
('VIIII', 'IX'), | |
('LXXXX', 'XC'), | |
('DCCCC', 'CM'), | |
('IIII', 'IV'), | |
('XXXX', 'XL'), | |
('CCCC', 'CD'), | |
) |
import os | |
import json | |
import getpass | |
import pprint | |
pathMac = [ | |
'/Applications/', os.path.join('/Users/', getpass.getuser(), 'Documents/'), | |
#os.path.join('/home/', getpass.getuser(), 'Downloads/'), | |
#os.path.join('/home/', getpass.getuser(), 'Documents/'), | |
] |
#!/bin/sh | |
iptables -F | |
iptables -X | |
iptables -t nat -F | |
iptables -t nat -X | |
iptables -t mangle -F | |
iptables -t mangle -X | |
iptables -P INPUT ACCEPT | |
iptables -P FORWARD ACCEPT | |
iptables -P OUTPUT ACCEPT |
[report] | |
exclude_lines = | |
pragma: no cover | |
if __name__ == .__main__.: |
'''Tool for analyzing images''' | |
from __future__ import print_function | |
from PIL import Image | |
import imagehash | |
import argparse | |
import shelve | |
import glob | |
import glob2 | |
import uuid | |
import random |
[example] | |
username = this | |
password = that |