Navigation Menu

Skip to content

Instantly share code, notes, and snippets.

View stvar's full-sized avatar

Ştefan Vargyas / István stvar

View GitHub Profile
@stvar
stvar / multipart-related.py
Created September 4, 2020 12:14
Generate 'multipart/related' content
@stvar
stvar / youtube-search.py
Last active June 20, 2023 14:23
Find YouTube channel IDs by custom URLs or user names
#!/usr/bin/python3
# Copyright (C) 2020 Stefan Vargyas
#
# Permission is hereby granted, free of charge, to any person obtaining a copy
# of this software and associated documentation files (the "Software"), to deal
# in the Software without restriction, including without limitation the rights
# to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
# copies of the Software, and to permit persons to whom the Software is
# furnished to do so, subject to the following conditions:
@stvar
stvar / html-cref-hash.patch
Last active May 20, 2019 15:02
A gperf-generated HTML named char reference lookup function for Html-Cref, http://github.com/stvar/html-cref
--- html-cref/src/Makefile
+++ html-cref/src/Makefile
@@ -28,7 +28,8 @@
wtrie \
trie \
bre2c \
- re2c
+ re2c \
+ hash
@stvar
stvar / html-cref-php.patch
Last active May 20, 2019 15:08
A PHP-originated HTML named char reference lookup function for Html-Cref, http://github.com/stvar/html-cref
--- html-cref/src/Makefile
+++ html-cref/src/Makefile
@@ -28,7 +28,8 @@
wtrie \
trie \
bre2c \
- re2c
+ re2c \
+ php