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:
| --- | |
| test::test1: common.yaml | |
| test::test2: common.yaml |
| --- | |
| :backends: | |
| - yaml | |
| - gpg | |
| :gpg: | |
| :datadir: '/etc/puppet/hiera' | |
| :yaml: | |
| :datadir: '/etc/puppet/hiera' |
| #!/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 |
| 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)) |
| #!/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 |
I hereby claim:
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')) |
| - name: Get BGP Neighbor Info | |
| hosts: all | |
| gather_facts: False | |
| connection: local | |
| tasks: | |
| - name: Get BGP Peers | |
| junos_command: | |
| rpcs: | |
| - "get-bgp-summary-information" | |
| display: xml |
| <?php | |
| /** | |
| * Class X_Io_File | |
| */ | |
| class X_Io_File extends Varien_Io_File { | |
| /** | |
| * @return void | |
| */ |
| #!/usr/bin/env bash | |
| # | |
| ## Install s3ql on centos 7 machine | |
| ### https://bitbucket.org/nikratio/s3ql/ | |
| # yum packages | |
| sudo yum install -y epel-release | |
| sudo yum install -y \ | |
| bzip2 \ | |
| git \ | |
| fuse \ |