| github_url: | {{ fullname | modurl }} |
|---|
{% extends "!autosummary/base.rst" %}
| makepkg() { | |
| if [[ "$(type -w deactivate || true)" == 'decativate: function' ]]; then | |
| deactivate | |
| fi | |
| /usr/bin/makepkg "$@" | |
| } |
| import sys | |
| import hashlib | |
| import pathlib | |
| BUF_SIZE = 65536 | |
| def get_hash(fp): | |
| sha1 = hashlib.sha1() | |
| with open(fp, 'rb') as f: |
| license: mit |
| import sys | |
| import inspect | |
| class _UnpackMarker(Exception): pass | |
| class unpack: | |
| def __init__(self, pred): | |
| self.pred = pred | |
| def __enter__(self): |
| github_url: | {{ fullname | modurl }} |
|---|
{% extends "!autosummary/base.rst" %}
| #!/usr/bin/env python3 | |
| import sys | |
| from pathlib import Path | |
| from urllib.request import urlretrieve | |
| import requests | |
| from appdirs import user_cache_dir | |
| from tqdm import tqdm | |
| cache_dir = Path(user_cache_dir('programm-name', 'dein-name')) |
| #!/bin/bash | |
| git bisect start | |
| git bisect good 0.8.6 | |
| git bisect bad master | |
| git bisect run bash test.sh | |
| git bisect log |
| #include <iostream> | |
| #include <vector> | |
| #include <cstdlib> | |
| namespace 🔩 = std; | |
| using 🔢 = int; | |
| using 💀 = void; | |
| using 🕒 = time_t; | |
| using 👌 = bool; | |
| import random | |
| with path.open('r', encoding='latin-1') as f: | |
| f.readline() # header | |
| lines = list(csv.reader(f, delimiter='\t')) | |
| random.sample(lines, 20) |