Skip to content

Instantly share code, notes, and snippets.

@dhellmann
dhellmann / gist:2cc1760edd77c3e7437c215a2cc8daa2
Created March 28, 2022 15:41
pr-history for 996, 1040, 1041
$ ./gh-review-stats pr-history -o openshift -r enhancements 996 1040 1041
Using config file: /Users/dhellmann/.gh-review-stats.yml
Wed Jan 5: #996 updated by Omer Tuchfeld
Wed Jan 5: #996 opened by omertuc "Enhancement for enabling single-node-openshift with workers" (https://github.com/openshift/enhancements/pull/996)
Thu Jan 6: #996 comment by eranco74
Thu Jan 6: #996 comment by eranco74
Thu Jan 6: #996 review by eranco74
Thu Jan 6: #996 comment by omertuc
Thu Jan 6: #996 review by omertuc
Thu Jan 6: #996 review by omertuc
@dhellmann
dhellmann / settings-robotframework.el
Created June 12, 2023 21:35
emacs settings for robot-mode
(use-package robot-mode
:ensure t
:init
)
;; ensure that *.resource files are treated as robot framework files
(setq auto-mode-alist
(cons '("\\.resource$" . robot-mode) auto-mode-alist))
;; based on https://www.masteringemacs.org/article/executing-shell-commands-emacs
@dhellmann
dhellmann / conntrack_stats.py
Created October 3, 2023 22:25
script to summarize source info in conntrack output
#!/usr/bin/env python3
import collections
import fileinput
import operator
import sys
sources = collections.defaultdict(int)
for line in fileinput.input(sys.argv[1:]):
@dhellmann
dhellmann / output.txt
Created March 27, 2025 20:40
linter output
$ tox -e linter
linter: commands[0]> python3 ./test/ci_job_linter.py
reading requirements file collections/accelerated/cuda-ubi9/requirements.txt
triton
torch
torchaudio
torchvision
deepspeed
flash-attn
ninja