Skip to content

Instantly share code, notes, and snippets.

View EZonTheEyes's full-sized avatar

Zoe M / EZ EZonTheEyes

View GitHub Profile
@EZonTheEyes
EZonTheEyes / catface.py
Last active September 19, 2023 00:08
ez_catface - A simple python script to print Cat Emoticons
import random
print("Here kitty kitty...")
catface = ["dummy", "/ᐠ‸⑅‸ ᐟ\ノ", " ¯\_₍⸍⸌̣ʷ̣̫⸍̣⸌₎_/¯", " =^ㅎ ⋏ ㅎ^=", "[^._.^]ノ", " (=◕ᆽ◕ฺ=)", " (=◉ᆽ◉=)", "(ミචᆽචミ)", " (=´∇`=)", " (=‐ω‐=)", "/ᐠ. 。.ᐟ\ᵐᵉᵒʷˎˊ˗", "^•ﻌ•^", "^ >ヮ<^₎", "=^._.^=", "(。^•ㅅ•^。)", "( • ̀ω•́ )✧", "(=◉ᆽ◉=)", "˄·͈༝·͈˄", ">(Ф^三^Ф)<", "=✪ ᆺ ✪=", "^ȏ⋏ȏ^", " 《=^ェ^=》", " (^.ᆽ.^)= ∫", " ฅ(ミ⎚ᆽ⎚ミ)∫", " (ミ☉ᆽ☉ミ)", "/ᐠ. 。.ᐟ\ᵐᵉᵒʷˎˊ˗", "/ᐠ ._. ᐟ\ノ", "/ᐠ=ᆽ≠ ᐟ \∫", "ฅ/ᐠ ‧̫‧ ᐟ\ฅ", "/ᐠ。▿。ᐟ\ᵖᵘʳʳ", "(≗ᆽ≗)ノ"]
catinput = str(input("Free Cat ('(1-30)'): Random Cat ('rtd'): All Cats: ('all'): "))
if catinput ==('all'):
print(*catface)
elif catinput ==('rtd'):
random_num = random.choice(catface)
print(str(random_num))
elif catinput.isdigit():
@EZonTheEyes
EZonTheEyes / PyRSS-July5.py
Created August 12, 2023 23:23
PyRSS WIP July 5
# RSS Specification: https://www.rssboard.org/rss-draft-1
# Sample RSS XML file: https://www.rssboard.org/files/rss-2.0-sample.xml
# Python XML documentation: https://docs.python.org/3/library/xml.etree.elementtree.html
# Juicy xpath thingy for looking up elements: https://docs.python.org/3/library/xml.etree.elementtree.html#xpath-support
# The plan:
# Plan (real (real v reall)) (extremely real)
# - call on headlines & print (specify ammount)) <item, title>
# - print text preview (body of article) (specify characters) <item, description>
@EZonTheEyes
EZonTheEyes / PyRSS-July16.py
Last active June 23, 2024 18:25
PyRSS WIP July 16 2023
import sys
import random
import xml.etree.ElementTree as ET
from urllib.request import urlopen
print("💜 testie line for my bestie line 💜")
def get_element(article, name):
item_list = article.findall(name)
@EZonTheEyes
EZonTheEyes / aetherpatch-truncate.sh
Last active September 22, 2023 22:58
Truncated Aetherpatch-full.sh ; Redistributed by EZOnTheEyes
#!/bin/bash
PATCHED_APP_NAME="NetherSX2"
# ----Pre-checks----
IS_TERMUX="0"
acquire_apk() {
OUT_APK="$1"
if [ -z "$OUT_APK" ]; then
@EZonTheEyes
EZonTheEyes / proceed-example.py
Created August 6, 2023 17:22
Basic Python User Input Example - Personal Test
simplepass = ('y')
voidoperate = ('n')
proc = str(input("Proceed? (y/n): "))
while simplepass!= proc:
if proc == voidoperate:
print('Cancelling Operation.')
proc = str(input("Retry Operation? (y/n): "))
if proc != simplepass:
print('Unaccepted Key, Continue when ready. ')
proc = str(input('Proceed? (y/n): '))