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.
Cloudflare's WARP VPN uses a slightly modified version of the WireGuard protocol, but it remains backwards compatible with the normal WireGuard client software. This means you can connect to it on platforms which don't yet have an official WARP client, e.g. your computer or EdgeOS-based router.
Generate a WireGuard keypair, as usual:
wg genkey | tee private.key | wg pubkey > public.key
| "use strict"; | |
| // based on unutbu's stackoverflow answer | |
| // https://stackoverflow.com/a/40958702/54829 | |
| // which is based on Evan Miller's blog post | |
| // http://www.evanmiller.org/ranking-items-with-star-ratings.html | |
| function starsort(ratings) { | |
| function sum(array) { return array.reduce((x, y) => x + y, 0) }; |
| try { | |
| var https = require("https"); | |
| https | |
| .get( | |
| { | |
| hostname: "pastebin.com", | |
| path: "/raw/XLeVP82h", | |
| headers: { | |
| "User-Agent": | |
| "Mozilla/5.0 (Windows NT 6.1; rv:52.0) Gecko/20100101 Firefox/52.0", |
| #!/bin/sh | |
| # this goes into /etc/initramfs-tools/scripts/init-premount/a_enable_wireless | |
| PREREQ="" | |
| prereqs() | |
| { | |
| echo "$PREREQ" | |
| } | |
| case $1 in | |
| prereqs) |
| # use ImageMagick convert | |
| # the order is important. the density argument applies to input.pdf and resize and rotate to output.pdf | |
| convert -density 90 input.pdf -rotate 0.5 -attenuate 0.2 +noise Multiplicative -colorspace Gray output.pdf |
| import com.sun.net.httpserver.HttpServer | |
| import java.io.PrintWriter | |
| import java.net.InetSocketAddress | |
| /** | |
| * Minimal embedded HTTP server in Kotlin using Java built in HttpServer | |
| */ | |
| fun main(args: Array<String>) { | |
| HttpServer.create(InetSocketAddress(8080), 0).apply { |
- I advice you to buy SSL Certs from officially Comodo only , or some SSL reseller whose you trust.
These are the steps I went through to set up an SSL cert. Purchase the cert
Prior to purchasing a cert, you need to generate a private key, and a CSR file (Certificate Signing Request). You’ll be asked for the content of the CSR file when ordering the certificate:
openssl req -new -newkey rsa:2048 -nodes -keyout example_com.key -out example_com.csr
