Worked 2015-09-08 for Phoenix 1.0.1 on Dokku 0.3.25.
These instructions assume you've set up Dokku. If not, go find a tutorial for that part. My notes for setting it up on Digital Ocean.
Create a Dokku app:
Worked 2015-09-08 for Phoenix 1.0.1 on Dokku 0.3.25.
These instructions assume you've set up Dokku. If not, go find a tutorial for that part. My notes for setting it up on Digital Ocean.
Create a Dokku app:
This list has moved to the following page:
http://anonymoushash.vmbrasseur.com/resources/negotiation/
It's joining a number of other lists of resources (management, telecommuting, etc.):
http://anonymoushash.vmbrasseur.com/resources/
Keeping them all together like this makes it much more likely I'll maintain them (as a group they'll have a larger mindshare in my cluttered & busy brain) rather than fire & forget a list which is never updated again.
rdr pass proto tcp from any to any port {80,20559} -> 127.0.0.1 port 20559 | |
anchor "250.PowFirewall/*" |
require 'logger' | |
require 'time' | |
require 'json' | |
require 'forwardable' | |
# A simple subclass that writes JSON logs | |
class JsonLogger < Logger | |
def format_message(severity, timestamp, progname, msg) | |
msg = {message: msg} unless msg.is_a? Hash | |
log = {timestamp: timestamp.iso8601, severity: severity}.merge(msg) |
/* @flow */ | |
var React = require("react") | |
var Immutable = require("immutable") | |
// In order to use any type as props, including Immutable objects, we | |
// wrap our prop type as the sole "data" key passed as props. | |
type Component<P> = ReactClass<{},{ data: P },{}> | |
type Element = ReactElement<any, any, any> |
[Global] | |
uam path = /usr/local/etc/netatalk/uams | |
max connections = 256 | |
tcprcvbuf = 262144 | |
tcpsndbuf = 262144 | |
server quantum = 262144 | |
zeroconf = yes | |
guest account = guest | |
uam list = uams_passwd.so uams_gss.so uams_guest.so uams_dhx2_pam.so | |
veto files = /.AppleDB/.AppleDouble/.AppleDesktop/:2eDS_Store/Network Trash Folder/Temporary Items/TheVolumeSettingsFolder/.@__thumb/.@__desc/:2e*/.@__qini/.Qsync/.upload_cache/.qsync/.qsync_sn/ |
#!/bin/sh | |
# | |
# Import all SSH keys from LP | |
# | |
PREFIX=~ | |
SSH_ASKPASS=$PREFIX/bin/lp-askpass.sh | |
export SSH_ASKPASS | |
# This is needed to force ssh-add to honor our SSH_ASKPASS. | |
DISPLAY=foo | |
export DISPLAY |
# Key considerations for algorithm "RSA" ≥ 2048-bit
openssl genrsa -out server.key 2048
# Key considerations for algorithm "ECDSA" ≥ secp384r1
# List ECDSA the supported curves (openssl ecparam -list_curves)
Ingredients: | |
2 stewpans - one is main = 5 litres, second is for beet | |
potatoes - 12 items of average size, neither big nor small | |
beet - 4 items of average size | |
meat - a piece of pork without fat, size about 10x17x7 santimeters |
[alias] | |
# Prints merged branches without the current working branch and mainline branches | |
extraneous-branches = "!f() { git branch --merged | grep -v -e 'gh-pages' -e 'master' -e 'staging' -e 'production'; }; echo `f`" | |
# Deletes the extraneous branches with a soft -d | |
remove-extraneous-branches = "!f() { git extraneous-branches; }; git branch -d `f`" | |
reb = remove-extraneous-branches |