Domain: example.com
Server Name: elaninwe
Server FQDN: elaninwe.example.com
Our user: aria
/* | |
Call this function to verify is the ReCaptcha is valid | |
Call with parameter : | |
$_POST['g-recaptcha-response'] | |
Call with this optional parmater : | |
$user_ip | |
Return false is recaptcha is invalid or true if valid | |
if(isValid($_POST['g-recaptcha-response'])) | |
{ | |
echo 'recaptcha valid'; |
@echo off | |
echo Uninstalling KB3075249 (telemetry for Win7/8.1) | |
start /w wusa.exe /uninstall /kb:3075249 /quiet /norestart | |
echo Uninstalling KB3080149 (telemetry for Win7/8.1) | |
start /w wusa.exe /uninstall /kb:3080149 /quiet /norestart | |
echo Uninstalling KB3021917 (telemetry for Win7) | |
start /w wusa.exe /uninstall /kb:3021917 /quiet /norestart | |
echo Uninstalling KB3022345 (telemetry) | |
start /w wusa.exe /uninstall /kb:3022345 /quiet /norestart | |
echo Uninstalling KB3068708 (telemetry) |
""" | |
An example of an attempt to get non-standard ticks in matplotlib plot. | |
Here, we use π/3 as unit length. | |
""" | |
import numpy as np | |
from fractions import Fraction as frac | |
import matplotlib.pyplot as plt | |
from matplotlib.ticker import FuncFormatter, MultipleLocator |
Automatic Signing of DKMS-Generated Kernel Modules for Secure Boot (Nvidia Driver on CentOS 8 as Example)
First I thank Nvidia for sponsoring the video card.
Secure Boot isn't exactly easy to configure to work with Linux and disabling it isn't really a good idea. Many modern Linux distributions provide the Microsoft-signed shim
EFI binary to interpose between Secure Boot and the grub2
bootloader, making booting Linux easy enough if you only ever use kernels and drivers from the official repos. Still, enabling Secure Boot prevents the loading of kernel or modules without a proper digital signature. For example, the propriatary Nvidia GPU driver won't work, unless your distro really went to great lengths to distribute a signed version of the kernel module.
To make Secure Boot play nicely with the driver (i.e. to work at all), we can generate and import a Machine Owner Key (MOK)
- Register for Oracle Cloud Free Tier
- Create compute instance
- change image to
Canonical Ubuntu
- confirm that a public IPv4 address is assigned
- upload your public ssh key
- leave everything blank in
Boot volume
- change image to
- Enable Internet Access
- Instances → Instance details → Subnet → Default Security List → Add Ingress Rules
- HTTP: Stateless: Checked
# short link: www.shorturl.at/wzM69 | |
version: "3" | |
networks: | |
adguard-macvlan: | |
name: adguard-macvlan | |
driver: macvlan | |
driver_opts: | |
parent: eno1 | |
ipam: |
Let me preface this by saying this is a new method. It might not work 100% and there might be issues. As of now, its the best you are going to get. The first round of steps is to convert a given save to your own account.
#!/usr/bin/env python3 | |
from ics import Calendar | |
import argparse | |
import re | |
import sys | |
def main(): |
This userscript brings back the Maps button in Google Search results, making it easy to search locations directly in Google Maps.
- Adds a Maps button next to the "All", "Images", "News" tabs in Google Search
- Works across multiple Google domains (.com, .co.uk, .nl, .de, .fr)
- Automatically updates when using Google's dynamic search
- Maintains button presence during navigation