Skip to content

Instantly share code, notes, and snippets.

View Nalisarc's full-sized avatar
🐐

Delta Alexander Sharp (D) Nalisarc

🐐
View GitHub Profile

Keybase proof

I hereby claim:

  • I am nalisarc on github.
  • I am zeeter (https://keybase.io/zeeter) on keybase.
  • I have a public key ASBPENf7_C4MZmyXHosOPIWDQ99FeT-8Bfu4Q39akjg2kQo

To claim this, I am signing this object:

@Nalisarc
Nalisarc / openpgp.txt
Created April 3, 2017 18:34
OpenKeychain Linked Identity
This Gist confirms the Linked Identity in my OpenPGP key, and links it to this GitHub account.
Token for proof:
[Verifying my OpenPGP key: openpgp4fpr:dfddaa6279e143a7c58bb122741657ae9190723c]
@Nalisarc
Nalisarc / openpgp.txt
Created April 3, 2017 18:34
OpenKeychain Linked Identity
This Gist confirms the Linked Identity in my OpenPGP key, and links it to this GitHub account.
Token for proof:
[Verifying my OpenPGP key: openpgp4fpr:dfddaa6279e143a7c58bb122741657ae9190723c]
@Nalisarc
Nalisarc / openpgp.txt
Created April 3, 2017 18:34
OpenKeychain Linked Identity
This Gist confirms the Linked Identity in my OpenPGP key, and links it to this GitHub account.
Token for proof:
[Verifying my OpenPGP key: openpgp4fpr:dfddaa6279e143a7c58bb122741657ae9190723c]
#!/usr/bin/env python3
import sys
import time
import random
import simpleaudio as sa
parser = argparse.ArgumentParser(description="Converts html tables into csv tables")
parser.add_argument("-v","--verbose", help="Enables verbose mode, useful for debugging.", action="store_true")
args = parser.parse_args()
@Nalisarc
Nalisarc / openpgp.txt
Created July 20, 2016 05:38
OpenKeychain Linked Identity
This Gist confirms the Linked Identity in my OpenPGP key, and links it to this GitHub account.
Token for proof:
[Verifying my OpenPGP key: openpgp4fpr:dfddaa6279e143a7c58bb122741657ae9190723c]
from random import randint
import sys
number_range = [1,100]
def number_gen(number_range):
""" Generates the number to guess"""
return randint(number_range[0],number_range[1])
def main():
"""the main module!"""
@Nalisarc
Nalisarc / if-modified-since-test.py
Created January 19, 2016 00:26
a test for checking if a site updates.
import requests
import time
timestamp = time.time()
timeformat = (time.strftime('%a, %d %b %Y %H:%M:%S GMT', time.gmtime(timestamp)))
url = 'http://stackoverflow.com/'
for x in range(100):
header = {'If-Modified-Since': timeformat}
r = requests.head(url, headers=header)
print r
@Nalisarc
Nalisarc / Aem.py
Last active January 19, 2016 00:06
A little Script that automatically opens files in emacs
"""AutoEmacs Document"""
#expiremental version
# imports
import sys
import os
import psutil
import subprocess
from argparse import ArgumentParser
@Nalisarc
Nalisarc / cost.js
Created December 7, 2015 03:45
Parkingcall
function timecal(entryTime, exitTime){
var enh = entryTime.slice(0,2);
var enm = entryTime.slice(3);
var exh = exitTime.slice(0,2);
var exm = exitTime.slice(3);
var en = new Date(2000, 0, 1,enh,enm);
var ex = new Date(2000, 0, 1,exh,exm);
if (ex < en){