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
# Maintainer: Ben P. Dorsi-Todaro <ben@bigbenshosting.com> | |
#I get the following errors when building | |
#==> ERROR: pkgver is not allowed to be empty. | |
#==> ERROR: pkgver() generated an invalid version: | |
_pkgbasename=username | |
pkgname=$_pkgbasename | |
pkgrel=1 | |
pkgver=1.0.0 | |
pkgdesc="Get Username information" | |
arch=('any') |
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 curses | |
import sys | |
import os | |
class CursesMenu(object): | |
INIT = {'type' : 'init'} | |
def __init__(self, menu_options): |
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 | |
wordlist = input('Path to Wordlist?: ') | |
pw = input('Enter Password to check?: ') | |
with open(wordlist, encoding ='ISO-8859-1') as inF: | |
for line in inF: | |
if pw in line: | |
print(line) |
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 sh | |
# This is a shell script to fix the problem VirtualBox 6.0.0 has when creating Desktop Shortcuts on Linux systems. | |
# This shell script has been tested on Fedora 28 LXDE | |
# Bug report https://www.virtualbox.org/ticket/18259 LinuxPhreak2600 aka LinuxPhreak aka Ben P. Dorsi-Todaro | |
# This shell script is provided by Ben P. Dorsi-Todaro | |
# To get the most updated version of this GIST go to the repository https://github.com/linuxphreak/vbox-scripts | |
# or visit the site https://linuxphreak.github.io/vbox-scripts/ | |
echo -e "Which Virtual Machine do you want to make a Desktop Shortcut for?" | |
read vmname | |
echo -e "[Desktop Entry]" >> $HOME/Desktop/$vmname.Desktop |
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 | |
from subprocess import run | |
def intro(): | |
print("Press the number key that corisponds to the Mac OSX version your trying to install on VirtualBox.") | |
print("1: Mac OSX 10.13 High Sierra 2: Mac OSX 10.14 Mojave") | |
osxversion(mac_number = input("Enter Number: ")) | |
def osxversion(mac_number): |
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/sh | |
cd $HOME/scripts/python | |
create_project() | |
{ | |
echo Python Envirenment Creator | |
echo Name Of Project: | |
read projectname | |
while [ -d $projectname ] | |
do |
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 | |
from subprocess import run | |
print("Limit CPU Usage Of A Running Process \n") | |
pid = input("PID:") | |
limit = input("Limit:") | |
run(["cpulimit", "-l", limit, "-p" pid, "&"]) |
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 | |
from subprocess import run | |
import os.path | |
print("\033[0;33;48m Welcome to UI converter.") | |
ui = input("\033[0;37;48m UI File:") | |
output = input("Output File:") | |
if (os.path.exists(ui)): | |
run(["pyuic5","-x", ui,"-o",output]) |
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 requests | |
import os | |
import time | |
from bs4 import BeautifulSoup | |
#This is a testing function | |
def tester(): | |
#function for testing | |
check_github = requests.get('https://github.com/LinuxPhreak') |
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 os | |
import time | |
#Intro here | |
print("\033[1;33;49m .dBBBBP dBBBBBBP dBBBBBb dBBBBBb dBBBBBBP dBBBBBb dBBBP dBP dBP"); | |
print("\033[1;33;49m BP BB dBP dBP d8P.dBP"); | |
print("\033[1;33;49m `BBBBb dBP dBP BB dBBBBK dBP dBBBBK dBBP dBBBBP "); | |
print("\033[1;33;49m dBP dBP dBP BB dBP BB dBP dBP BB dBP dBP BB "); |
NewerOlder