This file contains hidden or 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
| # dmidecode 2.11 | |
| SMBIOS 2.5 present. | |
| 75 structures occupying 2549 bytes. | |
| Table at 0x000F0450. | |
| Handle 0xDA00, DMI type 218, 89 bytes | |
| OEM-specific Type | |
| Header and Data: | |
| DA 59 00 DA B2 00 17 4B 0E 38 00 00 80 00 80 01 | |
| 00 02 80 02 80 01 00 00 A0 00 A0 01 00 58 00 58 |
This file contains hidden or 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
| <!-- Keyboard Layout Switching --> | |
| <item> | |
| <name>Switch to Dvorak</name> | |
| <identifier>private.qwerty_to_dvorak</identifier> | |
| <autogen> | |
| __SimultaneousKeyPresses__ | |
| <!-- from --> | |
| @begin | |
| KeyCode::A, KeyCode::S, KeyCode::D, KeyCode::F, | |
| @end |
This file contains hidden or 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
| <!-- Keyboard Layout Switching with F-keys --> | |
| <item> | |
| <name>F7 Qwerty to Dvorak</name> | |
| <identifier>private.f7_qwerty_to_dvorak</identifier> | |
| <autogen>__KeyToKey__ | |
| KeyCode::F7, | |
| KeyCode::VK_OPEN_URL_APP_Karabiner_Profile0 | |
| </autogen> | |
| </item> | |
| <item> |
This file contains hidden or 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
| <!-- Keyboard Layout Switching with F-keys --> | |
| <item> | |
| <name>F7 Qwerty to Dvorak</name> | |
| <identifier>private.f7_qwerty_to_dvorak</identifier> | |
| <autogen>__KeyToKey__ | |
| KeyCode::F7, | |
| KeyCode::VK_OPEN_URL_APP_Karabiner_Profile0 | |
| </autogen> | |
| </item> | |
| <item> |
This file contains hidden or 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
| Using terraform v0.6.12 | |
| Steps to reproduce: | |
| 1) create a module in your local filesystem, use that module from within the root module | |
| eg: module "foo" { source = "./foomod" } | |
| 2) run terraform get -update | |
| 3) confirm the cached module is a symlink: ls -l .terraform/modules/ should have a file that links to ./foomod | |
| 4) change the root module's invocation to point at a github repo instead (doesn't matter which one but it must exist) | |
| eg module "foo" { source = "github.com/terraform-community-modules/tf_aws_sg" } | |
| 5) run terraform get -update |
This file contains hidden or 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
| package main | |
| import ( | |
| "fmt" | |
| flag "github.com/jessevdk/go-flags" | |
| ) | |
| type Opts struct { | |
| TestFlag string `short:"t" description:"just here to aid in testing ini files and defaults" default:"default"` |
This file contains hidden or 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
| package main | |
| import ( | |
| "fmt" | |
| flag "github.com/jessevdk/go-flags" | |
| ) | |
| type Opts struct { | |
| TestFlag string `short:"t" description:"just here to aid in testing ini files and defaults" default:"default"` |
This file contains hidden or 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
| package main | |
| import ( | |
| "fmt" | |
| "log" | |
| "strconv" | |
| "strings" | |
| "time" | |
| "github.com/aws/aws-sdk-go/aws" |
This file contains hidden or 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
| # write the binary to the datestamped location so the not_if works | |
| # to prevent re-downloading the bin every chef run | |
| remote_file "/srv/infra/bin/#{node['honeytail']['version']}" do | |
| source "#{node['honeytail']['URL']}" | |
| owner 'ubuntu' | |
| group 'ubuntu' | |
| mode '0755' | |
| action :create | |
| not_if do | |
| File.exist?("/srv/infra/bin/#{node['honeytail']['version']}") |
This file contains hidden or 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
| input { stdin { } } | |
| filter { | |
| grok { | |
| match => ["message", "%{HAPROXYHTTP}"] | |
| remove_field => ["message"] | |
| } | |
| mutate { | |
| convert => { "actconn" => "integer" | |
| "backend_queue" => "integer" | |
| "beconn" => "integer" |