Skip to content

Instantly share code, notes, and snippets.

@rgm3
rgm3 / authorize_keys.yml
Last active April 18, 2018 18:40
Ansible tasks to authorize mutual SSH for hosts in a group
# Example inventory
# [cluster]
# node1
# node2
# node3
# Assume all users exist on all nodes
- set_fact:
user_list:
- name: foo
@rgm3
rgm3 / bad_test.py
Last active April 22, 2017 07:07
Problem with pigpio PWM duty cycle 0.0, failure in test_real_pins.py
import gpiozero
from gpiozero.pins.pigpiod import PiGPIOPin
# Place a jumper across these two pins.
# Physical pins # 13 and 15 on a B+
test_pin = PiGPIOPin(27)
input_pin = PiGPIOPin(22)
test_pin.function = 'output'
test_pin.frequency = 100
@rgm3
rgm3 / keybase.md
Created October 1, 2014 18:11
Keybase.io GitHub proof

Keybase proof

I hereby claim:

  • I am rgm3 on github.
  • I am rgm3 (https://keybase.io/rgm3) on keybase.
  • I have a public key whose fingerprint is 3164 FFEC A9DE EFFA 4452 393A 01B4 AA3C 4F7F F64B

To claim this, I am signing this object: