Skip to content

Instantly share code, notes, and snippets.

View rxw1's full-sized avatar
☠️

rxw1

☠️
  • Upper Silesia, Germany
View GitHub Profile
# version 2020090100, last updated tue sep 1 07:07:01 2020 utc
aaa
aarp
abarth
abb
abbott
abbvie
abc
able
abogado
@rxw1
rxw1 / stdexiftags.sh
Last active August 15, 2020 17:18
Get the standard EXIF tags
curl -s https://www.exiv2.org/tags.html | \
pup 'table tbody tr td text{}' | \
paste -d'\t' - - - - - - | \
awk -F'\t' -v c=$COLUMNS '
{
split($4, a, ".");
$6=substr($6,1,c-6-6-8-28-10-5);
printf("%6s % 6d % 8s % -28s % -10s %s\n", $1, $2, $3, a[3], $5, $NF);
}'
@rxw1
rxw1 / .POOP.md
Created July 10, 2020 20:50 — forked from poop-person/.POOP.md
POOP: Peacefully Opposing Oppressive Puritanism

big-poop logo

POOP: Peacefully Opposing Oppressive Puritanism

POOP is a badge for any software project that is [under attack by modern day puritans][opalgate]. Use this badge to declare that your project is POOP: Peacefully Opposing Oppressive Puritanism.

#!/usr/bin/python
import asyncio
import httpx
import json
import sys
lt = {
16: 99,
17: 93,
anti inflammatory diet
intermittend fasting (19-21)
carnivore
no coffee
no sugar (TODO)
no flour
weglassen:
kein getreide/gluten
keine milch
@rxw1
rxw1 / main.rs
Created July 5, 2020 01:49
Request Headers (Rust + Warp)
#![deny(warnings)]
use warp::{
Filter,
http::{
HeaderMap,
Method
},
path::{
FullPath
@rxw1
rxw1 / index.js
Created July 5, 2020 01:47
Request Headers (Node.js + Koa)
const Koa = require("koa");
const app = new Koa();
app.use((ctx) => {
ctx.body = `${ctx.method}, ${ctx.path}, ${JSON.stringify(
ctx.headers,
null,
2
)}`;
});
#!/home/asdf/.pyenv/shims/python
import time
import pynput
import itertools
import argparse
import subprocess
#!/bin/zsh
# vi: ft=sh
name=$1
heroes=(
abaddon
alchemist
ancient-apparition
anti-mage
arc-warden
@rxw1
rxw1 / dota.py
Last active April 19, 2020 05:50
#!/usr/bin/python3.7
import argparse
import json
import re
import vdf
import sys
from os.path import expanduser
# ./dota.py -f AttackRate | sort -k2 -g