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
#!/usr/bin/python3 | |
# /* | |
# * ---------------------------------------------------------------------------- | |
# * "THE BEER-WARE LICENSE" (Revision 42): | |
# * n4sm wrote this file. As long as you retain this notice you | |
# * can do whatever you want with this stuff. If we meet some day, and you think | |
# * this stuff is worth it, you can buy me a beer in return Poul-Henning Kamp | |
# * ---------------------------------------------------------------------------- | |
# * / |
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
#include "enc_str.h" | |
#include <cstdio> | |
static_assert(next_prime<next_prime<4>> == next_prime<4> && next_prime<4> == 5, "??"); | |
static constexpr auto j = "I love vvb2060 and she's my wife."_senc; | |
static constexpr auto k = ".."_senc; | |
static constexpr auto l = j + k; | |
int main() { |
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
============================x64 debian===================================== | |
#redroid is easier than waydroid: https://github.com/remote-android/redroid-doc/issues/407 | |
#https://hub.docker.com/r/teddynight/redroid | |
#adb connect localhost #20 seconds after docker run | |
#scrcpy -s localhost --audio-codec=aac --audio-encoder='OMX.google.aac.encoder' | |
#it seems only one redroid container can run correctly, so first "sudo docker stop <redroid 14 container>" then "sudo docker run <teddynight 11 container>" | |
#or else the adb/scrcpy won't connect it, even if the 2 containers listen on 2 differenct ports(one 5555, another 5556) | |
# upgrade kali linux kernel from 5.7 to 5.9+(download from: http://old.kali.org/kali/pool/main/l/linux/) | |
# sudo apt install linux-image-6.3.0-kali1-amd64 |