Skip to content

Instantly share code, notes, and snippets.

View dmccraw's full-sized avatar

Dustin McCraw dmccraw

View GitHub Profile
2021-09-07T19:59:47.220827554Z {"level":"debug","message":"Processing event for Build Id: c02fbe4a-1317-4c68-b93f-bc31a756f21d with type ACTIVITY_START","metadata":{}}
2021-09-07T19:59:47.220908479Z {"level":"debug","message":"Reporting an Activity with type ACTIVITY_START - id: Fetch incremental changes from Drupal - uuid: 47b17021-fab5-43f0-9f1a-d38f88ac908d - text: Fetch incremental changes from Drupal","metadata":{}}
2021-09-07T19:59:48.383159994Z {"level":"debug","message":"Memory usage: 14.14%","metadata":{"limit":33554432000,"rss":4745375744}}
2021-09-07T19:59:53.384106739Z {"level":"debug","message":"Memory usage: 14.62%","metadata":{"limit":33554432000,"rss":4904378368}}
2021-09-07T19:59:58.384688610Z {"level":"debug","message":"Memory usage: 15.98%","metadata":{"limit":33554432000,"rss":5363138560}}
2021-09-07T20:00:02.867810644Z {"level":"info","message":"GraphQL cancelBuild","metadata":{"fieldName":"cancelBuild","args":{"siteId":"65e0a5ca-7d0d-44b0-b26d-bf9700f635b4","branch":"develop","buildId":"
@dmccraw
dmccraw / ladder.md
Created August 24, 2017 23:54 — forked from jamtur01/ladder.md
Kickstarter Engineering Ladder

Keybase proof

I hereby claim:

  • I am dmccraw on github.
  • I am dmccraw (https://keybase.io/dmccraw) on keybase.
  • I have a public key ASB0ppoOx_ecxSzoEDLXl8ZLUQTnIS5nEkwQTI-AeDbnUwo

To claim this, I am signing this object:

@dmccraw
dmccraw / select_reject_collect_inject_and_detect_oh_my.rb
Created September 2, 2014 22:41
Select, Reject, Collect, Inject, and Detect, Oh My!
Select, Reject, Collect, Inject, and Detect
Oh My!
Does this look familiar:
for(int i = 0; i < count; i++) {
}
@dmccraw
dmccraw / regex.rb
Last active August 29, 2015 14:04
Basic Regex script
#!/usr/bin/ruby
# http://rubylearning.com/satishtalim/ruby_regular_expressions.html
# http://www.tutorialspoint.com/ruby/ruby_regular_expressions.htm
# http://www.ruby-doc.org/core-2.1.1/Regexp.html
# http://www.ruby-doc.org/core-2.1.1/MatchData.html
# http://rubular.com/
def match_regex_index(question, string_to_match, match_string)
begin