Skip to content

Instantly share code, notes, and snippets.

View LukeWinikates's full-sized avatar

Luke Winikates LukeWinikates

View GitHub Profile
@LukeWinikates
LukeWinikates / summary.md
Created November 9, 2024 00:14
Github Project Health 'exporter'

Possibly a prometheus exporter, possibly just a CLI that returns metrics in prometheus format

Metrics for PR response time? Time since last release count of open issues dependency status number of branches, branch age

@LukeWinikates
LukeWinikates / gist:08df71bdb1624fba18dc8eb76245fb2b
Created June 14, 2024 18:34
An alternative trace visualization (not a flamegraph)
Resembling a cutaway diagram of a physical machine, or resembling a circuit diagram for an electronic system.
shows the objects instantiated from the process entry point.
a function allocates objects/data structures and owns them; you can see the fields of the object and their types.
I'm curious if I can use OOTB tracing techniques from OTel or from eBPF-based tools to collect this information and apply it to increasingly sophisticated programs.
@LukeWinikates
LukeWinikates / drill-dsl.md
Created December 28, 2022 05:30
Sketch of a markdown DSL for drills

Markdown DSL for drills

I partice a few skills on a weekly basis - certain workouts, guitar drills, and Japanese langauge drills. The concerns are broadly similar, and it got me wondering if there is a way to generalize "practice routine creation" in a format that is serializable, sharable, and "playable" in a variaty of formats.

Examples:

Define an 'atom'

@LukeWinikates
LukeWinikates / git-history-prose
Created October 23, 2014 20:17
turns git log messages into a running blob of text
#! /usr/bin/ruby
lines = `git log --format=oneline`.lines.reverse
result = lines.map { |l| ws = l.split(" ").drop(1) }.map do |line|
line.join " "
end.join(". ").send(:+, ".").gsub("\.\.", ".")
puts result

Keybase proof

I hereby claim:

  • I am lukewinikates on github.
  • I am lwinikates (https://keybase.io/lwinikates) on keybase.
  • I have a public key whose fingerprint is AC5F 7444 8560 9905 7128 38E9 AE14 2850 289E 14F4

To claim this, I am signing this object:

@LukeWinikates
LukeWinikates / .gitignore
Created July 20, 2013 23:57
sunspot demo
# See http://help.github.com/ignore-files/ for more about ignoring files.
#
# If you find yourself ignoring temporary files generated by your text editor
# or operating system, you probably want to add a global ignore instead:
# git config --global core.excludesfile ~/.gitignore_global
# Ignore bundler config
/.bundle
# Ignore the default SQLite database.
@LukeWinikates
LukeWinikates / .gitignore
Created July 20, 2013 23:55
sunspot demo
# See http://help.github.com/ignore-files/ for more about ignoring files.
#
# If you find yourself ignoring temporary files generated by your text editor
# or operating system, you probably want to add a global ignore instead:
# git config --global core.excludesfile ~/.gitignore_global
# Ignore bundler config
/.bundle
# Ignore the default SQLite database.
exciting content
@LukeWinikates
LukeWinikates / go.grcconf
Created February 17, 2013 21:47
grc config file for go text / gocheck output, to make failing tests pop out more
regexp=FAIL:?
colours=red
count=more
-
regexp=PASS:?
colours=green
count=more
-
regexp=/[\w/\.]+:\d+
colours=blue