I hereby claim:
- I am mbarkhau on github.
- I am mbarkhau (https://keybase.io/mbarkhau) on keybase.
- I have a public key ASDws--anHB5yrkAliIckzEtrPRKXHcRLFPcfU3-JiiqRwo
To claim this, I am signing this object:
I hereby claim:
To claim this, I am signing this object:
| <html> | |
| <head> | |
| <style> | |
| body { | |
| font-family: Bitter; | |
| font-size: 10pt; | |
| } | |
| body, html { | |
| margin: 0; |
| #!/usr/bin/env python3 | |
| # Based on this https://news.ycombinator.com/item?id=20495739 | |
| # I created this boilerplate which I think is a bit nicer to use. | |
| import sys | |
| class AttrDict(dict): |
| <!DOCTYPE html> | |
| <html> | |
| <head> | |
| <title>Test Katex</title> | |
| <link rel="stylesheet" | |
| href="https://cdn.jsdelivr.net/npm/katex@0.10.2/dist/katex.css" | |
| integrity="sha256-SSjvSe9BDSZMUczwnbB1ywCyIk2XaNly9nn6yRm6WJo=" | |
| crossorigin="anonymous"> | |
| <style type="text/css"> |
| #!/bin/bash | |
| # | |
| # DESCRIPTION: | |
| # | |
| # Set the bash prompt according to: | |
| # * the active virtualenv | |
| # * the branch of the current git/mercurial repository | |
| # * the return value of the previous command | |
| # * the fact you just came from Windows and are used to having newlines in | |
| # your prompts. |
| /home/mbarkhau/miniconda3/envs/py37/bin/ipython -i -c "import io; import os; import re; import sys; import enum; import json; import math; import time; import random; import decimal; import fractions; import collections; import typing as typ; import pathlib as pl; import datetime as dt; import operator as op; import functools as ft; import itertools as it; import subprocess as sp; from math import *; from statistics import *; import numpy as np; import pandas as pd;" |
| #!/bin/bash | |
| bash /home/mbarkhau/bin/tmush mbarkhau@localhost |
| #!/bin/sh | |
| HOME=$(tput cup 0 0) | |
| ED=$(tput ed) | |
| EL=$(tput el) | |
| printf '%s%s' "$HOME" "$ED" | |
| while true | |
| do | |
| ROWS=$(tput lines) | |
| COLS=$(tput cols) | |
| CMD="$@" |
| import re | |
| from enum import Enum | |
| from typing import * | |
| FileContent = str | |
| str_contents = """ | |
| #!/usr/bin/env python3 |
| # copied as literally as possible from here | |
| # https://mypy.readthedocs.io/en/latest/kinds_of_types.html#the-type-of-class-objects | |
| from typing import NamedTuple, TypeVar, Type | |
| class Env(NamedTuple): | |
| log_level: str = "DEBUG" | |