Skip to content

Instantly share code, notes, and snippets.

View seangeleno's full-sized avatar

Sean Marcel Esteva seangeleno

View GitHub Profile
#!/bin/bash
# advanced python regex for snatching up as many extra videos
# as possible and also neatly organizing video directories
yt-dlp --parse-metadata "description:(?P<download_domain>https?://(?:[a-z]+\.)?(?P<domain>youtube\.com|youtu\.be|vimeo\.com|dailymotion\.com|twitch\.tv|fb\.watch|facebook\.com|soundcloud\.com|mixcloud\.com|bandcamp\.com|twitter\.com|instagr\.am|instagram\.com|redd\.it|reddit\.com|tiktok\.com|bit\.ly|bitchute\.com|peertube\.co|bili\.com|tinyurl\.com|goo\.gl|ow\.ly)/[^\s]+)" \
--parse-metadata "upload_date:(?P<unix_timestamp>[0-9]{8})" \
--replace-in-metadata "unix_timestamp" "[0-9]{8}" "%(upload_date)s" \
--output "%(domain)s/%(unix_timestamp)s/%(sentiment)s/%(view_count)s/%(title)s.%(ext)s" \
--embed-metadata <VIDEO_URL>
<pre id="p">
<script>
n = setInterval("for (n += 7, i = k, P = 'p.\\n'; i -= 1 / k; P += P[i % 2 ? (i % 2 * j - j + n / k ^ j) & 1 : 2]) j = k / i; p.innerHTML = P", k = 128)
</script>
</pre>
<pre id="p">
<script>
n = setInterval("for (n += 7, i = k, P = 'p.\\n'; i -= 1 / k; P += P[i % 2 ? (i % 2 * j - j + n / k ^ j) & 1 : 2]) j = k / i; p.innerHTML = P", k = 128)
</script>
</pre>
@seangeleno
seangeleno / explosion-hain-reaction.markdown
Created April 29, 2024 01:06
Explosion. Сhain Reaction.
@seangeleno
seangeleno / conways-fireworks.markdown
Created December 25, 2023 21:29
Conways Fireworks

Conways Fireworks

A short little pen in honor of the 4th of July. I wanted to do something a little bit different,

A Pen by Ben Matthews on CodePen.

License.

@seangeleno
seangeleno / css-doodle-art.markdown
Created December 25, 2023 21:25
css doodle art
@seangeleno
seangeleno / img-intrinsicsize-fights-jank.markdown
Created December 25, 2023 21:23
<img intrinsicsize> fights jank
@seangeleno
seangeleno / help-me-down.markdown
Created September 11, 2023 10:27
help me down