This file contains 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
.mypy_cache |
This file contains 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
Vagrant.configure("2") do |config| | |
config.vm.box = "ubuntu/bionic64" | |
config.vm.provider "virtualbox" do |v| | |
v.memory = 256 | |
end | |
config.vm.define "server" do |server| | |
server.vm.hostname = "server" | |
server.vm.network "private_network", ip: "10.0.0.10" | |
server.vm.provision "shell", inline: <<-SHELL |
This file contains 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 | |
from pathlib import Path | |
from subprocess import run, PIPE, TimeoutExpired | |
from sys import argv | |
from collections import namedtuple | |
from queue import Queue | |
from typing import Iterator, List, Optional, Tuple, Union | |
import huepy |
This file contains 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 | |
from os import environ, rename | |
from os.path import expanduser | |
from urllib.request import urlretrieve | |
from bowshock.apod import apod | |
# you might want to change these values | |
DEST_FILE = expanduser("~/.cache/kscreenlocker_greet/plasma_engine_potd/apod") |
This file contains 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 | |
from base64 import b64encode | |
from time import sleep | |
from abc import abstractmethod | |
import curses | |
values = [ | |
{ | |
"input": b"a", |
This file contains 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
<!doctype html> | |
<html> | |
<head> | |
<meta charset="UTF-8" /> | |
<meta name="viewport" content="width=device-width, initial-scale=1.0" /> | |
<title>Pixelflut</title> | |
<link rel="stylesheet" href="style.css" /> | |
<script src="pixelflut.js"></script> | |
</head> |
This file contains 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 pychromecast | |
from pychromecast.controllers.media import MediaController | |
from sys import argv | |
from random import random | |
from time import sleep | |
print("Searching for devices...") |
This script can restore encrypted Titanium Backups to a rooted Android phone.
You'll need a working Python interpreter and TiBUdecrypter.
The easiest way to achieve this is to install Termux and then run this:
This file contains 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
[[source]] | |
url = "https://pypi.org/simple" | |
verify_ssl = true | |
name = "pypi" | |
[packages] | |
mpris2 = "*" | |
paho-mqtt = "*" | |
dbus-python = "*" | |
pygobject = "*" |
NewerOlder