Skip to content

Instantly share code, notes, and snippets.

docker exec anchore_cli anchore query --image 61f17c009cfe show-file-diffs cd813b301d02
+--------------+--------------+------------------+--------------+---------------------------+------------------------+
| Image Id | Repo Tag | Compare Image Id | File | Input Image File Checksum | Compare Image Checksum |
+--------------+--------------+------------------+--------------+---------------------------+------------------------+
| 61f17c009cfe | blitznote/ba | cd813b301d02 | /usr/bin/fal | 6a5432a4750c | 1d888a9953bb |
| | seimage:late | | locate | dfe86693d2b4 | 6d49f734de2c |
| | st | | | 2f9cbbfc3eec | ac12c65a95ac |
| | | | | 13d36d4b8e27 | a72ea101a93c |
| | | | | c17705e4c39b | 555fad20f
admin:
port: 9990
routers:
- protocol: http
servers:
- port: 4140
ip: 0.0.0.0
interpreter:
kind: io.l5d.namerd
@moderation
moderation / tns-app.json
Created January 25, 2016 19:17
tns_marathon_weave
{
"id": "/tns/app",
"container": {
"type": "DOCKER",
"docker": {
"image": "peterbourgon/tns-app",
"network": "BRIDGE",
"parameters": [
{
"key": "hostname",
@moderation
moderation / mesos_arm.md
Last active March 21, 2016 11:25
Compile Apache Mesos 0.22 for Raspberry Pi 2

How to compile Mesos on your new Raspberry Pi 2 (which is amazing with 4 cores and 6x performance). Follows on from experiments in compiling for OS X

sudo apt-get install maven libsasl2-dev libapr1-dev libsvn-dev libcurl4-openssl-dev python-dev python-boto

export JAVA_HOME="/usr/lib/jvm/jdk-8-oracle-arm-vfp-hflt"
export PATH=$JAVA_HOME/bin:$PATH

http://likemagicappears.com/projects/raspberry-pi-cluster/mesos-on-raspbian/

@moderation
moderation / mesos_osx.md
Last active February 16, 2016 06:08
Compile Apache Mesos 0.21.0 on OS X

Apache 0.20.1 introduced some new build dependencies - mesos / docs / getting-started.md

# Install devel libapr1 (***Only required for Mesos 0.21.0 or newer***)
$ sudo apt-get install libapr1-dev

# Install devel libsvn (***Only required for Mesos 0.21.0 or newer***)
$ sudo apt-get install libsvn-dev
@moderation
moderation / gist:2827712f24cfce515697
Created November 16, 2014 00:37
onename.io verification
Verifying that +moderation is my openname (Bitcoin username). https://onename.io/moderation

Keybase proof

I hereby claim:

  • I am moderation on github.
  • I am moderation (https://keybase.io/moderation) on keybase.
  • I have a public key whose fingerprint is 4589 D175 C3A1 B5E2 90E0 7E31 6148 731F F2BF D610

To claim this, I am signing this object:

@moderation
moderation / ladylambbeekeeper_bird_ballons
Created May 25, 2013 05:16
Lady Lamb the Beekeeper - Bird Balloons
I'm a ghost and you all know it
I'm singing songs and I ain't slowing
It was a fragile thing and I goddamn dropped it
I picked the pieces up and put them in my pocket
And I ain't gonna try and win your heart this time
I've had space to think and I think that I've grown a little wiser
I'm looking for a new muse, you have only made me tired.
Call your bluff up on the telephone and jam-jar my blood
This is my loss of limb, my loss of love
@moderation
moderation / 9 principles.md
Last active December 16, 2015 00:39
9 principles

Ito: There are nine or so principles to work in a world like this:

  1. Resilience instead of strength, which means you want to yield and allow failure and you bounce back instead of trying to resist failure.
  2. You pull instead of push. That means you pull the resources from the network as you need them, as opposed to centrally stocking them and controlling them.
  3. You want to take risk instead of focusing on safety.
  4. You want to focus on the system instead of objects.
  5. You want to have good compasses not maps.
  6. You want to work on practice instead of theory. Because sometimes you don’t why it works, but what is important is that it is working, not that you have some theory around it.
  7. It disobedience instead of compliance. You don’t get a Nobel Prize for doing what you are told. Too much of school is about obedience, we sh
@moderation
moderation / raspberrypi_tips
Last active October 3, 2016 22:43
Raspberry Pi tips including setting up Go and Node.js
http://www.raspberrypi.org/phpBB3/viewtopic.php?f=34&t=10781
Adjust your environment to include:
GOARM=5
GOOS=linux
GOARCH=arm
GOPATH=<root for packages>
$ sudo apt-get install mercurial # get mercurial
$ sudo apt-get install git # for go get ...