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
#!/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 |
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
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: ") |
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
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 |