This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<?php | |
function array_has_missing_keys(array $shape, array $payload, ?array &$missing): bool | |
{ | |
foreach ($shape as $k => $v) { | |
if (!is_array($v)) { | |
if (!array_key_exists($v, $payload)) { | |
$missing[] = $v; | |
} | |
continue; | |
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# Add this line in /etc/apt/sources.list | |
# deb http://httpredir.debian.org/debian/ bullseye main contrib non-free | |
sudo apt-key adv --keyserver keyserver.ubuntu.com --recv-keys 648ACFD622F3D138 | |
sudo apt-key adv --keyserver keyserver.ubuntu.com --recv-keys 0E98404D386FA1D9 | |
sudo apt-key adv --keyserver keyserver.ubuntu.com --recv-keys 605C66F00D6C9793 | |
sudo apt-get update --allow-unauthenticated | |
# this will produce an error... go with it | |
sudo apt-get install firmware-atheros |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
@echo off | |
echo 104.26.4.98 notion.so >> C:\Windows\System32\drivers\etc\hosts | |
echo 104.26.5.98 notion.so >> C:\Windows\System32\drivers\etc\hosts | |
echo 104.26.4.98 www.notion.so >> C:\Windows\System32\drivers\etc\hosts | |
echo 104.26.5.98 www.notion.so >> C:\Windows\System32\drivers\etc\hosts | |
echo 104.26.4.98 *.notion.so >> C:\Windows\System32\drivers\etc\hosts | |
echo 104.26.5.98 *.notion.so >> C:\Windows\System32\drivers\etc\hosts | |
echo 104.26.4.98 msgstore.www.notion.so >> C:\Windows\System32\drivers\etc\hosts | |
echo 104.26.5.98 msgstore.www.notion.so >> C:\Windows\System32\drivers\etc\hosts |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
local_client | |
server | |
client | |
ext |