I hereby claim:
- I am jippi on github.
- I am jippi (https://keybase.io/jippi) on keybase.
- I have a public key whose fingerprint is 284C 6C35 7D22 8E55 DA0B 75C1 BC49 9D32 9BA4 3E74
To claim this, I am signing this object:
-- TYPE MISMATCH -------------------------------------------------- src/Main.elm | |
The 7th and 8th entries in this list are different types of values. | |
45| [ Url.map ListAllocationsRoute Url.top | |
46| , Url.map ListAllocationsRoute (Url.s "allocations") | |
47| , Url.map ViewAllocationRoute (Url.s "allocations" </> Url.string) | |
48| , Url.map ViewAllocationRoute (Url.s "allocations" </> Url.string </> Url.s "info") | |
49| , Url.map ViewAllocationRoute (Url.s "allocations" </> Url.string </> Url.s "files") | |
50| , Url.map ViewAllocationRoute (Url.s "allocations" </> Url.string </> Url.s "logs") |
[ | |
{ | |
"Addr": "xxx.xxx.35.151", | |
"DelegateCur": 4, | |
"DelegateMax": 4, | |
"DelegateMin": 2, | |
"Name": "consul01.global", | |
"Port": 4648, | |
"ProtocolCur": 2, | |
"ProtocolMax": 4, |
# | |
# Generated by consul-template | |
# | |
# Project Name: {{PROJECT_NAME}} | |
# Project environment: {{APP_ENV}} | |
# | |
{{- with node -}} | |
{{- $nodeName := .Node.Node -}} | |
{{ range $key, $pairs := tree "apps/{{PROJECT_NAME}}/supervisor" | byKey -}} |
<?php | |
use strict; | |
// PHP Fatal error: You seem to be trying to use a different language... in /Users/cw/js.php on line 2 |
"use strict"; | |
const log = require('bunyan').createLogger({name: 'ip-failover'}); | |
const axios = require('axios'); | |
const consul = require('consul')(); | |
const os = require("os") | |
const ip = require('ip'); | |
const argv = require('minimist')(process.argv.slice(2)); | |
const getConfigVariable = (envName, argvName, defaultValue) => { | |
if (envName in process.env) { |
<?php | |
var_dump(posix_getpid()); | |
$r = attach_signal(2, function($signo) { var_dump('hi'); }); | |
posix_kill(posix_getpid(), 2); | |
sleep(30); | |
// PHP Fatal error: Uncaught Error: Cannot call overloaded function for non-object in /home/cw/demo.php:5 |
I hereby claim:
To claim this, I am signing this object:
SHELL := /bin/bash | |
.PHONY: phar clean help | |
.DEFAULT_GOAL := help | |
phar: ## Build a phar file | |
mkdir -p dist/ | |
rm -f dist/bownty-infra.phar | |
php build.php | |
chmod 0775 dist/bownty-infra.phar |
CREATE KEYSPACE metric WITH replication = {'class': 'SimpleStrategy', 'replication_factor': '3'} AND durable_writes = true; | |
CREATE TABLE metric.metric ( | |
tenant text, | |
period int, | |
rollup int, | |
path text, | |
time bigint, | |
data list<double>, | |
PRIMARY KEY ((tenant, period, rollup, path), time) |
#!/bin/bash | |
set -x | |
set -e | |
machines=$(echo {2..4}) | |
SHARED_OPS="--driver virtualbox --virtualbox-cpu-count 4 --virtualbox-memory 1024" | |
STATIC_IP_RANGE="192.168.99" # leave the last dot + octet blank, will be auto-assigned |