Skip to content

Instantly share code, notes, and snippets.

View rdeusser's full-sized avatar

Robert Deusser rdeusser

View GitHub Profile

Keybase proof

I hereby claim:

  • I am rdeusser on github.
  • I am rdeusser (https://keybase.io/rdeusser) on keybase.
  • I have a public key ASDQiUiTmGbUlvsQ-RAVeDs8KGr_ZC7e2tIKQyJgGoYu_wo

To claim this, I am signing this object:

<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE plist PUBLIC "-//Apple//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd">
<plist version="1.0">
<dict>
<key>Ansi 0 Color</key>
<dict>
<key>Blue Component</key>
<real>0.20179691910743713</real>
<key>Green Component</key>
<real>0.1818026602268219</real>
@rdeusser
rdeusser / deep_symbolize.rb
Last active January 22, 2017 22:12 — forked from morhekil/LICENSE
Implementation of deep symbolization of keys for Ruby hashes
# Symbolizes all of hash's keys and subkeys.
# Also allows for custom pre-processing of keys (e.g. downcasing, etc)
# if the block is given:
#
# somehash.deep_symbolize { |key| key.downcase }
#
# Usage: either include it into global Hash class to make it available to
# to all hashes, or extend only your own hash objects with this
# module.
@rdeusser
rdeusser / cloud-config.yaml
Last active December 13, 2015 03:09
Example NIC team
#cloud-config
coreos:
update:
reboot-strategy: best-effort
units:
- name: fleet.service
command: start
- name: static.network
command: start