I hereby claim:
- I am benagricola on github.
- I am benagricola (https://keybase.io/benagricola) on keybase.
- I have a public key ASDAOij939_OvDosgdcagrYc05hIcl90KgzflKn7aGj7Gwo
To claim this, I am signing this object:
from PyInstaller.utils.hooks import collect_submodules, collect_data_files | |
# This hooks the scrapy project 'cot' to import all submodules, change name to match scrapy project | |
hiddenimports = (collect_submodules('cot')) |
I hereby claim:
To claim this, I am signing this object:
#!/usr/bin/env tarantool | |
local pickle = require('pickle') | |
local denumerate = function(num) | |
local bin = '' | |
while num > 0 do | |
local char = num % 256 | |
num = num - char | |
num = num / 256 | |
bin = string.char(char) .. bin |
local num = 144678151251494874 | |
local bin = "" | |
while num > 0 do | |
local char = num % 256 | |
num = num - char | |
num = num / 256 | |
bin = string.char(char) .. bin | |
end | |
print(pickle.unpack('bbNn',bin)) |
#!/bin/bash | |
APIENDPOINT=${1:-"https://puppetdb:8081/v4"} | |
APICERT=${2:-"/etc/pki/tls/certs/localhost.crt"} | |
APIKEY=${3:-"/etc/pki/tls/private/localhost.key"} | |
APICA=${4:-"/etc/pki/tls/certs/ca.pem"} | |
RESOURCEFILE=${5} | |
CURLCMD="curl -s -X GET --cacert $APICA --key $APIKEY --cert $APICERT $APIENDPOINT" | |
JSON=$($CURLCMD/facts/ | jq -r -s '(reduce .[][] as $item({} ; .[$item.certname].attributes = .[$item.certname].attributes + {($item.name): $item.value} | .[$item.certname].attributes.hostname = .[$item.certname].attributes.fqdn | .[$item.certname].attributes.username = "root")) | {nodes: .}') | |
if [ -z "$RESOURCEFILE" ]; then |
--- | |
:backends: | |
- yaml | |
- gpg | |
:gpg: | |
:datadir: '/etc/puppet/hiera' | |
:yaml: | |
:datadir: '/etc/puppet/hiera' |
--- | |
test::test1: common.yaml | |
test::test2: common.yaml |