Skip to content

Instantly share code, notes, and snippets.

I want this to show. yay
@nathanpuls
nathanpuls / function.txt
Last active April 1, 2024 19:56
function.txt
function changeBackgroundColor() {
// Generate random values for red, green, and blue components
const red = Math.floor(Math.random() * 256);
const green = Math.floor(Math.random() * 256);
const blue = Math.floor(Math.random() * 256);
// Construct a CSS color string
const randomColor = `rgb(${red}, ${green}, ${blue})`;
// Apply the random color to the background
name, John Guy
age, 16
color, yellow
title, amazing wow
g, g.co
y, yahoo.com
google, google.com
brand, cheetos
@nathanpuls
nathanpuls / redirect.txt
Last active March 19, 2024 02:49
redirect.txt
g, https://g.co
y, https://yahoo.com
google, https://google.com
f, http://fun.com
zps, Patient is content with medications, interacts with peers, and participates in groups.
z5, pain, prescriptions, peers, participates, pathwarm
zenc, RN offered encouragement.
zgr, attends groups
zac, Activities included:
zdr, day room
zpt, patient
#ffd700
@nathanpuls
nathanpuls / index.html
Created November 3, 2020 18:28
Responsive Audio Player
<div class="container">
<div class="column add-bottom">
<div id="mainwrap">
<div id="nowPlay">
<span id="npAction">Paused...</span><span id="npTitle"></span>
</div>
<div id="audiowrap">
<div id="audio0">
<audio id="audio1" preload controls>Your browser does not support HTML5 Audio! 😢</audio>
</div>