This file contains 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
(ns stream-test | |
(:require [cljs.pprint :refer [pprint]] | |
["readable-stream" :as stream])) | |
(def number-stream | |
(new stream.Readable | |
#js{:objectMode true | |
:read (fn [count] (.push js/this 42))})) | |
(-> number-stream |
This file contains 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
{'__align': (), | |
'attrs': [('IFLA_IFNAME', 'vetha0da3cd'), | |
('IFLA_TXQLEN', 0), | |
('IFLA_OPERSTATE', 'DOWN'), | |
('IFLA_LINKMODE', 0), | |
('IFLA_MTU', 1500), | |
('IFLA_GROUP', 0), | |
('IFLA_PROMISCUITY', 0), | |
('IFLA_NUM_TX_QUEUES', 1), | |
('IFLA_GSO_MAX_SEGS', 65535), |
This file contains 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
#!/bin/bash | |
log_group=$1 | |
list_command="aws logs describe-log-streams --log-group-name $log_group" | |
group_next_token='' | |
while true; do | |
if [[ -n $group_next_token ]]; then | |
response=$($list_command --next-token $group_next_token) | |
else |
This file contains 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
ssl_certificate /etc/ssl/certs/z400cert.pem; | |
ssl_certificate_key /etc/ssl/private/z400key.pem; | |
# Keystone | |
server { | |
listen 192.168.1.2:5000; | |
ssl on; | |
location / { | |
include /etc/nginx/proxy_params; |
This file contains 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
### Keybase proof | |
I hereby claim: | |
* I am tpot on github. | |
* I am tpot (https://keybase.io/tpot) on keybase. | |
* I have a public key whose fingerprint is 1A27 4782 4E52 FCC4 D157 C0D1 B24C A63F 6EBB E84D | |
To claim this, I am signing this object: |
This file contains 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
{ | |
"name": "allinone-physical-host", | |
"override_attributes": { | |
"openstack": { | |
"developer_mode": true, | |
"compute": { | |
"network": { | |
"service_type": "neutron" | |
} | |
}, |
This file contains 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
export OS_AUTH_URL=http://localhost:35357/v2.0 | |
export OS_TENANT_NAME=admin | |
export OS_USERNAME=admin | |
export OS_PASSWORD=admin |
This file contains 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
{ | |
"name": "allinone-vm-host", | |
"override_attributes": { | |
"openstack": { | |
"developer_mode": true, | |
"compute": { | |
"network": { | |
"service_type": "neutron" | |
}, | |
"libvirt": { |