Skip to content

Instantly share code, notes, and snippets.

View xinity's full-sized avatar

Rachid Zarouali xinity

View GitHub Profile
---
kind: ClusterRole
apiVersion: rbac.authorization.k8s.io/v1beta1
metadata:
name: traefik-ingress-controller
rules:
- apiGroups:
- ""
resources:
- services
@xinity
xinity / keybase-pgp-add-email.md
Last active December 5, 2022 17:57 — forked from douglasmiranda/instructions.md
Add email to Keybase.io PGP Key (Public Key)

Export your public key:

keybase pgp export > keybase-public.key

Export your private key:

keybase pgp export --secret > keybase-private.key
@xinity
xinity / my solarized
Created July 17, 2019 09:03 — forked from judu/Germinal themes
Gnome terminal / Germinal / Sakura color scheme based on solarized.Dark and light colors are the same, but black/darkgrey and lightgrey/white.
['#002B36', '#DC322F', '#859900', '#B58900', '#268BD2', '#D33682', '#2AA198', '#EEE8D5', '#586E75', '#DC322F', '#859900', '#B58900', '#268BD2', '#D33682', '#2AA198', '#FDF6E3']
Another version where violet is dark magenta and orange is dark red:
['#002B36','#CB4B16','#859900','#B58900','#6C71C4','#D33682','#2AA198','#EEE8D5','#586E75','#DC322F','#859900','#B58900','#268BD2','#D33682','#2AA198','#FDF6E3']
"Official" version:
['#073642', '#DC322F', '#859900', '#B58900', '#268BD2', '#D33682', '#2AA198', '#EEE8D5', '#002B36', '#CB4B16', '#586E75', '#657B83', '#839496', '#6C71C4', '#93A1A1', '#FDF6E3']
@xinity
xinity / expand-image-fssize-rpi.sh
Created October 29, 2019 19:31 — forked from tsutsui/expand-image-fssize-rpi.sh
A dumb sh script that will expand NetBSD partition and BSD FFS partition in the RPI image prepared by Jun Ebihara: http://mail-index.netbsd.org/port-arm/2013/06/19/msg001882.html
#! /bin/sh
#
# Copyright (c) 2013 Izumi Tsutsui. All rights reserved.
#
# Redistribution and use in source and binary forms, with or without
# modification, are permitted provided that the following conditions
# are met:
# 1. Redistributions of source code must retain the above copyright
# notice, this list of conditions and the following disclaimer.
# 2. Redistributions in binary form must reproduce the above copyright
Mar 24 14:13:46 kuberpi4-n1-cilium2 k0s[56370]: time="2023-03-24 14:13:46" level=info msg="{\"level\":\"warn\",\"ts\":\"2023-03-24T14:13:46.265+0100\",\"caller\":\"v3rpc/interceptor.go:197\",\"msg\":\"request stats\",\"start time\":\"2023-03-24T14:13:45.934+0100\",\"time spent\":\"331.364987ms\",\"remote\":\"127.0.0.1:36346\",\"response type\":\"/etcdserverpb.KV/Txn\",\"request count\":1,\"request size\":508,\"response count\":0,\"response size\":40,\"request content\":\"compare:<target:MOD key:\\\"/registry/leases/kube-node-lease/k0s-ctrl-kuberpi4-n1-cilium2\\\" mod_revision:503850 > success:<request_put:<key:\\\"/registry/leases/kube-node-lease/k0s-ctrl-kuberpi4-n1-cilium2\\\" value_size:439 >> failure:<request_range:<key:\\\"/registry/leases/kube-node-lease/k0s-ctrl-kuberpi4-n1-cilium2\\\" > >\"}" component=etcd stream=stderr
Mar 24 14:13:46 kuberpi4-n1-cilium2 k0s[56370]: time="2023-03-24 14:13:46" level=info msg="{\"level\":\"info\",\"ts\":\"2023-03-24T14:13:46.267+0100\",\"caller\":\"traceutil/trace.go: