Skip to content

Instantly share code, notes, and snippets.

This is a test of the emergency broadcast system
@theshadow
theshadow / makefile
Created January 12, 2019 05:46 — forked from serinth/makefile
Golang Makefile
# Basic Makefile for Golang project
# Includes GRPC Gateway, Protocol Buffers
SERVICE ?= $(shell basename `go list`)
VERSION ?= $(shell git describe --tags --always --dirty --match=v* 2> /dev/null || cat $(PWD)/.version 2> /dev/null || echo v0)
PACKAGE ?= $(shell go list)
PACKAGES ?= $(shell go list ./...)
FILES ?= $(shell find . -type f -name '*.go' -not -path "./vendor/*")
# Binaries
PROTOC ?= protoc
### Keybase proof
I hereby claim:
* I am theshadow on github.
* I am xanderguzman (https://keybase.io/xanderguzman) on keybase.
* I have a public key ASAY0L8c7Y31gHBQfpQUJAd4vYDkI3SB7-4N6Usv5GFa6wo
To claim this, I am signing this object:

Keybase proof

I hereby claim:

  • I am theshadow on github.
  • I am xanderguzman (https://keybase.io/xanderguzman) on keybase.
  • I have a public key ASCK4UwtghZ7IwBvm5UqPTllTDCA6geOyrfya8k9bPpbzAo

To claim this, I am signing this object:

var (
// retrive the reflect.Type of an instance of the Marshaler interface.
marshalerType = reflect.TypeOf(new(Marshaler)).Elem()
textMarshalerType = reflect.TypeOf(new(encoding.TextMarshaler)).Elem()
)
/*
Severity Code Description Project File Line
Error CS1061 'ISetup<IFormatter>' does not contain a definition for 'Returns' and no extension method
'Returns' accepting a first argument of type 'ISetup<IFormatter>' could be found (are you missing a using
directive or an assembly reference?)
*/
var mockFormatter = new Mock<IFormatter>();
mockFormatter.Setup(
formatter => formatter.Serialize(

Keybase proof

I hereby claim:

  • I am theshadow on github.
  • I am xanderguzman (https://keybase.io/xanderguzman) on keybase.
  • I have a public key whose fingerprint is 5259 B549 6FA3 D18E 1403 80AC A2C1 F2A2 E310 4F85

To claim this, I am signing this object:

<?php
from Org/Namespace use {
ClassA,
ClassB,
ClassC,
function_foobar
};
$a = new ClassA();
[06:55 PM]-[vagrant@packer-virtualbox-iso]-[~]
$ apt-cache policy
Package files:
100 /var/lib/dpkg/status
release a=now
500 http://repo.puphpet.com/dotdeb/ wheezy/all amd64 Packages
release o=packages.dotdeb.org,a=stable,n=wheezy,l=packages.dotdeb.org,c=all
origin repo.puphpet.com
500 http://repo.puphpet.com/dotdeb/ wheezy-php55/all amd64 Packages
release o=packages.dotdeb.org,a=stable,n=wheezy-php55,l=packages.dotdeb.org,c=all
[06:50 PM]-[vagrant@packer-virtualbox-iso]-[~]
$ dpkg -l
Desired=Unknown/Install/Remove/Purge/Hold
| Status=Not/Inst/Conf-files/Unpacked/halF-conf/Half-inst/trig-aWait/Trig-pend
|/ Err?=(none)/Reinst-required (Status,Err: uppercase=bad)
||/ Name Version Architecture Description
+++-=============================================================-===================================-===================================-================================================================================================================================
ii acpi 1.6-1 amd64 displays information on ACPI devices
ii acpi-support-base 0.140-5+deb7u3 all scripts for handling base ACPI events such as the power b