Skip to content

Instantly share code, notes, and snippets.

History

For a long time I've been really impacted by the ease of use Cassandra and CockroachDB bring to operating a data store at scale. While these systems have very different tradeoffs what they have in common is how easy it is to deploy and operate a cluster. I have experience with them with cluster sizes in the dozens, hundreds, or even thousands of nodes and in comparison to some other clustered technologies they get you far pretty fast. They have sane defaults that provide scale and high availability to people that wouldn't always understand how to achieve it with more complex systems. People can get pretty far before they have to become experts. When you start needing more extreme usage you will need to become an expert of the system just like any other piece of infrastructure. But what I really love about these systems is it makes geo-aware data placement, GDPR concerns potentially simplified and data replication and movement a breeze most of the time.

Several years ago the great [Andy Gross](ht

FROM alpine:3.11 AS build
ARG CHANNEL=unstable
ARG VERSION=0.99.1-127
ARG ARCH=amd64
RUN mkdir /build
WORKDIR /build
RUN apk add --no-cache curl tar
@milesbxf
milesbxf / monzo-alertmanager-config.yaml
Last active April 22, 2024 11:24
Monzo's Alertmanager Slack templates
###################################################
##
## Alertmanager YAML configuration for routing.
##
## Will route alerts with a code_owner label to the slack-code-owners receiver
## configured above, but will continue processing them to send to both a
## central Slack channel (slack-monitoring) and PagerDuty receivers
## (pd-warning and pd-critical)
##
@probonopd
probonopd / linux_fusion360.md
Last active November 9, 2023 15:22
Autodesk Fusion 360 on Linux

Autodesk Fusion 360 on Linux

In the Web Browser

Ubuntu, Fedora, openSUSE, CentOS, SUSE Linux Enterprise, Debian,... users can finally use Autodesk Fusion 360 in the Linux Browser now.

https://myhub.autodesk360.com

On Chromium 55.0.2843.0 I get NET::ERR_CERTIFICATE_TRANSPARENCY_REQUIRED.

@jcarolinares
jcarolinares / useful_commands_to_use_in_shell.md
Last active February 3, 2023 02:23
This is a simple guide for non-pro bash users to do random but annoying tasks in just seconds

Useful commands to use in Shell or others:

This is a simple guide for non-pro bash users to do random but annoying tasks in just seconds

Your boss will be happy and you'll be less stressed ;)

Files

Search a file name using a string:

@philips
philips / users.md
Last active April 5, 2023 14:17
Kubernetes Third-Party Resource Users
@ipedrazas
ipedrazas / gist:83326e03c9d893a3ab1bdbd048d2e6be
Last active March 7, 2022 21:05
Curl Kubernetes API Server from a Pod
curl -k -X GET \
-H "Authorization: Bearer $(cat /var/run/secrets/kubernetes.io/serviceaccount/token)" \
https://$KUBERNETES_PORT_443_TCP_ADDR:$KUBERNETES_SERVICE_PORT_HTTPS
@ipedrazas
ipedrazas / gist:97bca02b360e7acf29f471811010e66d
Created September 2, 2016 13:51
curl apiserver with certificates osx
openssl pkcs12 -export -out certificate.pfx -inkey apiserver-key.pem -in apiserver.pem -certfile ca.pem
(set `test` as password)
curl -v -k -E ./certificate.pfx:test https://172.17.4.101:443
@ipedrazas
ipedrazas / gist:4ec14d9ecddce6e65769164f53af16f8
Created July 27, 2016 10:23
Update kubernetes node using the api server - PATCH
curl -k \
--header "Content-Type:application/merge-patch+json" \
--header "Accept: application/json" \
--header "Authorization: Bearer $TOKEN" \
--request PATCH \
--data '{ "metadata": {"labels": {"base": "coreOS"}}}' \
$API_SERVER/api/v1/nodes/172.17.4.202