Skip to content

Instantly share code, notes, and snippets.

Probably designing or coding something...

Alex Crocker crock

View GitHub Profile
crock /
Last active Mar 5, 2019
Simple Python script to run a specific EXE in a loop while providing different arguments per iteration (Requires Python 3.6+)
#!/usr/bin/env python3
# Copyright 2019
# Alex Crocker -
import os
import platform
import subprocess
from argparse import ArgumentParser, RawDescriptionHelpFormatter
import glob
View omnifocus.taskpaper
ProjectName @parallel(true) @autodone(false)
- TaskName @parallel(true) @autodone(false) @context(context) @tags(context) @due(Adjusted Date)
"Task notes can go here"
import requests #
from bs4 import BeautifulSoup #
def check(name):
Function to check the availability of a specific Steam ID.
session = requests.Session() # Initilzes a new session object from the requests module
matches = [] # Creates an empty list to hold our match objects
requestUrl = "" % name # Creates a variable to hold our request url which should be the url to the Steam profile page
import re
class Filters(object):
config = {}
def __init__(self, obj):
self.config = obj
crock / accorelib.js
Last active Feb 15, 2018
My personal collection of utility functions for JavaScript (ES6)
View accorelib.js
class accorelib {
debug(message) {
console.log("[DEBUG] " + message)
crock /
Last active Feb 15, 2018
My personal collection of utility functions for Python
import string
import random
class accorelib:
"""My personal collection of utility functions"""
def __init__(self):
print("accorelib initialized...")
def debug(self, message):
crock / accorelib.php
Last active Feb 15, 2018
My personal collection of utility functions for PHP
View accorelib.php
class accorelib {
* Prints out contents of variable surrounded with <pre> tags for easier analysis
* @param [Any] $variable - the variable to print out to page
* @return void
View .vimrc
set nocompatible
filetype off
filetype plugin indent on
syntax on
" Sets Vim shell to bash
set shell=/bin/zsh
" Sets undo directory
set undodir=~/.vim/undo
crock / 1-1000.txt
Created Aug 29, 2017 — forked from deekayen/1-1000.txt
1,000 most common US English words
View 1-1000.txt

Keybase proof

I hereby claim:

  • I am crock on github.
  • I am croc ( on keybase.
  • I have a public key whose fingerprint is 2489 EEC5 931A EDB5 972C A462 55DE 6232 6DFC C471

To claim this, I am signing this object:

You can’t perform that action at this time.