Skip to content

Instantly share code, notes, and snippets.

View etenzy's full-sized avatar

Michael Rödel etenzy

View GitHub Profile
@etenzy
etenzy / synology_iperf3.md
Created August 27, 2025 12:47 — forked from zupo/synology_iperf3.md
Synology NAS with DSM 7.1 that starts iperf3 at startup

Synology NAS with DSM 7.1 that starts iperf3 at startup

I wanted to run iperf3 on my Synology NAS to monitor WiFi speeds on different devices around my location.

Steps to install iperf3 are:

  1. Follow https://synocommunity.com/#easy-install to install SynoCommunity package repository.
  2. Log into DSM, Package Center -> Community -> SynoCli Monitor Tools -> Install.
  3. Temporarily enable SSH via Control Panel -> Terminal -> Enable SSH Service
  4. SSH into the NAS:
@etenzy
etenzy / gist:0245db5523434f7df780642959b69352
Created June 10, 2025 10:27
google chrome: disable autoupdate on mac
defaults write com.google.Keystone "{ updatePolicies = { global = { UpdateDefault = 3; }; }; }"
@etenzy
etenzy / main.go
Created April 2, 2025 14:31 — forked from ayubmalik/main.go
Golang AWS SSO login from the command line. Will start a new AWS SSO session and retrieve valid access token.
package main
import (
"context"
"log"
"strings"
"time"
"github.com/aws/aws-sdk-go-v2/aws"
"github.com/aws/aws-sdk-go-v2/config"
@etenzy
etenzy / synology_pubkey_auth.sh
Created January 12, 2025 01:23
Setup PubkeyAuthentication for synology user
#!/usr/bin/env bash
chmod 755 ~
mkdir ~/.ssh
chmod 700 ~/.ssh
touch ~/.ssh/authorized_keys
chmod 600 ~/.ssh/authorized_keys
@etenzy
etenzy / revision.py
Created January 12, 2024 01:11
translate raspberry pi revcodes
import subprocess
import sys
revcode = sys.argv[1]
code = int(revcode, 16)
new = (code >> 23) & 0x1
model = (code >> 4) & 0xff
mem = (code >> 20) & 0x7
@etenzy
etenzy / cilium-install.yaml
Last active July 12, 2024 21:57
cilium helm installer
---
apiVersion: rbac.authorization.k8s.io/v1
kind: ClusterRoleBinding
metadata:
name: cilium-install
roleRef:
apiGroup: rbac.authorization.k8s.io
kind: ClusterRole
name: cluster-admin
subjects:
@etenzy
etenzy / flux-install.yaml
Last active June 3, 2025 09:03
install flux from helm using a job
---
apiVersion: v1
kind: Namespace
metadata:
name: flux-system
labels:
kubernetes.io/metadata.name: flux-system
name: flux-system
---
apiVersion: v1
site.com/file.php
response = nothing
http://site.com/file.php~
response = source
-------------------------------------
https://github.com/kleiton0x00/CRLF-one-liner
------------------------------------------
try to add admin as your user,
change his email to yours,