For symmetic encryption, you can use the following:
To encrypt:
openssl aes-256-cbc -salt -a -e -in plaintext.txt -out encrypted.txt
To decrypt:
<?php | |
/* | |
* Rebuilds the "no access" message before Paid Memberships Pro applies any substitution. | |
* Parses current post for [membership] shortcodes as needed. | |
* Here I'm just getting rid of the "Oxford comma", but it can be used for | |
* rebuilding the message any way you like. | |
*/ | |
//the filters are called by PMPro just before any "!!" variable substitution: | |
// https://github.com/strangerstudios/paid-memberships-pro/blob/2190e731fbb7ccebfa07f246f926859de014e79a/includes/functions.php#L1928 |
// Roland V-Drums TD-17 drum module MIDI note name map for Cockos Reaper DAW | |
59 RIDE <EDGE> | |
58 TOM3 <RIM> | |
57 CRASH2 <BOW> | |
55 CRASH1 <EDGE> | |
53 RIDE <BELL> | |
52 CRASH2 <EDGE> | |
51 RIDE <BOW> | |
50 TOM1 <RIM> | |
49 CRASH1 <BOW> |
#!/bin/bash | |
file="${1:-/dev/stdin}"; | |
iconv -f CP850 -t UTF-8 "$file"; |
fetch("https://api.github.com/gists", | |
{ | |
headers: { | |
'Accept': 'application/json', | |
'Content-Type': 'application/json' | |
}, | |
method: "POST", | |
body: JSON.stringify({ | |
"description":"teste de post de gist anonimo", | |
"public":true, |
#!/bin/bash | |
# | |
# Samsung Celes Chromebook (Braswell) - GalliumOS | |
# | |
# Toggles PulseAudio internal audio sink port between "[Out] Headphones" and "[Out] Speaker" | |
# Internal audio sink seems to be sink #1, as opposed to #0:HDMI audio | |
# | |
# Required packages: | |
# pulseaudio, pulseaudio-utils, libnotify-bin and numix-icon-theme. | |
# |