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 / 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'
};
@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 / index.html
Created August 17, 2023 12:00
React components lifecycle diagram
<img src="data:image/svg+xml;base64,PHN2ZyBpZD0iTGF5ZXJfMSIgZGF0YS1uYW1lPSJMYXllciAxIiB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciIHZpZXdCb3g9IjAgMCAyMyAyMC40NjM0OCI+PHRpdGxlPmxvZ288L3RpdGxlPjxwYXRoIGQ9Ik0xOC45MTA3LDYuNjMyNTdoMHEtLjM2NzIxLS4xMjYtLjc0MDQyLS4yMzMzLjA2MTg3LS4yNTE0MS4xMTQ0MS0uNTA1Yy41NjA0NS0yLjcyMDY0LjE5NC00LjkxMjM3LTEuMDU3MzktNS42MzM4Ni0xLjE5OTgtLjY5Mi0zLjE2MjEuMDI5NTItNS4xNDM5NCwxLjc1NDE0cS0uMjkyOTMuMjU1NS0uNTcyNjcuNTI1NTQtLjE4NzI3LS4xNzk1MS0uMzgxMS0uMzUyQzkuMDUyNTcuMzQzOSw2Ljk3MDY2LS40MzMxNiw1LjcyMDU4LjI5MDQ2LDQuNTIxOTEuOTg0MzYsNC4xNjY4NiwzLjA0NDg5LDQuNjcxNDQsNS42MjMyMnEuMDc1My4zODMuMTcuNzYxNzljLS4yOTQ1OC4wODM2Ny0uNTc5MDguMTcyODQtLjg1MTI3LjI2NzcxQzEuNTU1MTQsNy41MDE2NSwwLDguODMyMjUsMCwxMC4yMTIzMWMwLDEuNDI1NDYsMS42NjkzNSwyLjg1NTIsNC4yMDU3NSwzLjcyMnEuMzA4NS4xMDQ5NC42MjE5My4xOTQ0Mi0uMTAxNzkuNDA4LS4xODA2OC44MjExNGMtLjQ4MTA2LDIuNTMzNTQtLjEwNTM1LDQuNTQ1MjEsMS4wOTAxNyw1LjIzNDg0LDEuMjM0ODEuNzEyLDMuMzA3MjUtLjAxOTg1LDUuMzI1MzMtMS43ODM4N3EuMjM5MjYtLjIwOTE3LjQ3OTk0LS40NDIzOC4zMDI5LjI5MjI1LjYyMTczLjU2NzI3
@djsubstance
djsubstance / best-textarea-auto-expand.markdown
Created February 1, 2023 00:16
BEST Textarea auto-expand
@djsubstance
djsubstance / index.html
Created November 21, 2022 03:40
Responsive Fixed Animated NavBar
<nav class="nav">
<div class="container">
<div class="logo">
<a href="#">Your Logo</a>
</div>
<div id="mainListDiv" class="main_list">
<ul class="navlinks">
<li><a href="#">About</a></li>
<li><a href="#">Portfolio</a></li>
<li><a href="#">Services</a></li>
@djsubstance
djsubstance / index.html
Created November 17, 2022 21:28
Neon text
<p>
substance</p>
@djsubstance
djsubstance / codepen-challenge-the-gnarly-grid.markdown
Created September 12, 2022 03:20
CodePen Challenge - The Gnarly Grid
@djsubstance
djsubstance / index.html
Created July 25, 2022 05:02
Morphing Blurry Background
<h1 class="title">
DJ Substance<p> Deep Progressive Trance
</h1>
<svg
class="morphing-svg"
xmlns="http://www.w3.org/2000/svg"
viewBox="0 0 700 500"
style="enable-background:new 0 0 700 500"
xml:space="preserve"