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 | |
set /p ssid="Enter SSID of Network" | |
netsh wlan show profile name=%ssid% key=clear | findstr Key | |
pause |
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 imaplib | |
import email | |
from json import loads | |
def email_login_info(file_name='login.json'): | |
try: | |
file_keys = open(file_name) | |
except: |
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 imaplib | |
import email | |
from json import loads | |
def email_login_info(file_name='login.json'): | |
try: | |
file_keys = open(file_name) | |
except: | |
file_keys = open(file_name, 'w') | |
raw_json = '''{ |
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 math import sqrt | |
print("Calculating confidence of 95%") | |
avg = float(input("Enter average of the data:")) | |
n = int(input("Enter number of items:")) | |
sd = float(input("Enter standard devation:")) | |
z = 1.96 | |
conf_high = avg + z * (sd/sqrt(n)) | |
conf_low = avg - z * (sd/sqrt(n)) |
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
{ | |
"0": "0x30", | |
"1": "0x31", | |
"2": "0x32", | |
"3": "0x33", | |
"4": "0x34", | |
"5": "0x35", | |
"6": "0x36", | |
"7": "0x37", | |
"8": "0x38", |
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
require 'rest-client' | |
require 'nokogiri' | |
require 'random_methods' | |
require 'os' | |
#v1.1: Added help section | |
#v1.2: Fixed bug with Ruby 2.2.3 | |
#v1.3: Added change log | |
wikiLink = "wikipedia.org" | |
urlList = Array.new | |
url = nil |
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
:: this is the file that handles the server for my modded Minecraft on my 6-core PC | |
:: ParallelGCThreads can be changed to accomodate any number of cores, just give it the number of threads needed | |
:: if you are hosting a vanilla server, change forge.jar to the name of the Minecraft server jar | |
:: change Xmx to the amount of RAM your computer has | |
:: change 'world3' to the name of your Minecraft world to backup the world automatically | |
:: lines 10, 13-15 have to do with automatic restart on crash | |
@echo off | |
color 0a | |
title MWServer | |
:a |
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
{"color": "color 0a", "minimize": "min", "exit": "exit"} |
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 os, sys | |
from easygui import * | |
title = "Git Auto Update" | |
msg = "Do you want to update your Git Repos?" | |
if not ynbox(title, msg): | |
sys.exit() | |
print('Getting list of directories...') |
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
if [[ $EUID -ne 0 ]]; then | |
echo "This script must be run as root" | |
exit 1 | |
fi | |
echo Installing Discord | |
apt install libgconf-2-4 libappindicator1 | |
cd ~/Downloads | |
wget -O discord-0.0.2.deb https://discordapp.com/api/download?platform=linux&format=deb | |
sudo dpkg -i discord-0.0.2.deb |
OlderNewer