Skip to content

Instantly share code, notes, and snippets.

@ahussain3
ahussain3 / gist:247693b6e2d5b706f3c32d2026beef9f
Last active December 13, 2021 23:42 — forked from hay/gist:1351230
Enterprisify your Java Class Names!
<!doctype html>
<html>
<head>
<title></title>
<style>
body {
background: white;
text-align: center;
padding: 20px;
font-family: Georgia, serif;
@ahussain3
ahussain3 / todo_list.py
Last active September 1, 2019 22:05
Todo list design exercise (Advanced Software Design Week 2)
from enum import Enum
from models import Base
from datetime import DateTime
# CONSTANTS
DEFAULT_PRIORITY = 0
# MODELS
class ItemState(Enum):
PENDING = "PENDING"
@ahussain3
ahussain3 / view_all_comments_for_pr.sh
Created October 16, 2018 14:48 — forked from rwilcox/view_all_comments_for_pr.sh
View all comments, even outdated ones, for a PR on Github
#!/opt/local/bin/zsh
# NOTE: requires ZSH for vered. If you're using another shell you'll need to set PULL_NUMBER, ORGANIZATION and REPO
# somehow yourself
# also depends on the jgrep gem (jgrep for "json grep"). jgrep respects object structure and lets
# me search for _links.html.href
GITHUB_USERNAME=rwilcox
GITHUB_PASSWORD=hahahahaha