I hereby claim:
- I am av1d on github.
- I am av1d (https://keybase.io/av1d) on keybase.
- I have a public key ASCnM9ZPwTsyGyTjuBVj74sZ6mATlP4zCQjwsyZ3cjRFnAo
To claim this, I am signing this object:
I hereby claim:
To claim this, I am signing this object:
| # -*- coding: utf-8 -*- | |
| from rtclite.app.sip.caller import Caller, default_options | |
| from rtclite.std.ietf.rfc2396 import Address, URI | |
| from rtclite.std.ietf import rfc4566 | |
| rfc4566.lineending = '\n' | |
| import logging | |
| logging.basicConfig(level=logging.INFO) |
| import os | |
| import tty | |
| import sys | |
| import termios | |
| # live typed-character buffer | |
| # https://github.com/av1d | |
| the_list = ["1", "2", "3", "4", "5"] |
| import json | |
| one = "Hello" | |
| two = 7136942066631337 | |
| three = "//#$%^&*((*&^\\" | |
| d = [str(one), str(two), str(three)] | |
| with open("config.json", 'w') as f: |
| import random | |
| hash1 = random.getrandbits(128) # | |
| hash2 = "%032x" % hash1 # format | |
| hash3 = hash2[:8] # trim to 8 char | |
| print(hash3) |
| dataset = ['0','3','03','vm','00','a','7'] | |
| print("Unedited list: " + str(dataset)) | |
| vm_index = dataset.index("vm") | |
| for number in range(len(dataset)): | |
| dataset.pop(0) | |
| if dataset[0] == "vm": | |
| break |
| #!/usr/bin/env python | |
| import os | |
| import sys | |
| # Warns user before issuing deadly commands with sudo. | |
| # | |
| # add alias to ~/.bashrc like so: | |
| # alias sudo="/home/users/sudo_rm.py" | |
| # then reload bashrc: |
| #!/bin/bash | |
| read -p " Starting number? " startnum_int | |
| read -p " Ending number? " endnum_int | |
| read -p " Randomize (y/n)? " randomize_bool | |
| read -p " Pad digits (y/n)? " paddigits_bool | |
| if [[ "$paddigits_bool" == "y" ]] | |
| then | |
| read -p "PIN length for padding? " pinlength_int | |
| else |
| ; requires FCEUX and xdotool. Map keys in FCEUX according to the letters below. | |
| ; Start - d, up - i, left - j, right -k, down - m, B - b, A - a | |
| [NESTERIX] | |
| exten => s,1,Answer(500) | |
| same => n(loop),Background(press) | |
| same => n,WaitExten() | |
| exten => 0,1,NoOp("Dialed 0 - Pressed START on NES") |
| #!/bin/bash | |
| # Use at your own risk. | |
| # chmod +x IMA2IMG.sh before using. | |
| echo -e "IMA2IMG by av1d" | |
| echo -e "Convert IMA floppy disk image to IMG disk image\n" | |
| echo -e "Also mounts the IMA file in /mnt/floppyIMAdisk for usage" | |
| echo -e "https://gist.github.com/av1d/e27e72795507e1bd29d92172d76e56f5" |