| cuid | human<% tp.file.creation_date("YYYYMMDD-HHmmss") %> | ||
|---|---|---|---|
| alias |
|
||
| tags | person/friends, person/family, person/coworker, person/rwc |
🎂 Birthday: 💌 Email: ☎️ Phone:
| <!DOCTYPE html> | |
| <html lang="en"> | |
| <head> | |
| <meta charset="UTF-8" /> | |
| <meta name="viewport" content="width=device-width, initial-scale=1.0" /> | |
| <title>Ha ha, Business!</title> | |
| <link rel="stylesheet" href="main.css" /> | |
| </head> | |
| <body> | |
| <h1>I am an incredibly fancy business woman</h1> |
| import React, { useState, useEffect, useReducer, useMemo } from 'react' | |
| import ReactDOM from 'react-dom' | |
| // let text = 'hellllooooo' | |
| // I AM REACT | |
| // let domTable = {} | |
| // let element = Counter // state = 0 | |
| // commit(element, domTable) |
| <!DOCTYPE html> | |
| <html lang="en"> | |
| <head> | |
| <meta charset="UTF-8" /> | |
| <meta name="viewport" content="width=device-width, initial-scale=1.0" /> | |
| <title>Support Black Orgs</title> | |
| <link rel="stylesheet" href="https://fonts.xz.style/serve/inter.css" /> | |
| <link | |
| rel="stylesheet" | |
| href="https://cdn.jsdelivr.net/npm/@exampledev/new.css@1.1.2/new.min.css" |
| ABACI | |
| ABACK | |
| ABASE | |
| ABASH | |
| ABATE | |
| ABBEY | |
| ABBOT | |
| ABEAM | |
| ABEAR | |
| ABETS |
| export HOMEBREW_INSTALL_BADGE="🧋" | |
| # Bash/ZSH Stuff | |
| alias reload='source ~/.zshrc' | |
| alias a='echo "------------Your aliases------------";alias' | |
| alias sa='source ~/.zshrc;echo "ZSH aliases sourced."' | |
| alias bp='vim ~/.zshrc' | |
| # Install git completion here: brew install git bash-completion | |
| [ -f /usr/local/etc/bash_completion ] && . /usr/local/etc/bash_completion |
If you don't want to deal with styling a mostly text-based HTML document, plop these lines in and it'll look good:
html {
font-family: 'Helvetica Neue', 'Helvetica', 'Arial', sans-serif;
font-size: 1.3em;
max-width: 40rem;
padding: 2rem;
margin: auto;
line-height: 1.5rem;| let url = "https://www.youtube.com/watch?v=nVvxOwxuk_w"; | |
| url = url.split("v=")[1].split("&")[0]; // this removes out any extra parameters, like a playlist point etc | |
| console.log(url); | |
| // id = nVvxOwxuk_w |
| export function mergeRefs(refs) { | |
| return (value) => { | |
| refs.forEach((ref) => { | |
| if (typeof ref === "function") { | |
| ref(value); | |
| } else if (ref != null) { | |
| ref.current = value; | |
| } | |
| }); | |
| }; |
Prompt: Write a function in JavaScript that wraps a Unicode character in an HTML document in a <span> tag with a CSS class.
Raw GPT-4 Output:
You can use the following JavaScript function to achieve this:
function wrapUnicodeCharacter(char, cssClass) {