Skip to content

Instantly share code, notes, and snippets.

View martinb3's full-sized avatar

Martin Smith martinb3

View GitHub Profile
@martinb3
martinb3 / go.py
Created January 30, 2014 18:05
Clean up orphaned cloudfiles backups, from servers that no longer exist
#!/usr/bin/python
import pyrax
import subprocess
import time
import sys
username = sys.argv[1] # username
ddi = sys.argv[2] # ddi
api_key = sys.argv[3] # api key
@martinb3
martinb3 / keybase.md
Created December 29, 2014 14:14
keybase.md

Keybase proof

I hereby claim:

  • I am martinb3 on github.
  • I am martinb3 (https://keybase.io/martinb3) on keybase.
  • I have a public key whose fingerprint is 4186 083F 25A1 562F A4BC 46EE F837 9EA9 CEFB EB6D

To claim this, I am signing this object:

## On all servers:
knife ssh 'name:*' 'sudo chef-client’
## On environment 'foo' only:
knife ssh 'chef_environment:foo' 'sudo chef-client'
## Search Examples (use with knife ssh)
@martinb3
martinb3 / keybase.md
Created January 30, 2020 19:21
keybase.md

Keybase proof

I hereby claim:

  • I am martinb3 on github.
  • I am martinb3 (https://keybase.io/martinb3) on keybase.
  • I have a public key ASASZmoi5-Xl2p32Lu57QPP_OS-xt2wi8TapJb_9zQUhqwo

To claim this, I am signing this object: