-
Download FreeBSD 11.1 VMDK and create a VM with it as HDD.
-
Get FreeBSD source tree for your exact FreeBSD version and uncompress it to /usr/src:
fetch -o /tmp ftp://ftp.freebsd.org/pub/`uname -s`/releases/`uname -m`/`uname -r | cut -d'-' -f1,2`/src.txz tar -C / -xvf /tmp/src.txz
-
Download latest Realtek network driver (you need to input an email address).
# PowerShell script to disable Windows power management on all currently connected serial ports, including USB adapters | |
# In simpler terms, it prevents Windows from turning off connected serial devices to save power. | |
# Equivalent to right-clicking on a serial port device in Device Manager > Properties > "Power Management" Tab > Unchecking "Allow the computer to turn off this device to save power." | |
$hubs = Get-CimInstance -ClassName Win32_SerialPort | Select-Object Name, DeviceID, Description | |
$powerMgmt = Get-CimInstance -ClassName MSPower_DeviceEnable -Namespace root\wmi | |
foreach ($p in $powerMgmt) { | |
$IN = $p.InstanceName.ToUpper() | |
foreach ($h in $hubs) { |
#!/bin/bash | |
# DESCRIPTION | |
# This script migrates from "apt-key" managed keys to "[signed-by=/usr/share/keyrings/...]": | |
# - loop through all lists in /etc/apt/sources.list.d | |
# - read all lines with "deb..." that do not contain "[signed-by=]" | |
# - download the GPG signature from the URL | |
# - read the key ID from the signature | |
# - download and saves the key using gpg | |
# - add "[signed-by=/usr/share/keyrings/...]" to the "deb..." line |
#!/bin/sh | |
# set the variable below to your FIOS interface | |
IF=igb0 | |
/usr/bin/timeout 5m /usr/sbin/tcpdump -ni ${IF} 'icmp6 && ip6[40] == 134' >/tmp/${IF}_RAs.out | |
FSIZE=$(/usr/bin/stat -f '%z' /tmp/${IF}_RAs.out) | |
if [ "$FSIZE" -gt 1 ]; then | |
echo '<?php include("notices.inc"); $msg = "IPv6 RAs detected on interface '$IF'"; notify_via_smtp($msg);?>' | /usr/local/bin/php -q | |
fi |
#!/usr/bin/env python3 | |
# -*- coding: utf-8 -*- | |
"""Cross-platform controller for NiceHash Excavator for Nvidia.""" | |
# Example usage: | |
# $ excavator -p 3456 & | |
# $ python3 excavator-driver.py | |
# History: |
Past August 2024, Authy stopped supported the desktop version of their apps:
See Authy is shutting down its desktop app | The 2FA app Authy will only be available on Android and iOS starting in August for details.
And indeed, after a while, Authy changed something in their backend which now prevents the old desktop app from logging in. If you are already logged in, then you are in luck, and you can follow the instructions below to export to tokens.
If you are not logged in anymore, but can find a backup of the necessary files, then restore those files, and re-install Authy 2.2.3 following the instructions below, and it should work as expected.
This gist was essentially created out of my own rant about Netflix being hostile to IPv6 tunnel services since June 2016. You are welcome to read my opinion on the matter, this is the more technical side to the issue and how to combat it within your own network.
Since I wrote this, various GitHub users have contributed their thoughts and ideas which has been incorporated into this gist. Thank you to everyone who have contributed their own methods and implementations.
Netflix now treats IPv6 tunnel brokers (such as Hurricane Electric) as proxy servers. A while ago it became apparent to users and Netflix that somewhat by accident, IPv6 tunnel users were being served content outside of their geolocation because of the way Netflix was identifyi
verify the certificate if wished at https://cryptoreport.rapidssl.com/checker/views/certCheck.jsp | |
run the following command to download the "RAPIDSSL 256 RSA CA Certificate" that maven.cyanogenmod.org fails to supply from ssllabs.com | |
curl https://www.ssllabs.com/ssltest/getTestChain?d=maven.cyanogenmod.org&s=216.168.38.166&cid=df15fa3d6dabd666a8c1e299421405616c9e9846aa25a22497184e1f305227be&time=1481872060432 -o maven.crt | |
run following to import the certificate into Java's trust store: |
#! /usr/bin/env python3 | |
"""Fixing bluetooth stereo headphone/headset problem in debian distros. | |
Workaround for bug: https://bugs.launchpad.net/ubuntu/+source/indicator-sound/+bug/1577197 | |
Run it with python3.5 or higher after pairing/connecting the bluetooth stereo headphone. | |
This will be only fixes the bluez5 problem mentioned above . | |
Licence: Freeware |