Skip to content

Instantly share code, notes, and snippets.

View voron's full-sized avatar

Oleksandr Vorona voron

View GitHub Profile
@holms
holms / virt-manager-osx
Last active January 31, 2019 23:38
Install virt-manager osx
git clone git://git.fedorahosted.org/virt-manager.git
cd virt-manager
sudo port -v install intltool py27-pygtk
sudo python setup.py install
@dvf
dvf / change-codec.md
Last active November 14, 2024 08:27
Enable High Quality mode on your headphones (Updated for macOS Catalina)

If you're using a high-end bluetooth headset on your Macbook Pro it's likely your mac is using an audio codec which favors battery efficiency over high quality. This results in a drastic degradation of sound, the SBC codec is the likely culprit, read more about it here.

Find out what codec you're using

  1. Play a song on your headphones
  2. Option (⌥) click the Bluetooth button at the top of your screen Inspect the Bluetooth Coded
  3. If you're using AAC or aptX, you can stop here—those are the highest quality codecs.

Change your codec to AAC or aptX

@tyzbit
tyzbit / cache-eks-token.sh
Created January 23, 2020 16:36
Cache EKS tokens for kubectl
function usage() {
echo "Usage: $0 [region] [cluster name] [role arn]"
echo "If you're not using a role, [region] and [role arn] are optional"
echo "If you just use cluster name, you need aws-iam-authenticator installed"
}
if [ -z $1 ]; then
usage
exit 1
fi
@nezed
nezed / ingress.yaml
Created April 23, 2020 17:58
Helm basic auth with Kubernetes Ingress
apiVersion: extensions/v1beta1
kind: Ingress
metadata:
annotations:
nginx.ingress.kubernetes.io/auth-type: basic
nginx.ingress.kubernetes.io/auth-secret: my-basic-auth
nginx.ingress.kubernetes.io/auth-realm: "Authentication Required - ok"
name: my-ingress
spec:
rules:
@zupo
zupo / synology_iperf3.md
Last active October 29, 2024 01:06
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: