Skip to content

Instantly share code, notes, and snippets.

View rdgreis's full-sized avatar

Rodrigo Reis rdgreis

  • Maverick Derivatives
  • Den Haag
  • X @rreis
View GitHub Profile
@rdgreis
rdgreis / keybase.md
Created April 18, 2018 19:29
keybase.md

Keybase proof

I hereby claim:

  • I am rdgreis on github.
  • I am rodrigoreis (https://keybase.io/rodrigoreis) on keybase.
  • I have a public key ASA-AjSWBMEi8vz1zi-zdIYkB-RfWyVt5Iw6HQmjbT9tOAo

To claim this, I am signing this object:

### Keybase proof
I hereby claim:
* I am rdgreis on github.
* I am rodrigoreis (https://keybase.io/rodrigoreis) on keybase.
* I have a public key ASBOaRMhawssHx7jpOm6m-5IewIcxojysVU07wITTm7HOQo
To claim this, I am signing this object:
@rdgreis
rdgreis / CreateStrippedVolumeEc2.ps1
Created November 24, 2016 14:32
Create a stripped volume with ec2 ephemeral disks available.
#################################################
# Detect the Ephemeral drives and stripe them
#################################################
$DriveLetterToAssign = 'Z' # Be sure to choose a drive letter that will not already be assigned
#################################################
# Given a device (e.g. xvda), strip off "xvd" and convert the remainder to the appripriate SCSI ID
#################################################
function GetSCSI {
python:
image: 'orchardup/python:latest'
ports:
- '60000'
volumes:
- '/desenv'
command: sleep 10000
# Created by .ignore support plugin (hsz.mobi)
### Python template
# Byte-compiled / optimized / DLL files
__pycache__/
*.py[cod]
*$py.class
# C extensions
*.so