Skip to content

Instantly share code, notes, and snippets.

View djsubstance's full-sized avatar
💭
Spreading Hack/Phreak info since 95 [9x / EFnet]

9x Datakit Network / Substance djsubstance

💭
Spreading Hack/Phreak info since 95 [9x / EFnet]
View GitHub Profile
@djsubstance
djsubstance / html.regex
Created January 10, 2024 08:30 — forked from dg/html.regex
Regular expression for parsing HTML
~
(?(DEFINE)
(?<entity>
&
(
[a-z][a-z0-9]+ # named entity
|
\#\d+ # decimal number
|
@djsubstance
djsubstance / iframe_api.js
Created April 3, 2024 02:35 — forked from cookpete/iframe_api.js
YouTube iframe API with script fetching commented out
if (!window['YT']) {
var YT = {
loading: 0,
loaded: 0
};
}
if (!window['YTConfig']) {
var YTConfig = {
'host': 'http://www.youtube.com'
};