Skip to content

Instantly share code, notes, and snippets.

import json
from collections import OrderedDict
class Pipfile(object):
def __init__(self, filename='Pipfile'):
self.filename = filename
self.sources = []
self.groups = OrderedDict({
'default': []
#!/bin/bash
bsod_win9x() {
NUM_COLUMNS=$(tput cols)
NUM_ROWS=$(tput lines)
HEADER_OFFSET_X=$(($NUM_COLUMNS / 2 - 4))
HEADER_OFFSET_Y=$(($NUM_ROWS / 2 - 3))
TEXT_OFFSET=$(($NUM_COLUMNS / 2 - 37))
clear