Upload files to "/"

This commit is contained in:
TED A. ⭕ 2023-11-06 22:41:36 +00:00
commit 7118ddd4c1
4 changed files with 127 additions and 0 deletions

13
lastfm.js Normal file
View File

@ -0,0 +1,13 @@
function clickOnMoreRepliesLinks() {
const links = document.querySelectorAll('.js-more-replies');
if (links.length === 0) {
return;
}
links[0].click();
setTimeout(function() {clickOnMoreRepliesLinks();}, 1000);
}
clickOnMoreRepliesLinks();

4
linescript.py Normal file
View File

@ -0,0 +1,4 @@
with open("lines") as file_in:
lines = []
for line in file_in:
print('STUFF SOMETHING HERE' + line.split('\n')[0] + '.STUFF SOMETHING HERE">' + line.split('\n')[0] +'STUFF SOMETHING HERE')

106
senr.py Normal file
View File

@ -0,0 +1,106 @@
#!/usr/bin/python
charactersforward = {
"A": "Q",
"B": "O",
"C": "S",
"D": "N",
"E": "R",
"F": "P",
"G": "X",
"H": "W",
"I": "Y",
"J": "M",
"K": "T",
"L": "Z",
"M": "V",
"N": "A",
"O": "E",
"P": "C",
"Q": "D",
"R": "B",
"S": "F",
"T": "U",
"U": "K",
"V": "I",
"W": "L",
"X": "J",
"Y": "G",
"Z": "H",
"0": "8",
"1": "6",
"2": "3",
"3": "9",
"4": "7",
"5": "2",
"6": "1",
"7": "0",
"8": "5",
"9": "4"
}
charactersbackward = {
"Q": "A",
"O": "B",
"S": "C",
"N": "D",
"R": "E",
"P": "F",
"X": "G",
"W": "H",
"Y": "I",
"M": "J",
"T": "K",
"Z": "L",
"V": "M",
"A": "N",
"E": "O",
"C": "P",
"D": "Q",
"B": "R",
"F": "S",
"U": "T",
"K": "U",
"I": "V",
"L": "W",
"J": "X",
"G": "Y",
"H": "Z",
"8": "0",
"6": "1",
"3": "2",
"9": "3",
"7": "4",
"2": "5",
"1": "6",
"0": "7",
"5": "8",
"4": "9"
}
def translate(characters, type):
finalstring = ""
if type == 1:
for x in characters:
try:
finalstring += charactersforward.get(x)
except Exception as e:
raise
else:
finalstring += x
if type == 2:
for x in characters:
try:
finalstring += charactersbackward.get(x)
except Exception as e:
raise
else:
finalstring += x
return finalstring
choice = input("translate forwards?")
initialstring = input()
if choice == "y":
print(translate(initialstring.upper(), 1))
else:
print(translate(initialstring.upper(), 2))

4
webptopng.sh Normal file
View File

@ -0,0 +1,4 @@
for file in /home/red/Scripts/2/*
do
dwebp "$file" -o "$file.png"
done