Skip to content

Instantly share code, notes, and snippets.

View PercussiveRepair's full-sized avatar

Jay Harrison PercussiveRepair

View GitHub Profile
@PercussiveRepair
PercussiveRepair / jkpl.css
Last active June 9, 2016 13:46 — forked from fbrnc/gist:66f9753144a5ea8db0c1
jenkins pipeline css
#build-pipeline-plugin-content {
background-color: none;
border-radius: 0;
}
#build-pipeline-plugin-content h1 {
display: none;
}
tbody.pipelineGroup {
#!/usr/bin/env python
'''
Send memory usage metrics to Amazon CloudWatch
This is intended to run on an Amazon EC2 instance and requires an IAM
role allowing to write CloudWatch metrics. Alternatively, you can create
a boto credentials file and rely on it instead.
Original idea based on https://github.com/colinbjohnson/aws-missing-tools
'''
#Encryption
openssl enc -in important_backups.tar.gz -aes-256-cbc -e > important_backups_encrypted.tar.gz
# Decryption
openssl enc -in important_backups_encrypted.tar.gz -aes-256-cbc -d > important_backups_decrypted.tar.gz