This is an OpenPGP proof that connects my OpenPGP key to this Github account. For details check out https://keyoxide.org/guides/openpgp-proofs
[Verifying my OpenPGP key: openpgp4fpr:B52FB948BD752C84CDF30A8C6779CF20ECF01C19]
read foo | |
foo2="$(echo $foo | tr '\n' 'Ф')" | |
for (( i=0; i<${#foo}; i++ )); do | |
echo -n ":regional_indicator_${foo:$i:1}: " | |
done | tr 'Ф' '\n' | sed 's/:regional_indicator_ :/ /g' | xclip -i -sel clip |
import subprocess | |
import re | |
sp_out = subprocess.run( | |
"v4l2-ctl -d /dev/video0 --list-formats-ext".split(), capture_output=True | |
) | |
# format and remove newlines/tabs | |
output = str(sp_out.stdout).replace("\\n", " ").replace("\\t", "") |
#!/usr/bin/env bash | |
set -e | |
IFS=$'\n' | |
for i in $(ls -1); do | |
echo "Playing $i" | |
sleep 0.5 | |
mpv "$i" | |
read -p "Delete video? [Y/n] " yn | |
case $yn in |
import cv2 | |
import gi | |
gi.require_version("Gst", "1.0") | |
from gi.repository import Gst # isort:skip | |
WIDTH = 320 | |
HEIGHT = 240 | |
FPS = 30 |
#include <iostream> | |
#include <cstdio> | |
int main(int argc, char **argv) { | |
double a; | |
std::cin >> a; | |
union | |
{ | |
long long i; | |
double d; |
#!/bin/bash | |
IFS='\n' | |
INPUT=$(cat) | |
for line in $INPUT; do | |
for ((i = 0; i < ${#line}; i++)); do | |
echo -n "${line:$i:1}" | |
if [[ "$i" != "${#line}" ]]; then # don't insert extra space at EOL | |
echo -n " " |
### Keybase proof | |
I hereby claim: | |
* I am 132ikl on github. | |
* I am 132ikl (https://keybase.io/132ikl) on keybase. | |
* I have a public key ASCFM2qkYwIGt3ygy2FK9I0X-7kYo74Jex6gthZpH02QoQo | |
To claim this, I am signing this object: |
This is an OpenPGP proof that connects my OpenPGP key to this Github account. For details check out https://keyoxide.org/guides/openpgp-proofs
[Verifying my OpenPGP key: openpgp4fpr:B52FB948BD752C84CDF30A8C6779CF20ECF01C19]
WHGMP is a message protocol which uses 2 Discord bots and 9 channels.
(pssst... click here to see a more detailed project, with the main bot in addition to the messaging protocol)
WHGMP uses the read/unread badge* in a channel to represent a bit (unread = 1, read = 0). By using 8 channels, one byte can be stored.
The sender waits for a message from the user, then begins to send messages to the data channels. After storing a single byte, a message is sent to the "clock" channel, letting the receiver know to check the read/unread status. Based off of that, a single byte is constructed. When a null-byte is received, the resulting string is printed.