Skip to content

Instantly share code, notes, and snippets.

Robson Roberto Souza Peixoto robsonpeixoto

Block or report user

Report or block robsonpeixoto

Hide content and notifications from this user.

Learn more about blocking users

Contact Support about this user’s behavior.

Learn more about reporting abuse

Report abuse
View GitHub Profile
View GET _template filebeat-prd-6.5.3
{
"filebeat-prd-6.5.3": {
"order": 1,
"index_patterns": [
"filebeat-prd-6.5.3-*"
],
"settings": {
"index": {
"number_of_routing_shards": "30",
"mapping": {
@robsonpeixoto
robsonpeixoto / log.txt
Created Jul 19, 2018
molecule-error-log
View log.txt
> molecule --debug test
--> Validating schema /Users/robinho/tmp/bugs/vm-bug/molecule/default/molecule.yml.
Validation completed successfully.
--> Test matrix
└── default
├── lint
├── destroy
├── dependency
├── syntax
View acs-engine-calico.json
{
"apiVersion": "vlabs",
"properties": {
"orchestratorProfile": {
"orchestratorType": "Kubernetes",
"orchestratorVersion": "1.10.4",
"kubernetesConfig": {
"dockerBridgeSubnet": "172.17.0.1/16",
"enableRbac": true,
"networkPlugin": "kubenet",
View stacktrace
WARNING: call to /$stapler/bound/c1e08a93-aecc-4540-9966-949cf70f6a9c/triggerManualBuild failed
java.lang.IllegalStateException: No upstream trigger found for this project: diarios-crawler ? crawler-deploy
at au.com.centrumsystems.hudson.plugin.buildpipeline.extension.BuildCardExtension.triggerBuild(BuildCardExtension.java:262)
at au.com.centrumsystems.hudson.plugin.buildpipeline.extension.BuildCardExtension.triggerManualBuild(BuildCardExtension.java:223)
at au.com.centrumsystems.hudson.plugin.buildpipeline.BuildPipelineView.triggerManualBuild(BuildPipelineView.java:457)
at java.lang.invoke.MethodHandle.invokeWithArguments(MethodHandle.java:627)
at org.kohsuke.stapler.Function$MethodFunction.invoke(Function.java:343)
at org.kohsuke.stapler.Function.bindAndInvoke(Function.java:184)
at org.kohsuke.stapler.Function.bindAndInvokeAndServeResponse(Function.java:117)
at org.kohsuke.stapler.MetaClass$JavaScriptProxyMethodDispatcher.doDispatch(MetaClass.java:473)
View result
This file has been truncated, but you can view the full file.
Result: updateCenter.post(
View merge.go
package main
import (
"fmt"
"io/ioutil"
"net/http"
"strings"
)
func handler(w http.ResponseWriter, r *http.Request) {
View marathonlb-kill-old-process.py
#!/usr/bin/env python2
# pip install pid, psutil, raven
import argparse
import datetime
import logging
import logging.handlers
import sys
import time
@robsonpeixoto
robsonpeixoto / find-port-conflict.py
Created Mar 31, 2017
marathon servicePort conflict
View find-port-conflict.py
#!/usr/bin/env python
from itertools import combinations_with_replacement
from pprint import pprint as pp
import httplib
import json
import sys
host = 'mesos-1'
port = 8080
@robsonpeixoto
robsonpeixoto / dmesg.out
Created Mar 25, 2017
Out of memory: Kill process 24355 (prometheus) score 945 or sacrifice child
View dmesg.out
[Sat Mar 25 17:42:30 2017] prometheus invoked oom-killer: gfp_mask=0x201da, order=0, oom_score_adj=0
[Sat Mar 25 17:42:30 2017] prometheus cpuset=/ mems_allowed=0
[Sat Mar 25 17:42:30 2017] CPU: 10 PID: 24353 Comm: prometheus Not tainted 3.13.0-110-generic #157-Ubuntu
[Sat Mar 25 17:42:30 2017] Hardware name: QEMU Standard PC (i440FX + PIIX, 1996), BIOS rel-1.7.5.1-0-g8936dbb-20141113_115728-nilsson.home.kraxel.org 04/01/2014
[Sat Mar 25 17:42:30 2017] 0000000000000000 ffff8807832a1958 ffffffff8172d269 ffff88001a593000
[Sat Mar 25 17:42:30 2017] 0000000000000000 ffff8807832a19e0 ffffffff81727808 ffffffff8106a926
[Sat Mar 25 17:42:30 2017] ffff8807832a19b8 ffffffff810cb27c 0000000001320122 ffff8807832a19b8
[Sat Mar 25 17:42:30 2017] Call Trace:
[Sat Mar 25 17:42:30 2017] [<ffffffff8172d269>] dump_stack+0x64/0x82
[Sat Mar 25 17:42:30 2017] [<ffffffff81727808>] dump_header+0x7f/0x1f1
@robsonpeixoto
robsonpeixoto / dmesg.out
Created Mar 25, 2017
Out of memory: Kill process 24355 (prometheus) score 945 or sacrifice child
View dmesg.out
[Sat Mar 25 17:42:30 2017] prometheus invoked oom-killer: gfp_mask=0x201da, order=0, oom_score_adj=0
[Sat Mar 25 17:42:30 2017] prometheus cpuset=/ mems_allowed=0
[Sat Mar 25 17:42:30 2017] CPU: 10 PID: 24353 Comm: prometheus Not tainted 3.13.0-110-generic #157-Ubuntu
[Sat Mar 25 17:42:30 2017] Hardware name: QEMU Standard PC (i440FX + PIIX, 1996), BIOS rel-1.7.5.1-0-g8936dbb-20141113_115728-nilsson.home.kraxel.org 04/01/2014
[Sat Mar 25 17:42:30 2017] 0000000000000000 ffff8807832a1958 ffffffff8172d269 ffff88001a593000
[Sat Mar 25 17:42:30 2017] 0000000000000000 ffff8807832a19e0 ffffffff81727808 ffffffff8106a926
[Sat Mar 25 17:42:30 2017] ffff8807832a19b8 ffffffff810cb27c 0000000001320122 ffff8807832a19b8
[Sat Mar 25 17:42:30 2017] Call Trace:
[Sat Mar 25 17:42:30 2017] [<ffffffff8172d269>] dump_stack+0x64/0x82
[Sat Mar 25 17:42:30 2017] [<ffffffff81727808>] dump_header+0x7f/0x1f1
You can’t perform that action at this time.