Brennen Bearnes
bb8d717047
jenkins-builds -> wmf-jenkins-builds; add README
5 months ago
Brennen Bearnes
a6a72f0793
jenkins-builds: rm unneeded pprint; .gitkeep logs/
6 months ago
Brennen Bearnes
9a2792d22c
dumplogs.py: helps to use a directory separator
6 months ago
Brennen Bearnes
a303601c51
dumplogs.py: actually use job var
6 months ago
Brennen Bearnes
bf52e55424
dumplogs.py: dump some logs from mediawiki jenkins builds
6 months ago
Brennen Bearnes
5696b449ac
fragments/hackathon-patches: document my nonsense
8 months ago
Brennen Bearnes
1050f6ba54
fragments/hackathon-patches: jq whitespace
8 months ago
Brennen Bearnes
8463af1b27
fragments: hackathon patches
8 months ago
Brennen Bearnes
988cfffc02
fragments/md-date-subst
9 months ago
Brennen Bearnes
fb7d9b6fb0
fragments/gerrit-commit-hook
10 months ago
Brennen Bearnes
f7181ed23f
fragments/truth-table.php: not actually a truth table
1 year ago
Brennen Bearnes
3bc0c3044d
fragments/headwords: more e-removal per earthtopus
1 year ago
Brennen Bearnes
3c707df243
fragments: some messing with sed
2 years ago
Brennen Bearnes
4341a8f5c9
sed-bashrc
2 years ago
Brennen Bearnes
71d75c5969
fragments/changelogs
I was messing with this at... Some point in the last few years.
2 years ago
Brennen Bearnes
2b7c6211ec
add fragments/markdown
2 years ago
Brennen Bearnes
06be7ce84d
fragments/pandoc-filter
A example of manipulating header self-links and a table of contents.
This is mostly useless, but I didn't want to forget how I did it.
2 years ago
Brennen Bearnes
2d5da97635
disapparator: xplanations
3 years ago
Brennen Bearnes
ac270c78be
fifthglyphful-annihilation: first pass for rthtopus
3 years ago
Brennen Bearnes
e44b970425
fragments/sparkline.pl: simple histograms
I worked this out the other night before doing something similar for a
log monitoring utility we use at WMF.
It could use some improvements, and ideally it'd be a general-purpose
utility, but might as well capture this version here.
3 years ago
Brennen Bearnes
074e88b38d
fragment: test rundoc
3 years ago
Brennen Bearnes
2ef0ccfc32
fragments: time-piece.pl
Just a bit of stuff on usage of Time::Piece.
4 years ago
Brennen Bearnes
52e5eeb3fb
fragments/color-tail: a perl oneliner for highlighting stuff
4 years ago
Brennen Bearnes
59aee8b73b
fragments/most-instances: find line w/most instances of substring
For earthtopus, who asks:
> say I have a big text file and I want to find the line(s) with the most
> instances of a substring on it. Say the most instances of the letter R.
>
> What's a good (and by good I mean lazy) way to do that?
There's probably a switch to grep or something for this, but whatever.
4 years ago
Brennen Bearnes
9699363e45
some xargs-alias fiddling
(Also IIRC this dir shouldn't be called xargs-alias. Whatever.)
4 years ago
Brennen Bearnes
79c88a3a86
xargs-alias: add sed version
4 years ago
Brennen Bearnes
1c06ae344b
fragments/xargs-alias
4 years ago
Brennen Bearnes
99706feed3
fragments: argv.pl, bad-regex.pl
argv.pl: Print out the arguments to a script.
bad-regex.pl: What happens when you compile a broken regex?
4 years ago
Brennen Bearnes
e07b84fcfc
fragments/gender-from-name.pl: document origins
4 years ago
Brennen Bearnes
976ed5d54e
fragments/mogwai.sh: make shellcheck happier
4 years ago
Brennen Bearnes
b98f3ed32f
foreach-assignment.php
4 years ago
Brennen Bearnes
bdccf7ce1a
fragments: used_names.sh
4 years ago
Brennen Bearnes
435adfc1c2
a few tweaks from recent primary-machine-hopping
4 years ago
Brennen Bearnes
dc428ef658
fragments/pangrams/letter_freq.sh: explain exit codes
5 years ago
Brennen Bearnes
b81d9ae684
fragments/bin/letter_freq.sh: better comments
5 years ago
Brennen Bearnes
6ac57730b0
fragments/pangrams/letter_freq.sh
See this thread:
https://mspsocial.net/@earthtopus/103292407770594677
5 years ago
Brennen Bearnes
52ad911af1
pangram analysis fragment from earthtopus
5 years ago
Brennen Bearnes
292c6b11e7
fragments/stdclass.php: stdClass isn't a universal base
5 years ago
Brennen Bearnes
f4f9f53893
fragments/git-amend-date: demonstrate epoch brokenness
As best I remember, this proceeded from some IRC conversation.
5 years ago
Brennen Bearnes
8bc7548d83
fragments/colors.sh: some color codes in zsh
5 years ago
Brennen Bearnes
8eef89f31d
fragment for reading stdin in a shell function
5 years ago
Brennen Bearnes
5124aa8353
fragments/empty.php: php empty()
Demonstrate a couple of gotchas with `empty()` in PHP.
5 years ago
Brennen Bearnes
607cb077c2
organize some fragments a bit
6 years ago
Brennen Bearnes
f3ab99ced6
fragments/test-run-parts
6 years ago
Brennen Bearnes
6a312f148d
move fragments into /home, add a couple things to cheat
6 years ago