Skip to content

Instantly share code, notes, and snippets.

View Twipped's full-sized avatar
💭
Furiously innovating

Jocelyn Badgley Twipped

💭
Furiously innovating
View GitHub Profile
@Twipped
Twipped / powerController.mips
Created May 27, 2024 17:35
Stationeers Power Controller IC10 Script
define DISPLAY -815193061 # small LED display
define ANALYZER 1036015121 # cable analyzer
define BATTERYSMALL -400115994
define BATTERYLARGE -1388288459
define MEMORY -851746783
alias dispInput d0
alias dispOutput d1
alias dispStorePerc d2
@Twipped
Twipped / whats-wrong-with-me.jsx
Created May 16, 2024 19:18
This code works, but it's really badly written. Find everything wrong with it.
import {
createContext,
useContext,
forwardRef,
Children,
useState,
} from "react";
const TabContext = createContext();
@Twipped
Twipped / Selectable.jsx
Last active May 14, 2024 20:01
React context for handling value selections
// Warning, this is dry code
import PropTypes from 'prop-types';
import { useCallback, useContext, createContext, useState } from 'react';
import useMemoObject from '@twipped/hooks/useMemoObject';
import useDerivedState from '@twipped/hooks/useDerivedState';
export const SelectableContext = createContext(null);
SelectableContext.displayName = 'SelectableContext';
@Twipped
Twipped / hellaverse.md
Created April 12, 2024 16:32
The Hellaverse

Hazbin Hotel and Helluva Boss are set in a Dante inspired depiction of Hell, which draws from the Torah and Talmud, particularly the writings of King Solomon and Daniel.

In the beginning, there was Heaven, a domain created by the divine in isolation from the influences of evil. In Heaven, the seraphim were given the task of creating the realm of Earth, and all the heavenly bodies that surround it. Upon the Earth, the seraphim created two intelligent beings, the man Adam, and the woman Lilith.

Adam, convinced of his own superiority, demanded that Lilith be subordinate to him in all things. Lilith refused, and left Adam alone in the garden of eden. In response, the Seraphim created Eve, a second woman, formed to be the subservient figure that Adam wished, lacking her own free will.

A member of the Seraphim, Lucifer, who had been discontent with the despotic ways that his rank formed the universe, saw Lilith as a kindred spirit, and sought her out. Together they conspired to give Eve the gift of knowledge of

@Twipped
Twipped / datalessons.md
Last active March 20, 2024 06:12
Data storage lessons that I learned the hard way
@Twipped
Twipped / 1 Explain why the sky is blue.md
Last active June 28, 2023 17:27
Having fun with ChatGPT

Explain why the sky is blue

The sky appears blue due to a phenomenon called Rayleigh scattering. It occurs when sunlight interacts with the Earth's atmosphere, specifically with the molecules and small particles present in the air.

Sunlight consists of various colors of light, each with different wavelengths. These wavelengths range from shorter blue and violet wavelengths to longer red and orange wavelengths. When sunlight enters the atmosphere, it encounters molecules such as nitrogen and oxygen, as well as tiny particles like dust and water droplets.

The size of these particles and molecules is smaller than the wavelengths of visible light. When sunlight interacts with them, the particles scatter the light in all directions. However, the scattering of shorter blue and violet wavelengths is more prominent than that of longer red and orange wavelengths due to the size of the particles and the physics involved.

The blue and violet wavelengths of light are scattered more efficiently in all directions by

@Twipped
Twipped / gif.md
Last active June 21, 2022 16:33
Ellipsis

ezgif com-gif-maker Ellipsis-2 3s-164px

@Twipped
Twipped / useClock.js
Last active January 6, 2021 02:42
A small collection of useful react hooks
import {
isSameDay,
isSameYear,
isSameHour,
isSameMinute,
isSameMonth,
isSameSecond,
isSameWeek,
} from 'date-fns';
@Twipped
Twipped / maskedautism.md
Created December 26, 2020 17:34
Masked Autism Traits in Women
  • Deep need for alone time.
  • Off-beat, well-developed and nuanced sense of humor, often leaning towards more nonsensical comedy.
  • Difficulty comprehending sarcasm and satire.
  • Intuitive and sensitive to others' feelings to the point of feeling those feelings. (empath)
  • Meltdowns typically happen in private. Can look together and social in public, then go into complete shutdown or Hulk mode (or both) at home.
  • Deep depth of knowledge and interest around a few topics. Rotating interests as well.
  • May develop a deep knowledge of pop-culture out of a desire to fit in.
  • Strong intellect with distinct gaps in certain topics.
  • High intelligence, analytical with an extensive vocabulary.
  • Has many self-taught skills
@Twipped
Twipped / cultpolice.md
Created August 5, 2020 01:50
The policing of cults

I have a story to tell you.

I was raised as a Jehovah's Witness. My mother, my father, my grandmother, my uncle, his wife and two of my three cousins are all JWs. For more than half of my life my entire social circle was witnesses. It's the entire reason I remained in the closet when I was a teenager, because I would lose everything if I came out. That's how cults work, they isolate you.

I do not believe in a personal god, not in the way Christian's define it, at least. I'm an agnostic, I don't know if there is a higher power or not. I had no faith growing up, but my mother demanded that I continued attending their services as long as I lived under her roof. It wasn't until I was 25 that I finally got a place of my own and was able to stop attending the JW services, but because I did not oppose their teachings, I retained all of my JW friends.

I defended the JW faith to anyone who spoke ill of it, because even tho I did not believe in god, I believed in the power of what they taught. I always scoffed at th