| <!-- This configuration file specifies the required security policies | |
| for PulseAudio Bluetooth integration. --> | |
| <!DOCTYPE busconfig PUBLIC "-//freedesktop//DTD D-BUS Bus Configuration 1.0//EN" | |
| "http://www.freedesktop.org/standards/dbus/1.0/busconfig.dtd"> | |
| <busconfig> | |
| <!-- ../system.conf have denied everything, so we just punch some holes --> | |
| <policy user="pulse"> |
| # Grant-ComputerJoinPermission.ps1 | |
| # Written by Bill Stewart ([email protected]) | |
| # | |
| # Grants an AD identity the ability to join one or more computers to the | |
| # domain. | |
| #requires -version 2 | |
| <# | |
| .SYNOPSIS |
| override def connect(url: String, info: Properties): Connection = { | |
| val connectionProps = Krb5SqlServer.connectionProperties(url) | |
| val keytabFile = connectionProps(Krb5SqlServer.keytabFile) | |
| val principal = connectionProps(Krb5SqlServer.principalKey) | |
| val config = new Configuration() | |
| config.addResource("/etc/hadoop/conf/hdfs-site.xml") | |
| config.addResource("/etc/hadoop/conf/core-site.xml") | |
| config.addResource("/etc/hadoop/conf/mapred-site.xml") |
| <?xml version="1.0" encoding="UTF-8"?> | |
| <!DOCTYPE fontconfig SYSTEM "fonts.dtd"> | |
| <!-- | |
| Noto Mono + Color Emoji Font Configuration. | |
| Currently the only Terminal Emulator I'm aware that supports colour fonts is Konsole. | |
| Usage: | |
| 0. Ensure that the Noto fonts are installed on your machine. | |
| 1. Install this file to ~/.config/fontconfig/conf.d/99-noto-mono-color-emoji.conf |
| # Install KDE runtime | |
| wget http://distribute.kde.org/kdeflatpak.gpg | |
| flatpak --user remote-add kde http://distribute.kde.org/flatpak-testing/ --gpg-import=kdeflatpak.gpg | |
| flatpak --user install kde org.kde.Platform | |
| # Install QupZilla | |
| wget https://qupzilla.com/flatpak/qupzillaflatpak.asc | |
| flatpak --user remote-add qupzilla https://qupzilla.com/flatpak/repo/ --gpg-import=qupzillaflatpak.asc | |
| flatpak --user install qupzilla org.qupzilla.QupZilla |
Termux Bash script for monitoring internet connection by periodically checking (pinging some host) and showing notifications with LED and vibration when connection is lost or established using termux-notification API
- Termux
- Termux:API add-on
- Execute the following commands to place script
termux-pinger.shinto the home directory with the proper permissions (get the link to the raw termux-pinger.sh below):
curl -o ~/termux-pinger.sh https://gist.githubusercontent.com/gpchelkin/b18916c56ff7c759860725a28a747242/raw/b8aa96bb2c7e1dac84f854980eaeb6cd194dde4f/termux-pinger.sh
chmod +x ~/termux-pinger.sh| #!/usr/bin/env python3 | |
| import os | |
| import sys | |
| from string import Template | |
| for in_line in sys.stdin.readlines(): | |
| out_line = Template(in_line).safe_substitute(os.environ) | |
| sys.stdout.write(out_line) |
If your like me you might already use a VPN to route your traffic through. The problem is some sites just don't like VPN services and will actively block you from using them without disabling or bypassing it.
Netflix is a prime example of a website that does not like VPN services, because they are seen as a way to circumvent the geo-restrictions imposed on the content library offered.
Below are WPAD rules I use to essentially send Netflix traffic directly and avoid any VPN errors/dreaded unknown error network messages. Error messages that Netflix throws back at you related to VPN usage when streaming might include:
- "You seem to be using an unblocker or proxy"
- VPN/proxy error M7111-1331-5059
| from sslyze.server_connectivity import ServerConnectivityInfo, ServerConnectivityError | |
| from sslyze.ssl_settings import HttpConnectTunnelingSettings, TlsWrappedProtocolEnum | |
| from sslyze.plugins.certificate_info_plugin import CertificateInfoScanCommand | |
| from sslyze.synchronous_scanner import SynchronousScanner | |
| from cryptography.hazmat.backends.openssl import x509 | |
| from cryptography.hazmat.primitives.serialization import Encoding | |
| from cryptography.x509 import DNSName, ExtensionNotFound, ExtensionOID, NameOID | |
| from enum import Enum | |
| import os | |
| import json |