I hereby claim:
- I am frozenfoxx on github.
- I am frozenfoxx (https://keybase.io/frozenfoxx) on keybase.
- I have a public key ASAxMh-neQUEJlmvd05wUzf0-gmHj1HD0pkMaYEezTxXYwo
To claim this, I am signing this object:
| import json | |
| import logging | |
| from datetime import datetime | |
| logging.basicConfig(level=logging.DEBUG, format='%(asctime)s %(message)s') | |
| def date_to_timestamp(date_str): | |
| try: | |
| dt = datetime.fromisoformat(date_str.replace('Z', '+00:00')) | |
| return int(dt.timestamp()) |
| using UnityEngine; | |
| using UnityEngine.Networking; | |
| using System; | |
| using System.IO; | |
| using System.Net; | |
| using System.Threading; | |
| public class UnityHttpListener : MonoBehaviour | |
| { |
| devbox:docker-schemaverse frozenfoxx$ docker run -it -p 5432:5432 frozenfoxx/docker-schemaverse:latest | |
| * Starting PostgreSQL 9.5 database server [ OK ] | |
| 2017-09-29 15:44:51 UTC [37-2] LOG: received fast shutdown request | |
| 2017-09-29 15:44:51 UTC [37-3] LOG: aborting any active transactions | |
| 2017-09-29 15:44:51 UTC [42-2] LOG: autovacuum launcher shutting down | |
| 2017-09-29 15:44:51 UTC [39-1] LOG: shutting down | |
| 2017-09-29 15:44:53 UTC [39-2] LOG: database system is shut down | |
| 2017-09-29 16:00:59 UTC [27-1] LOG: database system was shut down at 2017-09-29 15:44:53 UTC | |
| 2017-09-29 16:00:59 UTC [27-2] LOG: MultiXact member wraparound protections are now enabled | |
| 2017-09-29 16:00:59 UTC [26-1] LOG: database system is ready to accept connections |
| --- | |
| :backends: | |
| - yaml | |
| :hierarchy: | |
| - "%{::environment}/nodes/%{::trusted.certname}" | |
| - "%{::environment}/puppetlabs" | |
| - "%{::environment}/management" | |
| - "%{::environment}/hosts" | |
| - "%{::environment}/common" |
I hereby claim:
To claim this, I am signing this object:
| # Ensure PacketFilter is running | |
| service { 'pfctl': | |
| ensure => 'running', | |
| provider => base, | |
| restart => 'pfctl -d && pfctl -F all && pfctl -f /etc/pf.conf && pfctl -e', | |
| start => 'pfctl -f /etc/pf.conf && pfctl -e', | |
| status => "echo \"pfctl -s info 2>/dev/null | grep Status | [ $(awk '{print \$2}') == Enabled ]\" | bash", | |
| stop => 'pfctl -d', | |
| } |
| #!/usr/bin/env python | |
| # -*- coding: utf-8 -*- | |
| import os | |
| import time | |
| import json | |
| import logging | |
| import requests | |
| import multiprocessing.dummy |
| if $facts['os']['family'] == 'Darwin' { | |
| if versioncmp($facts['os']['macosx']['version']['major'], '10.11') >= 0 { | |
| $var = '/etc/ssh' | |
| } else { | |
| $var = '/etc' | |
| } | |
| } else { | |
| $var = '/etc/ssh' | |
| } |
| somemodule::rubyver: "2.1.1" | |
| somemodule::shellpath: "/Users/buildbot/.rvm/gems/ruby-%{hiera('somemodule::rubyver')}/bin:/Users/buildbot/.rvm/gems/ruby-%{hiera('somemodule::rubyver')}@global/bin:/Users/buildbot/.rvm/rubies/ruby-%{hiera('somemodule::rubyver')}/bin:/usr/local/bin:/usr/local/bin:/usr/bin:/bin:/usr/sbin:/sbin:/Users/buildbot/.rvm/bin" |
| # Variables | |
| CERTS='' | |
| PUPPET=/opt/puppetlabs/bin/puppet | |
| CERTFILES=/etc/puppetlabs/puppet/ssl/ca/signed | |
| PREFIX=<%= @prefix %> | |
| # Logic | |
| CERTS=$(${PUPPET} cert list --all | grep -e "^\+\s\"${PREFIX}.*$" | cut -f 2 -d ' ' | sed 's/\"//g') | |
| echo "Found $(echo ${CERTS} | wc -w) ephemeral clone certificates." |