Skip to content

Instantly share code, notes, and snippets.

View frezbo's full-sized avatar
🏠
Working from home

Noel Georgi frezbo

🏠
Working from home
View GitHub Profile
@frezbo
frezbo / dt.txt
Last active January 17, 2022 15:07
dt.txt
/dts-v1/;
/ {
#address-cells = <0x02>;
memreserve = <0x3b300000 0x4c00000>;
model = "Raspberry Pi 4 Model B Rev 1.4";
serial-number = "10000000c26932f8";
#size-cells = <0x01>;
interrupt-parent = <0x01>;
compatible = "raspberrypi,4-model-b\0brcm,bcm2711";
@frezbo
frezbo / openpgp.md
Last active November 28, 2022 11:39
Keyoxide proof
@frezbo
frezbo / ccm-gcp.yaml
Last active November 24, 2021 10:45
gcp ccm
---
apiVersion: v1
kind: ServiceAccount
metadata:
name: cloud-controller-manager
namespace: kube-system
---
apiVersion: rbac.authorization.k8s.io/v1
kind: ClusterRole
metadata:
resource "aws_iam_policy" "eks-role-policy-cert-manager" {
name = "cert-manager-role-policy"
policy = jsonencode({
Version = "2012-10-17",
Statement = [
{
Effect = "Allow",
Action = [
"route53:GetChange"
],
U-Boot 2021.04 (Jun 23 2021 - 20:04:26 +0000)
DRAM: 7.9 GiB
RPI 4 Model B (0xd03114)
MMC: mmcnr@7e300000: 1, emmc2@7e340000: 0
Loading Environment from FAT... Card did not respond to voltage select! : -110
In: serial
Out: vidconsole
Err: vidconsole
Net: eth0: ethernet@7d580000
@frezbo
frezbo / abstractshimmer
Created May 13, 2021 09:24
CVE-2020-15257
This file has been truncated, but you can view the full file.
f0VMRgIBAQAAAAAAAAAAAAIAPgABAAAAIFJUAAAAAABAAAAAAAAAAAAAAAAAAAAAAAAAAEAAOAAD
AEAAAAAAAAEAAAAFAAAAAAAAAAAAAAAAAEAAAAAAAAAAQAAAAAAAtGQUAAAAAAC0ZBQAAAAAAAAQ
AAAAAAAAAQAAAAYAAAAAAAAAAAAAAABwVAAAAAAAAHBUAAAAAAAAAAAAAAAAABBjPwAAAAAAABAA
AAAAAABR5XRkBgAAAAAAAAAAAAAAAAAAAAAAA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t
66p5akZP5+mGRaYLkz49OThmg1VlGFVeFxdnY6MSR46Kz/mrQMttGvpbOxR6UEOvuJhHy0oN3a7K
f6ihN+5X6Os0dFNUsfOW1q8az2ot/eOJin+tX9X+Cxp6e69iv1wbzwFFfqmGbtmn0Eu18mq75mvo
mar8HG08rypxztDQmUOKfKGGXq7GI2rz/Ipix66V/0Ch363N50HFjkUbv0ofobWvxm/SjgfVb5Y2
@frezbo
frezbo / klustered
Last active April 27, 2021 14:35
add honk pods
---
apiVersion: v1
kind: Pod
metadata:
name: honk
namespace: honk
spec:
containers:
- name: honk
image: ghcr.io/frezbo/honkweb:0.1.0
@frezbo
frezbo / awk_netstat.sh
Created March 3, 2021 21:04 — forked from staaldraad/awk_netstat.sh
AWK to get details from /proc/net/tcp and /proc/net/udp when netstat and lsof are not available
# Gawk version
# Remote
grep -v "rem_address" /proc/net/tcp | awk '{x=strtonum("0x"substr($3,index($3,":")-2,2)); for (i=5; i>0; i-=2) x = x"."strtonum("0x"substr($3,i,2))}{print x":"strtonum("0x"substr($3,index($3,":")+1,4))}'
# Local
grep -v "rem_address" /proc/net/tcp | awk '{x=strtonum("0x"substr($2,index($2,":")-2,2)); for (i=5; i>0; i-=2) x = x"."strtonum("0x"substr($2,i,2))}{print x":"strtonum("0x"substr($2,index($2,":")+1,4))}'
# No Gawk
# Local
grep -v "rem_address" /proc/net/tcp | awk 'function hextodec(str,ret,n,i,k,c){
@frezbo
frezbo / mando.sh
Created January 8, 2021 17:04
mandalorian wallpapers
#!/bin/bash
set -eu -o pipefail
NUM_OF_PAGES="6"
DOWNLOAD_DIR="/tmp/mando"
mkdir -p "${DOWNLOAD_DIR}"