Skip to content

Instantly share code, notes, and snippets.

View 5225225's full-sized avatar
🏳️‍⚧️
Verified 0.1x Developer

522 5225225

🏳️‍⚧️
Verified 0.1x Developer
View GitHub Profile
listening on http://127.0.0.1:8080
starting new connection from 127.0.0.1:38724
thread 'async-std/runtime' panicked at 'called `Result::unwrap()` on an `Err` value: String slice should be valid ASCII
Stack backtrace:
0: anyhow::error::<impl core::convert::From<E> for anyhow::Error>::from
at /home/jess/.cargo/registry/src/github.com-1ecc6299db9ec823/anyhow-1.0.40/src/error.rs:519:25
1: <T as core::convert::Into<U>>::into
at /home/jess/.rustup/toolchains/nightly-x86_64-unknown-linux-gnu/lib/rustlib/src/rust/library/core/src/convert/mod.rs:538:9
2: http_types::error::Error::new
import time
import random
import xml.etree.ElementTree as ET
import requests
output = []
sys.stderr.write("Enter season number: ")
seasonnum = input()
sys.stderr.write("Enter total amount of episodes: ")
#!/bin/sh
#
# This code is released in public domain by Han Boetes <han@mijncomputer.nl>
#
# This script tries to exec a terminal emulator by trying some known terminal
# emulators.
for terminal in $TERMINAL x-terminal-emulator urxvt rxvt terminator Eterm aterm xterm gnome-terminal roxterm xfce4-terminal; do
if which $terminal > /dev/null 2>&1; then
exec $terminal "$@"
fi