View gist:8c342dd8618e0fdc69376382efa516ad
openssl rsautl -decrypt -inkey private.pem -oaep -in cryptedmessage -out decrypted
RSA operation error
11511:error:0407A079:rsa routines:RSA_padding_check_PKCS1_OAEP:oaep decoding error:/BuildRoot/Library/Caches/com.apple.xbs/Sources/OpenSSL098/OpenSSL098-64.30.2/src/crypto/rsa/rsa_oaep.c:199:
11511:error:04065072:rsa routines:RSA_EAY_PRIVATE_DECRYPT:padding check failed:/BuildRoot/Library/Caches/com.apple.xbs/Sources/OpenSSL098/OpenSSL098-64.30.2/src/crypto/rsa/rsa_eay.c:614:
View truth_example.erl
% Day 14 and after last match of season: 100
% State Resetted: 010
% Finished processing StateLevel > MaxLevel: 001
% Flag | Current | Is State | Finished | Meaning
% | Season Over? | Reset? | Processing? |
% -----|--------------|----------|-------------|------------------------------------------
% 100 | 1 | 0 | 0 | resume progress current season
% 101 | 1 | 0 | 1 | noop day 14
% 110 | 1 | 1 | 0 | start progression
View truth_example.rb
# defining some constants
ARCHIVE_REQUESTED = 1 # binary 01
ARCHIVE_NOT_REQUESTED = 0 # binary 00
FINISHED_PROCESSING = 2 # binary 10
NOT_FINISHED_PROCESSING = 0 # binary 00
NOOP = 0 # binary 00
START = 1 # binary 01
BROKEN = 2 # binary 10
View gen_server_template.erl
-module().
-behavior(gen_server).
% Managment API
-export([start/0, start_link/0, stop/0]).
% gen_server callbacks
-export([init/1, handle_call/3, handle_cast/2, handle_info/2, terminate/2,
code_change/3]).
View gist:40c12883cf25d5d8a1ed
FreeBSD: {
url: "pkg+http://pkg.eu.FreeBSD.org/${ABI}/latest",
mirror_type: "srv",
enabled: yes
}
View ruby.sh
#!/bin/sh
# PROVIDE: request_counter
# REQUIRE: LOGIN
# KEYWORD: shutdown
. /etc/rc.subr
name=request_counter
rcvar=request_counter_enable
View hover.html
<!DOCTYPE html>
<html>
<head>
<title>foo</title>
<style>
div#wrapper {
width: 800px;
height: 200px;
background-color: gray;
View gist:10364804
#!/bin/sh
#
# BEFORE: DAEMON
# PROVIDE: ezjail.example.config
#
# ezjail flavour example
. /etc/rc.subr
name=ezjail.flavour.bijail
View tmux with synchronized panes.sh
# ZSH Script to open a tmux session for every host passed as CLI argument and synchronizes all the panes.
# Invoke with: ./cluster.zsh user@host1 user@host2 user@host3
#!/bin/zsh
while (( $# != 0 )) {
tmux splitw "ssh $1"
tmux select-layout tiled
shift
}
View gist:6020656
___________________________
/| /| | |
||__|| | Please don't |
/ O O\__ feed |
/ \ the trolls |
/ \ \ |
/ _ \ \ ----------------------
/ |\____\ \ ||
/ | | | |\____/ ||
/ \|_|_|/ | __||