Skip to content

Instantly share code, notes, and snippets.

View rxw1's full-sized avatar
☠️

rxw1

☠️
  • Upper Silesia, Germany
View GitHub Profile
anti inflammatory diet
intermittend fasting (19-21)
carnivore
no coffee
no sugar (TODO)
no flour
weglassen:
kein getreide/gluten
keine milch
#!/usr/bin/python
import asyncio
import httpx
import json
import sys
lt = {
16: 99,
17: 93,
@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.

@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);
}'
# version 2020090100, last updated tue sep 1 07:07:01 2020 utc
aaa
aarp
abarth
abb
abbott
abbvie
abc
able
abogado
#!/usr/bin/python3.8
import sys
import math
import unicodedata
table = [
["A", "ALEF", "ALPHA"], # 001 Α α א
["B", "BET", "BETA"], # 002 Β β ב
["C", "GIMEL", "GAMMA"], # 003 Γ γ ג
@rxw1
rxw1 / init.vim
Last active September 11, 2020 23:15
" vimrc
" [email protected]
" Sat Sep 12 01:04:02 AM CEST 2020
let g:tex_flavor = "latex"
call plug#begin() " {{{
" Completion
Plug 'neoclide/coc.nvim', {'branch': 'release'}
Plug 'mattn/emmet-vim'
import Data.List
import Data.Ord
main = interact $ (=<<) (\x -> show (length x) ++ " " ++ head x ++ "\n")
. sortBy (flip $ comparing length)
. group . sort
. words
@rxw1
rxw1 / spotify-playlist-json.bm.js
Last active August 10, 2021 02:35
Spotify Playlist to JSON (Bookmarklet)
javascript:!function(){const o=document.querySelector("#main > div > div.Root__top-container > div.Root__main-view > main > div.os-host.os-host-foreign.os-theme-spotify.os-host-resize-disabled.os-host-scrollbar-horizontal-hidden.main-view-container__scroll-node.os-host-transition.os-host-overflow.os-host-overflow-y > div.os-padding > div > div > div.main-view-container__scroll-node-child > section > div.contentSpacing._4c3b6e4e88112fc8ef88512cbe7521ed-scss.da51a6e223c7200d373a2fd0614d7c33-scss > div.faffb409617fd7cf35017fde898cf860-scss > div > div > a").textContent.replace(/[^A-Za-z]/g,""),e=document.querySelector("#main > div > div.Root__top-container > div.Root__main-view > main > div.os-host.os-host-foreign.os-theme-spotify.os-host-resize-disabled.os-host-scrollbar-horizontal-hidden.main-view-container__scroll-node.os-host-transition.os-host-overflow.os-host-overflow-y > div.os-padding > div > div > div.main-view-container__scroll-node-child > section > div.contentSpacing._4c3b6e4e88112fc8ef88512cbe7521ed