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
#!/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" |
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
@echo off | |
color 0a | |
title FFMPEG Conversion | |
cls | |
echo Converting Files... | |
for /f "tokens=1 delims=." %%a in ('dir /B *.mp3') do ffmpeg -i "%%a.mp3" "./wav/%%a.wav" | |
echo Done! | |
echo | |
echo You Can Now Close This Window (Or Press Enter) | |
@pause > nul & del nul |
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/python | |
''' | |
Simple Psychic Test | |
By: T31337 | |
''' | |
import tkinter | |
#from tkinter import * | |
from tkinter import messagebox,Label,Button,Tk |
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 | |
echo -e "\n" | |
echo -e "===========" | |
echo -e "GPG HELEPR" | |
echo -e "==========" | |
genKey() | |
{ | |
clear |
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
package Firebase.Skeleton; | |
import android.app.Activity; | |
import android.net.Uri; | |
import android.os.Bundle; | |
import android.support.annotation.NonNull; | |
import android.util.Log; | |
import android.widget.Toast; | |
import com.google.android.gms.tasks.OnCompleteListener; |
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 | |
#Downlaod .bash_colors (Ensure File Exists And Has Expected Content) | |
wget http://raw.github.com/maxtsepkov/bash_colors/master/bash_colors.sh -O .bash_colors | |
#Import Colors Script | |
#See Here For More Info - https://github.com/mercuriev/bash_colors | |
source .bash_colors | |
#Set Authentication Device (SD-Card) | |
MyDevice="/dev/mmcblk0" |
NewerOlder