Skip to content

Instantly share code, notes, and snippets.

Keybase proof

I hereby claim:

  • I am zaquestion on github.
  • I am zaquestion (https://keybase.io/zaquestion) on keybase.
  • I have a public key ASC2Vnc2e0PYM8TGXxUfwneEZjE4RkYRZSRupqRnD9ybkQo

To claim this, I am signing this object:

package main
import (
"testing"
)
const (
foo = "bar"
)
server {
listen [::]:80;
listen 80;
server_name whereis.blaise.in;
access_log /var/log/nginx/friends-access.log;
error_log /var/log/nginx/friends-error.log;
location ~* ^.+\.(gif) {
proxy_set_header Host friends.whereis.global;
proxy_pass http://friends;
import requests
import os
def main():
print("Starting program")
response = requests.get("https://current.zaquestion.io/location")
err = response.json().get("error")
# dictionary = { "error": "Do: Key not found" }
#
# dictionary = {}
{
"__inputs": [
{
"name": "DS_HOST",
"label": "Host",
"description": "",
"type": "datasource",
"pluginId": "prometheus",
"pluginName": "Prometheus"
}
{
"__inputs": [
{
"name": "DS_HOST",
"label": "Host",
"description": "",
"type": "datasource",
"pluginId": "prometheus",
"pluginName": "Prometheus"
}
version: "3.0"
services:
grafana:
image: grafana/grafana
restart: always
ports:
- 3000:3000
prometheus:
@zaquestion
zaquestion / qutebrowser deps
Created December 21, 2016 21:03
most of the deps for qute browser (removed python3 itself) mine is 3.5.2
zaq@debmbp:~/downloads
$ apt-cache show python3-pyqt5 python3-pyqt5.qtwebkit python3-sip python3-pypeg2 python3-jinja2 python3-pygments python3-yaml
Package: python3-pyqt5
Source: pyqt5 (5.7+dfsg-2)
Version: 5.7+dfsg-2+b1
Installed-Size: 15324
Maintainer: Debian Python Modules Team <python-modules-team@lists.alioth.debian.org>
Architecture: amd64
Depends: python3 (<< 3.6), python3 (>= 3.5~), python3:any (>= 3.3.2-2~), libc6 (>= 2.14), libgcc1 (>= 1:3.0), libpython3.5 (>= 3.5.0~b1), libqt5core5a (>= 5.7.0), libqt5dbus5 (>= 5.6.0~beta), libqt5designer5 (>= 5.6.0), libqt5gui5 (>= 5.7.0), libqt5help5 (>= 5.6.0), libqt5network5 (>= 5.7.0), libqt5printsupport5 (>=5.4.0), libqt5test5 (>= 5.6.0~beta), libqt5widgets5 (>= 5.7.0), libqt5xml5 (>= 5.1.0), libstdc++6 (>= 5), qtbase-abi-5-7-1, sip-py3api-11.3
Suggests: python3-pyqt5-dbg
$ nvim --version
NVIM 0.1.6
Build type: None
Compilation: /usr/bin/cc -g -O2 -fdebug-prefix-map=/build/neovim-iX7_MI/neovim-0.1.6=. -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -DDISABLE_LOG -Wconversion -U_FORTIFY_SOURCE -D_FORTIFY_SOURCE=1 -Wall -Wextra -pedantic -Wno-unused-parameter -Wstrict-prototypes -std=gnu99 -Wvla -fstack-protector-strong -fdiagnostics-color=auto -DINCLUDE_GENERATED_DECLARATIONS -DHAVE_CONFIG_H -D_GNU_SOURCE -I/build/neovim-iX7_MI/neovim-0.1.6/build/config -I/build/neovim-iX7_MI/neovim-0.1.6/src -I/usr/include -I/usr/include -I/usr/include -I/usr/include -I/usr/include -I/usr/include -I/usr/include -I/build/neovim-iX7_MI/neovim-0.1.6/build/src/nvim/auto -I/build/neovim-iX7_MI/neovim-0.1.6/build/include
Compiled by pkg-vim-maintainers@lists.alioth.debian.org
Optional features included (+) or not (-): +acl +iconv +jemalloc +tui
For differences from Vim, see :help vim-differences
system vimrc file: "$VIM/sysinit.vim"
@zaquestion
zaquestion / dataloop-docker_debugging.md
Last active November 4, 2016 07:54
dataloop-docker debug notes

Relavent changes (in order) CAdvisor:

Needed tools: https://github.com/jthornber/thin-provisioning-tools (but also device-mapper)

Installing thin-provisioning-tools with whats availble in the image doesn't work as you get v5.6

root@20b1630c440e:/opt/dataloop# apt-get update
root@20b1630c440e:/opt/dataloop# apt-get install thin-provisioning-tools