I hereby claim:
- I am rebane2001 on github.
- I am rebane2001 (https://keybase.io/rebane2001) on keybase.
- I have a public key ASCRS5qGKG2CuxsPwvZ2BH_VFLOnVh4iHspFOYTiFpbhjwo
To claim this, I am signing this object:
## NOTE | |
## I'm only releasing this code for educational purposes | |
## Do not abuse it please | |
## And this is terrible code, so don't use this as a reference on how to code properly | |
## Made for: https://youtu.be/E3gf88rSzqo | |
from PIL import Image | |
from PIL import ImageFilter | |
import math | |
import wave | |
import struct |
I hereby claim:
To claim this, I am signing this object:
# Siia tuleb sõna mille kohta on soov info leida | |
sona = "kuulilennuteetunneliluuk" | |
tüübid = { | |
"Tagavokaalid": "uõoa", | |
"Eesvokaalid": "iüeöä", | |
"Täishäälikud": "aeiouõöäü", | |
"Kaashäälikud": "jlmnrszhfšžkgpbtd", | |
"Helilised häälikud": "aeiouõöäüjlmnrv", | |
"Helitud häälikud": "szhfšžkgpbtd", |
import cv2 | |
import numpy as np | |
import win32api, win32con | |
import math | |
webcam_x = 640 #Set webcam resolution | |
webcam_y = 640 | |
screen_x = 1280 #Set screen resolution | |
screen_y = 1024 |
#NOTE = ONLY WORKS IN PYTHON 3 (MAYBE WORKS IN PYTHON 2 I HAVNe' TESTED") | |
import os | |
import sys | |
import urllib.request | |
print("Supports INFINITE LENGHT (unlimited)") | |
len = input("Enter how many letters do you want (no support for words in 1.0 version yet):") | |
File_Name = "lorem.txt" | |
OUTPUTXT = "" | |
urllib.request.urlretrieve ("https://en.wikipedia.org/wiki/Lorem_ipsum", File_Name) | |
with open("lorem.txt","r") as loremtxt1: |
<!doctype html> | |
<html lang="et"> | |
<head> | |
<meta charset="utf-8"> | |
<meta name="viewport" content="width=device-width, initial-scale=1, shrink-to-fit=no"> | |
<title>Salasõna-pulpulaator | rabool-js</title> | |
<style> | |
html { | |
background-color: #fafafa | |
} |
import urllib.request | |
import re | |
base_url = "http://fotoalbum.ee" | |
album = input("Sisesta fotoalbum.ee albumi link:") | |
album = album.split("?")[0] | |
if not "/sets/" in album: | |
print("Hoiatus: Link pole album ning võib seetõttu valesti toimida") | |
pildid = [] |
import json | |
import sys | |
if len(sys.argv) < 2: | |
print("infojsonredact - A simple script to redact private information from ytdl info.json files") | |
print("Output will be saved in info.json.redacted files") | |
print("Usage: infojsonredact.py file1.info.json [file2.info.json, file3.info.json...]") | |
sys.exit(2) | |
redacted = ["url","manifest_url","fragment_base_url","fragments","http_headers","User-Agent","Accept-Charset","Accept","Accept-Encoding","Accept-Language","player_url","playlist","playlist_id","playlist_title","playlist_uploader","playlist_uploader_id","playlist_index","thumbnail","_filename","downloader_options","http_chunk_size","initialization_url","annotations", "playlist_count","version","_version","repository","release_git_head","filesize_approx","_format_sort_fields"] |
This script will get the computed background color of your body, and then will create shadows darker than your background (if you have a light background), or lighter than your background (if you have a dark background). If the body does not have a background, the script will take 160
as the default value for red, green and blue.
It will then add a border
, a box-shadow
, a padding
and a margin
to each element of your page, and will use the cool rotate3d
css function to tilt your website.
# Simple script to convert trs files to srt. May not be perfect, so edit this script as necessary. | |
# Warning, this script is unsafe to use against untrusted data. | |
# See for more info: https://docs.python.org/3/library/xml.html#xml-vulnerabilities | |
from datetime import timedelta | |
from xml.dom import minidom | |
import srt | |
subs = [] |