Skip to content

Instantly share code, notes, and snippets.

View freeformz's full-sized avatar

Edward Muller freeformz

View GitHub Profile
import json
import platform
import subprocess
__metaclass__ = type
DOCUMENTATION = """
name: tailscale
plugin_type: inventory
short_description: Tailscale Inventory Source
@freeformz
freeformz / 2019_top_100_tasting_wine_and_spirits.md
Last active September 20, 2019 17:15
2019 Wine & Spirit Top 100 Tasting OR
00135 (main.go:29) TEXT "".oopsy(SB)
00136 (main.go:29) FUNCDATA $0, "".gcargs·6(SB)
00137 (main.go:29) FUNCDATA $1, "".gclocals·7(SB)
00138 (main.go:29) TYPE s(FP), type.[]int(SB)
00139 (main.go:29) TYPE .autotmp_18-8(SP), type.int(SB)
00140 (main.go:29) TYPE i-16(SP), type.int(SB)
00141 (main.go:30) MOVQ $0, AX // AX = 0
00142 (main.go:34) MOVQ "".s+8(FP), CX // CX = 6 (len of the slice)
00143 (main.go:30) MOVQ AX, "".i-16(SP) // i = 0
00144 (main.go:34) MOVQ CX, ""..autotmp_18-8(SP) // autotmp_18 = 6
00096 (main.go:21) TEXT "".nooops(SB)
00097 (main.go:21) FUNCDATA $0, "".gcargs·4(SB)
00098 (main.go:21) FUNCDATA $1, "".gclocals·5(SB)
00099 (main.go:21) TYPE s(FP), type.[]int(SB)
00100 (main.go:21) TYPE .autotmp_14-8(SP), type.*int(SB)
00101 (main.go:21) TYPE .autotmp_13-16(SP), type.int(SB)
00102 (main.go:21) TYPE v-24(SP), type.int(SB)
00103 (main.go:22) MOVQ $0, AX // AX = 0
00104 (main.go:22) MOVQ "".s(FP), CX // CX = pointer to first value in array
00105 (main.go:22) MOVQ AX, ""..autotmp_13-16(SP) // autotmp_13 = 0
# func(string, string) (bool, error) does not implement testing.testDeps (missing MatchString method)
$ dep status
PROJECT                 MISSING PACKAGES
github.com/boltdb/bolt  [github.com/boltdb/bolt]
$ dep status
PROJECT                     CONSTRAINT  VERSION        REVISION  LATEST   PKGS USED
github.com/boltdb/bolt      *           v1.3.0         583e893   v1.3.0   1
github.com/gorilla/context  *           v1.1           a85d2e5   v1.1     1
github.com/gorilla/mux      ^1.3.0      v1.3.0         392c28f   v1.3.0   1
golang.org/x/sys            *           branch master  7a6e564   7a6e564  1
@freeformz
freeformz / lock.json
Last active February 6, 2017 22:09
depExample2
{
"memo": "d741a3bed21fe6cae9d67c523b0a343859882b2f246f2a293e2676cfacd5a2ce",
"projects": [
{
"name": "github.com/gorilla/context",
"version": "v1.1",
"revision": "a85d2e53ba63bdea074dbbbb5983f0516974e87b",
"packages": [
"."
]
@freeformz
freeformz / main.go
Created February 3, 2017 20:36
depExample1
package main
import (
"net/http"
"os"
"github.com/gorilla/mux"
)
func main() {
package level // github.com/go-kit/kit/log/level
type LogLevels int
const (
Debug LogLevels = iota
Info
Warn
Err