Skip to content

Instantly share code, notes, and snippets.

View liaden's full-sized avatar

Joel Johnson liaden

  • OmadaHealth
  • Atlanta
View GitHub Profile
@liaden
liaden / postprocess.rb
Created November 25, 2019 16:08
postprocess rbspy raw.gz data
#!/usr/bin/ruby
require 'zlib'
require 'stringio'
require 'oj'
puts ARGV.inspect
Dir.chdir(ARGV[0])
def idling_unicorn?(line)
@liaden
liaden / cow.rb
Created December 18, 2019 18:01
copy on write statistics
#!/usr/bin/env ruby
require 'ostruct'
class LinuxProcess < OpenStruct
def initialize(args)
super
read_status!
end
@liaden
liaden / Vagrantfile
Created October 18, 2020 19:09
bpf-vm
# frozen_string_literal: true
# rubocop:disable Style/GlobalVars
$CPU = 4
$chruby_version = '0.3.9'
$ruby_install_version = '0.7.0'
$default_ruby_version = '2.7.1'
$ruby_versions = %w[