For excessively paranoid client authentication.
Updated Apr 5 2019:
because this is a gist from 2011 that people stumble into and maybe you should AES instead of 3DES in the year of our lord 2019.
some other notes:
cribbed from http://pastebin.com/xgzeAmBn
Templates to remind you of the options and formatting for the different types of objects you might want to document using YARD.
A quick "how to" on what you need to do to both setup AND recover a single-server PostgreSQL database using WAL-E
GetObject
, ListBucket
and PutObject
on the bucket you want to use (and that it's not public).#!/usr/bin/env ruby | |
require 'bunny' | |
require 'securerandom' | |
conn = Bunny.new | |
conn.start | |
class FibonacciClient | |
def initialize(conn, server_queue) | |
ch = conn.create_channel |
""" | |
YouCompleteMe extra configuration for Platformio based | |
projects. | |
Based on the `.ycm_extra_conf.py` by @ladislas in his Bare-Arduino-Project. | |
Anthony Ford <github.com/ajford> | |
""" | |
import os |
#!/bin/sh | |
# size of swapfile in megabytes | |
swapsize=8000 | |
# does the swap file already exist? | |
grep -q "swapfile" /etc/fstab | |
# if not then create it | |
if [ $? -ne 0 ]; then |
Paprika doesn't have their API documented, so this is me reverse-engineering it from an Android device
weechat | |
Relay setup | |
On the server's instance of weechat: | |
/relay add ssl.irc 8001 | |
/secure set relay WHATEVER_PASSWORD | |
/set relay.network.password "${sec.data.relay}" | |
On the server, to generate the ssl certificate: |