Skip to content

Instantly share code, notes, and snippets.

import requests
from bs4 import BeautifulSoup
import time
# We've now imported the two packages that will do the heavy lifting
# for us, reqeusts and BeautifulSoup
# This is the URL that lists the current inmates
# Should this URL go away, and archive is available at
# http://perma.cc/2HZR-N38X
@AnoRebel
AnoRebel / -
Created January 29, 2018 21:54
System: Host: Rebel Kernel: 4.13.0-32-generic x86_64 (64 bit gcc: 5.4.0)
Desktop: Cinnamon 3.6.7 (Gtk 3.18.9-1ubuntu3.3) dm: mdm Distro: Linux Mint 18.3 Sylvia
Machine: System: LENOVO (portable) product: 80QQ v: Lenovo ideapad 100-15IBD
Mobo: LENOVO model: Nano 5B6 v: NO DPK Bios: LENOVO v: E0CN61WW date: 08/12/2016
Chassis: type: 10 v: Lenovo ideapad 100-15IBD
CPU: Dual core Intel Core i3-5005U (-HT-MCP-) cache: 3072 KB
flags: (lm nx sse sse2 sse3 sse4_1 sse4_2 ssse3 vmx) bmips: 7982
clock speeds: min/max: 500/1900 MHz 1: 1995 MHz 2: 1995 MHz 3: 1995 MHz 4: 1995 MHz
Graphics: Card: Intel Broadwell-U Integrated Graphics bus-ID: 00:02.0 chip-ID: 8086:1616
Display Server: X.Org 1.18.4 drivers: intel (unloaded: fbdev,vesa)
@AnoRebel
AnoRebel / Sublime Text 3 Build 3103 & 3143 License Key - CRACK
Last active November 20, 2023 20:51 — forked from svmotha/Sublime Text 3 Build 3103 License Key - CRACK
Sublime Text 3 Build 3103 & 3143 License Key - CRACK
I use the first
—– BEGIN LICENSE —–
Michael Barnes
Single User License
EA7E-821385
8A353C41 872A0D5C DF9B2950 AFF6F667
C458EA6D 8EA3C286 98D1D650 131A97AB
AA919AEC EF20E143 B361B1E7 4C8B7F04
@AnoRebel
AnoRebel / snake.py
Created March 16, 2018 21:54 — forked from sanchitgangwar/snake.py
Snakes Game using Python
# SNAKES GAME
# Use ARROW KEYS to play, SPACE BAR for pausing/resuming and Esc Key for exiting
import curses
from curses import KEY_RIGHT, KEY_LEFT, KEY_UP, KEY_DOWN
from random import randint
curses.initscr()
win = curses.newwin(20, 60, 0, 0)
@AnoRebel
AnoRebel / GUI Login Application - Heavily Commented.py
Created March 20, 2018 19:16 — forked from SirRobo/GUI Login Application - Heavily Commented.py
GUI Login Application made on my YouTube channel.
from tkinter import *
import os
creds = 'tempfile.temp' # This just sets the variable creds to 'tempfile.temp'
def Signup(): # This is the signup definition,
global pwordE # These globals just make the variables global to the entire script, meaning any definition can use them
global nameE
global roots
@AnoRebel
AnoRebel / install.sh
Created April 8, 2018 21:11 — forked from qntmpkts/install.sh
Installer for oh-my-zsh on Termux
main() {
# Use colors, but only if connected to a terminal, and that terminal
# supports them.
if which tput >/dev/null 2>&1; then
ncolors=$(tput colors)
fi
if [ -t 1 ] && [ -n "$ncolors" ] && [ "$ncolors" -ge 8 ]; then
RED="$(tput setaf 1)"
GREEN="$(tput setaf 2)"
YELLOW="$(tput setaf 3)"
@AnoRebel
AnoRebel / stuns
Created August 13, 2018 21:42 — forked from yetithefoot/stuns
STUN+TURN servers list
{url:'stun:stun01.sipphone.com'},
{url:'stun:stun.ekiga.net'},
{url:'stun:stun.fwdnet.net'},
{url:'stun:stun.ideasip.com'},
{url:'stun:stun.iptel.org'},
{url:'stun:stun.rixtelecom.se'},
{url:'stun:stun.schlund.de'},
{url:'stun:stun.l.google.com:19302'},
{url:'stun:stun1.l.google.com:19302'},
{url:'stun:stun2.l.google.com:19302'},
@AnoRebel
AnoRebel / README-linode-create.md
Created August 20, 2018 02:26 — forked from stewartadam/README-linode-create.md
A quick Python script that uses the Linode API to create, boot and delete Linodes. Supports an interactive mode that sends emails to users with their Linode credentials, great for providing temporary Linodes for a tutorial.

This is a little automation script I wrote to configure, boot and/or destroy Linodes using the Linode API. This script requires the Requires the linode-python module to wrap the API.

I had written this with the intent of providing users with a temporary Linode that would be destroyed after an hour or two, but the functions are pretty generic and could be repurposed. The interactive mode lets users enter their e-mail address, and upon confirmation sends them a message with their Linode's IP & password.

If you'd like to use this script as-is, you'll need to substitute in your Linode API key, SMTP server details and you will also likely have use the avail_foo() commands to grab the current IDs (e.g. for kernel release, distrubution, etc) and change the variables at the start of the script.

@AnoRebel
AnoRebel / fetch-api-examples.md
Created September 25, 2018 17:39 — forked from justsml/fetch-api-examples.md
JavaScript Fetch API Examples
@AnoRebel
AnoRebel / fetch-api-examples.md
Created September 25, 2018 17:39 — forked from justsml/fetch-api-examples.md
JavaScript Fetch API Examples