This guide shows how to set up a bidirectional client/server authentication for plain TLS sockets.
Newer versions of openssl are stricter about certificate purposes. Use extensions accordingly.
Generate a Certificate Authority:
This guide shows how to set up a bidirectional client/server authentication for plain TLS sockets.
Newer versions of openssl are stricter about certificate purposes. Use extensions accordingly.
Generate a Certificate Authority:
/* | |
* Based on Bluebird 3.4.1 | |
*/ | |
(function() { | |
var Promise = window.Promise; | |
var promiseProto = Promise.prototype; | |
if (typeof Promise.mapSeries !== "function") { | |
return; // Bluebird not loaded | |
} | |
dependencies: | |
post: | |
- curl -Ls https://install.convox.com/linux.zip > convox.zip | |
- sudo unzip convox.zip -d /usr/local/bin | |
deployment: | |
staging: | |
branch: master | |
commands: | |
- convox login console.convox.com | |
- convox switch org/rack |
# FontForge command | |
fontforge -script 2ttf.pe ProprietaryFontCondensedBold.otf | |
# 2ttf.pe | |
# FontForge Script | |
# http://fontforge.org/scripting.html | |
# | |
# * Opens the font file | |
# * Sets the family/fullname/postscript name be the same as the filename (without ext) |
# ~/.gitconfig | |
# Add this to your global git configuration file | |
# Change phpstorm to webstorm, if you use that. | |
# Diff and merge tool changes | |
# Run `git difftool <directory/file>...` or `git mergetool <directory/file>...` | |
[merge] | |
tool = phpstorm | |
[diff] | |
tool = phpstorm |
ActiveSupport.on_load(:active_record) do | |
module Arel::NullsLastPredications | |
def nulls_last | |
Arel::Nodes::NullsLast.new self | |
end | |
end | |
module Arel::Nodes | |
class NullsLast < Unary | |
def gsub *args |
#!/usr/bin/env python3 | |
# -*- coding: utf-8 -*- | |
#First released as C++ program by Hiroyuki Tsutsumi as part of the free software suite “Beer” | |
#I thought porting it to Python could be both a challenge and useful | |
from sys import argv, exit, getsizeof | |
from struct import pack_into, unpack_from | |
def ceil4(n): |
sudo launchctl unload /System/Library/LaunchDaemons/com.apple.blued.plist | |
sudo launchctl load /System/Library/LaunchDaemons/com.apple.blued.plist |