Skip to content

Instantly share code, notes, and snippets.

View ddepaoli3's full-sized avatar
🌶️
automation in progress

Daniel Depaoli ddepaoli3

🌶️
automation in progress
View GitHub Profile
@ddepaoli3
ddepaoli3 / bash-cli-openssl-stdin-encryption
Last active February 9, 2021 14:24 — forked from robert2d/bash-cli-openssl-stdin-encryption
Bash $STDIN Encryption with openssl and aes256
# Encrypt in base64 output STDIN and provide a password(prompt)
echo "message" | openssl enc -base64 -aes-256-cbc -a
# Decrypt STDIN and provide a password(prompt)
echo "encrypted" | openssl enc -aes-256-cbc -a -d
@ddepaoli3
ddepaoli3 / gitlab-to-bitbucket.py
Created June 21, 2018 07:49 — forked from danhper/gitlab-to-bitbucket.py
Script to migrate repositories from GitLab to Bitbucket
import os
import re
import subprocess
import requests
GITLAB_ENDPOINT = os.environ["GITLAB_ENDPOINT"]
GITLAB_TOKEN = os.environ["GITLAB_TOKEN"]
@ddepaoli3
ddepaoli3 / github-pandoc.css
Created February 10, 2017 15:53 — forked from dashed/github-pandoc.css
GitHub-like CSS for pandoc standalone HTML files (perfect for HTML5 output). Based on Marked.app's GitHub CSS. Added normalize.css (v2.1.3) in the prior to GitHub css.
/*! normalize.css v2.1.3 | MIT License | git.io/normalize */
/* ==========================================================================
HTML5 display definitions
========================================================================== */
/**
* Correct `block` display not defined in IE 8/9.
*/
@ddepaoli3
ddepaoli3 / route53-update.sh
Last active March 23, 2022 07:01 — forked from phybros/update-route53.sh
BASH Script to keep Route53 updated with your current external IP address
#!/bin/bash
############
## README ##
############
#This script updates DNS with the ip of the machine from which the script is launch.
#The instance or who launch this script needs this permission to hosted zone:
#
#
# route53:ChangeResourceRecordSets