Skip to content

Instantly share code, notes, and snippets.

Avatar
🎀

Roberto Santalla roobre

🎀
View GitHub Profile
View Hamabox.scad
include <src/BOSL/constants.scad>
use <src/BOSL/shapes.scad>
use <src/BOSL/transforms.scad>
$fa = 4;
$fs = 0.4;
minx=1;
miniy=1;
View Releaser.md

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 Sep 16, 2021
OTEL collector deployment discovering prometheus endpoints à-la nri-prometheus
View gateway.yml
---
apiVersion: v1
kind: ConfigMap
metadata:
name: gateway-conf
namespace: otel
data:
otel-gateway-config.yaml: |
receivers:
otlp:
@roobre
roobre / mitmproxy.yaml
Created Apr 27, 2021
MITMProxy kubernetes manifest
View mitmproxy.yaml
---
apiVersion: v1
kind: Service
metadata:
name: mitmproxy
spec:
type: ClusterIP
ports:
- name: http
port: 8080
View nri-zfs-flex.yml
# 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
View CHANGELOG.md

Changelog

v9.9.9 (2021-01-22)

Merged pull requests:

  • CI: migrate pipeline into GH Actions #45

v1.4.1 (2020-11-26)

View gist:fc003cf6a33ddf6f016c7e6a15c01ac3
title categories date tags
Pasta carbonara de chorizo
Comidas
2002-07-22
pasta
chorizo
@roobre
roobre / plubio.py
Last active Jul 21, 2020
Cute clock module hand curated by Plubio
View plubio.py
#!/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 Jul 3, 2020
Libvirt qemu hook
View qemu.sh
#!/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 Jun 1, 2020
Script marronero para buscar passwords en diccionarios
View lookup.go
package main
import (
"bufio"
"compress/gzip"
"os"
"fmt"
"strings"
"sync"
)