(Arm64/IPv6-only)
This guide describes how to install Alpine Linux on Hetzner Cloud VPS CAX ARM64 Servers with IPv6-only setup.
Table of contents:
{ | |
"last_node_id": 457, | |
"last_link_id": 804, | |
"nodes": [ | |
{ | |
"id": 4, | |
"type": "SetNode", | |
"pos": [ | |
-433, | |
2 |
(Arm64/IPv6-only)
This guide describes how to install Alpine Linux on Hetzner Cloud VPS CAX ARM64 Servers with IPv6-only setup.
Table of contents:
# ** ref to open stack rc containing envvars and credentials ** | |
OPENSTACKRC=~/openstackrc.sh | |
# | |
# Functions | |
# | |
info() { | |
echo "Running open stack setup..." |
{ | |
"Key Mappings": { | |
"0xf702-0x300000-0x7b": { | |
"Label": "Cursor Start ⌘←", | |
"Action": 11, | |
"Text": "0x01" | |
}, | |
"0xf703-0x300000-0x7c": { | |
"Label": "Cursor End ⌘→", | |
"Action": 11, |
#!/usr/bin/env python3 | |
import requests | |
import time | |
import uuid | |
import json | |
import urllib.parse | |
from Crypto.PublicKey import RSA | |
from Crypto.Hash import MD5 | |
from Crypto.Cipher import PKCS1_v1_5 | |
from base64 import b64encode |
import jwt from '@tsndr/cloudflare-worker-jwt'; | |
import { StatusError } from '../lib/errors'; | |
import { Config, RouterRequest, SocketAuth } from '../types'; | |
export function uses(request: RouterRequest) { | |
return (request.headers.get('authorization') || '').match(/^Bearer /i); | |
} | |
export async function auth(request: RouterRequest, noError?: boolean) { | |
return authSocket( |
http://stackoverflow.com/questions/24380159/corebluetooth-and-wifi-interference
http://lists.apple.com/archives/bluetooth-dev/2013/Aug/msg00023.html
This is a well known issue, and it has a solution that is confirmed to work for the Mac side.
sudo defaults write /Library/Preferences/com.apple.airport.bt.plist bluetoothCoexMgmt Hybrid
After you run this script, the issue will go away and BT connections will remain stable.
/* | |
* Derived from https://github.com/google/google-authenticator-android/blob/master/AuthenticatorApp/src/main/java/com/google/android/apps/authenticator/Base32String.java | |
* | |
* Copyright (C) 2016 BravoTango86 | |
* | |
* Licensed under the Apache License, Version 2.0 (the "License"); | |
* you may not use this file except in compliance with the License. | |
* You may obtain a copy of the License at | |
* | |
* http://www.apache.org/licenses/LICENSE-2.0 |
Let suppose I have two github accounts, https://github.com/rahul-office and https://github.com/rahul-personal. Now i want to setup my mac to easily talk to both the github accounts.
NOTE: This logic can be extended to more than two accounts also. :)
The setup can be done in 5 easy steps:
ver=7.16.2
wget https://download.mikrotik.com/routeros/$ver/chr-$ver.img.zip
apt update
apt install unzip
unzip chr-$ver.img.zip
qemu-img resize -f raw chr-$ver.img 256M
# number 100 below is the VM ID