Skip to content

Instantly share code, notes, and snippets.

View roobre's full-sized avatar

Ro Santalla roobre

View GitHub Profile
include <src/BOSL/constants.scad>
use <src/BOSL/shapes.scad>
use <src/BOSL/transforms.scad>
$fa = 4;
$fs = 0.4;
minx=1;
miniy=1;
@roobre
roobre / Releaser.md
Created November 20, 2021 12:10
Releaser PoC

Releaser

This doc explains the requirements and initial approach for a release automation tool "releaser" (name is not final). The main goal of this tool is to make the release process easier for the developers, releaving them from having to manually trace the commit or PR history back and having to manually compile a changelog.

Design goals and use cases

Core tool

We understand by "Core tool" a component that is capable of generating a baseline changelog given two git references, either just from the Git history or by using a software forge API to get additional information.

@roobre
roobre / gateway.yml
Created September 16, 2021 19:10
OTEL collector deployment discovering prometheus endpoints à-la nri-prometheus
---
apiVersion: v1
kind: ConfigMap
metadata:
name: gateway-conf
namespace: otel
data:
otel-gateway-config.yaml: |
receivers:
otlp:
@roobre
roobre / mitmproxy.yaml
Created April 27, 2021 18:51
MITMProxy kubernetes manifest
---
apiVersion: v1
kind: Service
metadata:
name: mitmproxy
spec:
type: ClusterIP
ports:
- name: http
port: 8080
@roobre
roobre / nri-zfs-flex.yml
Last active February 21, 2021 18:51
nri-zfs-flex
# An nri-flex spec to collect zfs data
integrations:
- name: nri-flex
config:
name: zfs
apis:
- name: Zpool
commands:
- run: 'zpool list -H -p -o name,health,size,expandsize,allocated,free,fragmentation,capacity,dedup,comment,version'
split: horizontal

Changelog

v9.9.9 (2021-01-22)

Merged pull requests:

  • CI: migrate pipeline into GH Actions #45

v1.4.1 (2020-11-26)

title categories date tags
Pasta carbonara de chorizo
Comidas
2002-07-22
pasta
chorizo
@roobre
roobre / plubio.py
Last active July 21, 2020 13:04
Cute clock module hand curated by Plubio
#!/usr/bin/env python3
import re
from twitter_scraper import get_tweets
for tweet in get_tweets('cosmicgazer_', pages=3):
if re.search('\d{1,2}:\d{1,2}', tweet['text']):
print(tweet['text'][:16])
break
@roobre
roobre / qemu.sh
Created July 3, 2020 20:44
Libvirt qemu hook
#!/bin/bash
PINNED=2-7,10-15
UNPINNED=0-1,8-9
if [[ $2 == "start" ]]; then
echo "Allocating hugepages..."
#hp 16 || ( echo "Could not allocate hugepages" >&2 && exit 1 )
echo "Stopping sanoid"
@roobre
roobre / lookup.go
Last active June 1, 2020 20:18
Script marronero para buscar passwords en diccionarios
package main
import (
"bufio"
"compress/gzip"
"os"
"fmt"
"strings"
"sync"
)