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/bash | |
function installSoftware() { | |
read -p "Continue? (Y/N): " confirm | |
if [ "$confirm" == [yY] ]; then | |
echo -e "\e[35mInstall Predefined Additional Software Now?\e[0m" | |
echo -e "\e[35mSoftware To Install: git, base-devel, bc, ffmpeg, espeak, yt-dlp, android-tools, libimobiledevice, usbmuxd, devede\e[0m" | |
read -p "Continue? (Y/N): " confirm | |
if [[ "$confirm" == [yY] || "$confirm" == [yY][eE][sS] ]]; then | |
echo -e "\e[35mInstalling git & base-devel\e[0m" |
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 tkinter.ttk,socket | |
from tkinter import Button,Entry,Spinbox,WORD,W,E,Label,Tk,END,messagebox,Text | |
''' | |
License: | |
This program is free software: you can redistribute it and/or modify | |
it under the terms of the GNU General Public License as published by | |
the Free Software Foundation, either version 3 of the License, or | |
(at your option) any later version. |
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
'User Unfriendly StartUp Script | |
function shutdown() | |
Dim objShell | |
Set objShell = WScript.CreateObject("WScript.Shell") | |
'objShell.Run "cmd /c shutdown -s -t 90" | |
wscript.sleep 6000 | |
objShell.Run "cmd /c shutdown -s -t 00" | |
end function | |
Dim msg, sapi |
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
#Scrape quotes using requests and BeautifulSoup4 | |
import requests | |
from bs4 import BeautifulSoup | |
urls = ["http://qoutes.toscrape.com", "http://quotes.toscrape.com/tag/love/", "http://quotes.toscrape.com/tag/inspirational/", "http://quotes.toscrape.com/tag/humor/"] | |
for page in urls: | |
html = requests.get(page) | |
soup = BeautifulSoup(html.text, "html.parser") | |
quotes = soup.find_all("span",class_="text") |
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 random | |
import sys | |
class PigGame: | |
MAX_SCORE = 100 | |
scores = [0, 0] | |
@staticmethod | |
def roll(): |
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
#Simple Color Chooser GUI That Returns Hex And RGB Values :) | |
from tkinter import colorchooser,Label,Button,Tk | |
def mColor(): | |
mycolor = colorchooser.askcolor() | |
mylbl = Label(gui,text=mycolor) | |
mylbl.grid(row=1,column=0) | |
return |
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
from bs4 import BeautifulSoup, SoupStrainer | |
from scrapy.selector import HtmlXPathSelector | |
from urllib import request | |
import requests | |
from scrapy.linkextractors import LinkExtractor | |
import requests.utils | |
import scrapy.link | |
import scrapy | |
import scrapy.spiders | |
from scrapy.spiders.crawl import CrawlSpider, Rule |
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 platform | |
from tkinter import * | |
from tkinter import messagebox | |
import configparser, pickle | |
import os, time, subprocess | |
# Show Debug Messages | |
DEBUG = True | |
def printDebugBanner(): |
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/bash | |
#This Script Will Prompt For An AutoRemote Message To Send | |
#Usage: | |
#./AutoRemoteMessage | |
#Don't Forget To Edit These Values To Match Your Device | |
PASSWORD="YOUR_DEVICE_PASSOWRD" | |
KEY="YOUR_DEVICE_KEY" |
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/bash | |
#This Script Will Prompt For An AutoRemote Message To Send | |
#Usage: | |
#./AutoRemote-Message MESSAGE_TO_SEND | |
#Don't Forget To Modify These Values To Match Your Device | |
PASSWORD="YOUR_DEVICE_PASSWORD" | |
KEY="YOUR_DEVICE_KEY" |
NewerOlder