Skip to content

Instantly share code, notes, and snippets.

View nqn's full-sized avatar

Niklas Nielsen nqn

  • San Francisco, CA
View GitHub Profile
$ gurl --help
Hey, gurl! 💁‍♀️ So you wanna learn how to fetch things from the internet with some sass? You came to the right place.
Usage:
gurl [URL] [OPTIONS]
Basic Options:
-H, --header <header> Add a header, like: "Authorization: Bearer <token>" (Ugh, headers are so demanding, right?)
-X, --request <method> Specify the request method, like GET, POST, etc. (Just tell me what you want, and you'll get it!)

Keybase proof

I hereby claim:

  • I am nqn on github.
  • I am nqnielsen (https://keybase.io/nqnielsen) on keybase.
  • I have a public key whose fingerprint is F2DF AB65 1D28 AD96 9C8D BFAA DD03 EBEE 2EE7 0972

To claim this, I am signing this object:

2018-10-04 16:13:10.441|16208127965403514542|I|Validating camera device
2018-10-04 16:13:10.441|16208127965403514542|I|Initializing tracker device
2018-10-04 16:13:10.441|16208127965403514542|E|Could not initialize The Eye Tribe Tracker
2018-10-04 16:13:10.441|16208127965403514542|E|The tracker device has been connected but is not working
foobar

Meeting notes

Topology and NUMA awareness

Skipping for now. Device plugin is more pressing.

Agenda

Vish is out this week. So the roadmap pushed out to next week.

Keybase proof

I hereby claim:

  • I am nqn on github.
  • I am nqnielsen (https://keybase.io/nqnielsen) on keybase.
  • I have a public key whose fingerprint is 1BF9 7B2F 9B8B 3B37 AC3F 9755 07B0 F059 7455 2C4B

To claim this, I am signing this object:

Running sudo -E unshare --pid --fork --mount-proc /usr/local/go/bin/go test ./integration_tests/...
ok github.com/intelsdi-x/swan/integration_tests/pkg/cassandra 0.879s
ok github.com/intelsdi-x/swan/integration_tests/pkg/executor 0.031s
ok github.com/intelsdi-x/swan/integration_tests/pkg/isolation 0.095s
.x..
Failures:
* /home/vagrant/go/src/github.com/intelsdi-x/swan/integration_tests/pkg/snap/session_test.go
Line 72:
Expected: true
package main
import (
"github.com/pivotal-golang/bytefmt"
"strconv"
"fmt"
)
type CPUInfo struct {
sockets int
cat /tmp/fixedestimator.json
{
  "libraries": {
    "file": "/Users/niklas/scratchpad/mesos/build/src/.libs/libfixed_resource_estimator.dylib",
    "modules": {
      "name": "org_apache_mesos_FixedResourceEstimator",
      "parameters": {
        "key": "resources",
 "value": "cpus:5"
# Setup influx, grafana and collector
dcos marathon app add mesos-usb/mesosphere/marathon/monitoring/1-influxdb.json
dcos marathon app add mesos-usb/mesosphere/marathon/monitoring/2-nibbler.json
dcos marathon app add mesos-usb/mesosphere/marathon/monitoring/3-grafana.json
# Run workload on 0.2 cpu cores
mesos-execute --master=127.0.1.1:5050 --name=load_1 --command="dd if=/dev/zero of=/dev/null" --resources="cpus:0.2"
# Influx db db/username/password
mesos/root/root