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
Verifying my Blockstack ID is secured with the address 13zWJbNRNrkPfRUkrpEhm6tZFRwAPKShez https://explorer.blockstack.org/address/13zWJbNRNrkPfRUkrpEhm6tZFRwAPKShez |
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
# Encoding: utf-8 | |
Ohai.plugin(:Processes) do | |
provides 'processes' | |
collect_data(:linux) do | |
processes Mash.new | |
so = shell_out('ps -axco command,pid,euser') | |
so.stdout.lines do |line| |
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
[2019-05-16T20:18:38+00:00] DEBUG: Reading products and relationships... | |
[2019-05-16T20:18:38+00:00] DEBUG: Successfully read products and relationships | |
[2019-05-16T20:18:38+00:00] DEBUG: Searching for the following licenses: ["infra-client", "inspec"] | |
[2019-05-16T20:18:38+00:00] DEBUG: Found license chef_infra_client at /etc/chef/accepted_licenses/chef_infra_client | |
[2019-05-16T20:18:38+00:00] DEBUG: Found license inspec at /etc/chef/accepted_licenses/inspec | |
[2019-05-16T20:18:38+00:00] DEBUG: Missing licenses remaining: [] | |
[2019-05-16T20:18:38+00:00] DEBUG: All licenses present | |
[2019-05-16T20:18:38+00:00] DEBUG: Running Ohai with the following configuration: {:logger=>Chef::Log} | |
Starting Chef Infra Client, version 15.0.293 | |
[2019-05-16T20:18:38+00:00] INFO: *** Chef Infra Client 15.0.293 *** |
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
set nocompatible " be iMproved, required | |
filetype off " required | |
syntax on | |
set background=dark | |
set encoding=UTF-8 | |
let mapleader = "\<Space>" | |
set number relativenumber | |
set guifont=MesloLGSNerdFontComplete-Regular:h18 | |
set path+=** |
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
driver: | |
name: ec2 | |
image_search: | |
name: Windows_Server-2016-English-Full-Base-* | |
region: eu-west-1 | |
subnet_id: subnet-3615b351 | |
instance_type: t2.micro | |
aws_ssh_key_id: kitchen | |
security_group_ids: | |
- sg-496eaa31 |
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
require 'csv' | |
require 'json' | |
require "set" | |
json = JSON.parse(File.open(ARGV[0]).read)["results"] | |
# Pass 1: Collect headings | |
headings = SortedSet.new | |
json.each do |hash| | |
headings.merge(hash.keys) | |
end |
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
<?xml version="1.0"?> | |
<root> | |
<!-- Logitech K360 Keyboard --> | |
<item> | |
<name>Logitech K360 Keyboard for Mac OS X</name> | |
<devicevendordef> | |
<vendorname>LOGITECH</vendorname> | |
<vendorid>0x046d</vendorid> | |
</devicevendordef> | |
<deviceproductdef> |
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
Get-WindowsCapability -Online | ? Name -like 'OpenSSH*' | |
Add-WindowsCapability -Online -Name OpenSSH.Client~~~~0.0.1.0 | |
Add-WindowsCapability -Online -Name OpenSSH.Server~~~~0.0.1.0 | |
Start-Service sshd | |
Set-Service -Name sshd -StartupType 'Automatic' | |
Get-NetFirewallRule -Name *ssh* | |
New-NetFirewallRule -Name sshd -DisplayName 'OpenSSH Server (sshd)' -Enabled True -Direction Inbound -Protocol TCP -Action Allow -LocalPort 22 |
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
#!/usr/bin/env bash | |
# Author:: Paul Mooring (<paul@opscode.com>) | |
# Author:: Steven Danna (<steve@opscode.com>) | |
# Copyright:: Copyright (c) 2013 Opscode, Inc. | |
# License:: Apache License, Version 2.0 | |
# | |
# Licensed under the Apache License, Version 2.0 (the "License"); | |
# you may not use this file except in compliance with the License. | |
# You may obtain a copy of the License at |
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
{ | |
"__inputs": [ | |
{ | |
"name": "DS_INFLUXDB", | |
"label": "InfluxDB", | |
"description": "", | |
"type": "datasource", | |
"pluginId": "influxdb", | |
"pluginName": "InfluxDB" | |
} |