This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
taylor-[~/DrTaylorPlumage] mcr 10113 %sudo -u libvirt-qemu qemu-img info --backing-chain /srv/openswan-testing/build/images/alice.qcow2 | |
image: /srv/openswan-testing/build/images/alice.qcow2 | |
file format: qcow2 | |
virtual size: 3.0G (3221225472 bytes) | |
disk size: 4.5M | |
cluster_size: 65536 | |
backing file: /srv/openswan-testing/build/images/root.OPENSWAN.work2.6.52.qcow2 | |
Format specific information: | |
compat: 1.1 | |
lazy refcounts: false |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Either URI should be removing the [], or Addrinfo should be accepting it. Given that Addrinfo is just getaddrinfo(3), and it does not peel off the [], I think the fault is URI. | |
2.4.1 :007 > n = URI.parse("https://[::2]:1234/") | |
=> #<URI::HTTPS https://[::2]:1234/> | |
2.4.1 :008 > Addrinfo.udp(n.host, n.port) | |
SocketError: getaddrinfo: Name or service not known | |
2.4.1 :009 > n = URI.parse("coaps://[::2]:5684/") | |
=> #<URI::Generic coaps://[::2]:5684/> |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This turned into a fork of capistrano and capistrano-bundler. | |
https://github.com/mcr/capistrano/tree/per-host-deploy-to | |
https://github.com/mcr/bundler/tree/per-host-deploy-to | |
and I've started a thread to make it more sane. | |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
module ietf-6tisch-symmetric-keying { | |
yang-version 1.1; | |
namespace | |
"urn:ietf:params:xml:ns:yang:6tisch-keys"; | |
prefix "6keys"; | |
import ietf-yang-types { prefix yang; } | |
import ietf-inet-types { prefix inet; } |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
require 'base64' | |
require 'ecdsa' | |
sig01_key_base64 = { | |
kty:"EC", | |
kid:"11", | |
crv:"P-256", | |
x:"usWxHK2PmfnHKwXPS54m0kTcGJ90UiglWiGahtagnv8", | |
y:"IBOL-C3BttVivg-lSreASjpkttcsz-1rb7btKLv8EX4", | |
d:"V8kgd2ZBRuh2dgyVINBUqpPDr7BOMGcF22CQMIUHtNM" |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
based upon code at: https://github.com/ledgersmb/LedgerSMB/blob/master/lib/LedgerSMB/Scripts/import_csv.pm#L308 | |
There are 9 columns, 0-9. In spreadsheet terms "A" through "I" | |
A/0 - account number, like "1001" | |
B/1 - description, free form text | |
C/2 - charttype: 'A' for account, 'H' for heading | |
D/3 - category: A = asset, L = liability, Q = Equity, I = Income, E = expense | |
E/4 - contra: f for regular account, t for contra accounts, such as Liability and Expense | |
F/5 - tax: t if a tax account, f otherwise |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
sns-[~] mcr 10002 %mtr -r 2607:f0b0:f:85:1200:ff:fe66:4d02 | |
Start: Sat Nov 5 04:33:24 2016 | |
HOST: sns.cooperix.net Loss% Snt Last Avg Best Wrst StDev | |
1.|-- 2600:3c03::8678:acff:fe57 0.0% 10 1.1 1.1 0.9 1.3 0.0 | |
2.|-- 2600:3c03:6666:2::1 20.0% 10 1.1 1.1 1.0 1.2 0.0 | |
3.|-- gw2-nyc.bb.allstream.net 0.0% 10 1.5 1.7 1.4 3.0 0.5 | |
4.|-- 2001:4c8:100f:2a::c1 0.0% 10 19.6 20.1 19.5 24.4 1.5 | |
5.|-- 2001:4c8:100f:2a::c1 0.0% 10 19.6 19.6 19.5 19.6 0.0 | |
6.|-- 2607:f0b0:f:5::1 0.0% 10 25.0 25.2 24.9 25.8 0.0 | |
7.|-- obiwan.sandelman.ca 0.0% 10 26.1 25.5 25.1 26.1 0.0 |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
grasp-message = (message .within message-structure) / noop-message | |
message-structure = [MESSAGE_TYPE, session-id, ?initiator, *grasp-option] | |
MESSAGE_TYPE = 0..255 | |
session-id = 0..16777215 ;up to 24 bits | |
grasp-option = any | |
message /= discovery-message | |
discovery-message = [M_DISCOVERY, session-id, initiator, objective] |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
obiwan-[~](2.2.1) mcr 10043 %openssl s_client -crlf -no_tls1_2 -connect imap.ietf.org:143 -starttls imap | |
CONNECTED(00000003) | |
depth=3 C = US, O = "Starfield Technologies, Inc.", OU = Starfield Class 2 Certification Authority | |
verify error:num=19:self signed certificate in certificate chain | |
--- | |
Certificate chain | |
0 s:/OU=Domain Control Validated/CN=*.ietf.org | |
i:/C=US/ST=Arizona/L=Scottsdale/O=Starfield Technologies, Inc./OU=http://certs.starfieldtech.com/repository//CN=Starfield Secure Certificate Authority - G2 | |
1 s:/C=US/ST=Arizona/L=Scottsdale/O=Starfield Technologies, Inc./OU=http://certs.starfieldtech.com/repository//CN=Starfield Secure Certificate Authority - G2 | |
i:/C=US/ST=Arizona/L=Scottsdale/O=Starfield Technologies, Inc./CN=Starfield Root Certificate Authority - G2 |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# -*- ruby -*- | |
class OpenSSL::PKey::EC | |
def private? | |
private_key? | |
end | |
end | |
namespace :highway do |