Skip to content

Instantly share code, notes, and snippets.

View samv's full-sized avatar

Sam Vilain samv

View GitHub Profile
@samv
samv / reply.txt
Created April 24, 2018 20:49
Reply to a spanish Google Voicer
He sido suscriptor de Google Voice durante 5 años y esto sucede ocasionalmente.
Ambos teléfonos suenan y ninguna persona hizo la llamada.
Creo que es un servicio de match making de Google.
O eso o los ordenadores de Google se han vuelto autoconscientes y nos están jodiendo.
@samv
samv / crds.md
Last active September 13, 2019 19:51
CRDs Ideas

data resource-focused CRDs and Operators

A lot of operators focus on the service being deployed, such as the service or technology, and its scale. Why not focus on the state resources that they provide?

Schema-first design

Applications have schemas for the data that they are consuming and producing. Building schema first declares these data dependencies explicitly. The Schema

@samv
samv / cpu
Last active August 28, 2024 11:15
CPU info script
#!/usr/bin/env python3
#
# 'cpu' is a Linux–only (for now) utility to extract and query useful info out of /proc/cpuinfo
# This is mainly useful when scaling operations to make most use of a system, but also it can show
# some useful summary information.
#
# Running 'cpu' on its own shows most fields, except aliases and certain generated fields.
#
# $ cpu
# I: system summary: