Skip to content

Instantly share code, notes, and snippets.

💭
destroy all computers

Tyler Langlois tylerjl

💭
destroy all computers
Block or report user

Report or block tylerjl

Hide content and notifications from this user.

Learn more about blocking users

Contact Support about this user’s behavior.

Learn more about reporting abuse

Report abuse
View GitHub Profile
View Git pre-receive yaml check
#!/usr/bin/env sh
set -e
RET=0
while read OLD NEW REFNAME ; do
files=$(git ls-tree -r --name-only $NEW)
for file in $files ; do
[[ $file =~ ".yaml" ]] || continue
View gist:fd690dcaf1ed9558349a
$ curl sensu.domain:4567/events
[{"id":"0506ec61-6dbd-44e3-a208-c415edd591aa","client":"sensu.domain","check":"check_puppet_last_run","occurrences":1,"action":"create"}]
$
View gist:11130539
#!/usr/bin/env ruby
require 'pp'
require 'faraday'
require 'base64'
require 'digest/sha1'
require 'nokogiri'
require 'json'
class HackingError < StandardError ; end
View hashmark.rb
#!/usr/bin/env ruby
require 'digest/sha1'
require 'digest/sha3'
require 'digest/md5'
require 'bcrypt'
require 'securerandom'
require 'benchmark'
require 'pp'
require 'json'
You can’t perform that action at this time.