Skip to content

Instantly share code, notes, and snippets.

@pikapower9080
pikapower9080 / index.js
Created January 18, 2023 01:43
Undertale Randomizer (MAC)
/*
Note: this node.js script will only work on mac with the steam version of the game, sorry about that.
MAKE A BACKUP BEFORE RUNNING
To make a backup: Copy the files in your undertale resources folder to a new folder somewhere safe
To find your resources folder:
- Open Finder
- Press Command + G
- Paste ~/Library/Application Support/Steam/steamapps/common/Undertale/UNDERTALE.app/Contents/Resources
*/
@pikapower9080
pikapower9080 / links.html
Last active October 3, 2022 14:00
HTML Links Example
@pikapower9080
pikapower9080 / game.json
Created August 27, 2022 19:09
Text adventure engine example story
{
"comment": "This is an example story! Feel free to use this as your base!",
"meta": {
"title": "Space Vacation",
"author": "pikapower9080",
"description": "An example story"
},
"options": {
"hasEndingItem": true,
"endingItemId": "flashlight",
@pikapower9080
pikapower9080 / inspect.js
Created May 26, 2022 12:30
Javascript Bookmarklets
const script = document.createElement("script")
script.type = "module"
script.src = "https://cdn.jsdelivr.net/gh/vanillawc/wc-monaco-editor@1/index.js"
document.head.appendChild(script)
const mainDiv = document.createElement("div")
mainDiv.id = "inspect-main"
const textarea = document.createElement("wc-monaco-editor")
textarea.setAttribute("language", "html")
textarea.setAttribute("src", `data:text/plain,${encodeURIComponent(document.documentElement.innerHTML)}`)
document.body.appendChild(mainDiv)
@pikapower9080
pikapower9080 / htmlformatting.html
Last active April 23, 2022 15:39
An example of some basic HTML formatting for my HTML tutorial
<!DOCTYPE html>
<html>
<head>
<title>HTML Formatting Example</title>
</head>
<body>
<h1>HTML Formatting</h1>
<h2>Headings:</h2>
<h1>Heading 1</h1>
<h2>Heading 2</h2>
@pikapower9080
pikapower9080 / htmlshell.html
Created April 22, 2022 20:51
A super basic html shell - for my HTML tutorial
<!DOCTYPE html>
<html>
<head>
<title>My Site - Home</title>
</head>
<body>
</body>
</html>
@pikapower9080
pikapower9080 / bud-4-21-22.html
Created April 21, 2022 15:53
A version of my BUD game on one page
<!DOCTYPE html>
<!-- A version of my BUD game saved on to one page on 2-21-22 https://pikapower9080.github.io/games/bud -->
<html>
<head>
<meta charset="utf-8">
<meta http-equiv="X-UA-Compatible" content="IE=edge">
<meta name="viewport" content="width=device-width, initial-scale=1">
<meta name="description" content="">
<meta name="Keywords" content="thereal_pika, pikapower9080">
<meta name="author" content="pikapower9080">
@pikapower9080
pikapower9080 / doggo.html
Last active April 21, 2022 13:23
A cute picture of a dog, another html-sandbox example.
<!DOCTYPE html>
<html>
<head>
<title>DOGGO!</title>
<style>
body{
overflow: clip;
}
#doggo{
position: absolute;
@pikapower9080
pikapower9080 / hover.html
Last active April 21, 2022 12:38
An example html file for html-sandbox
<!DOCTYPE html>
<!-- This is an example html file for html-sandbox -->
<html>
<head>
<title>CSS Hover Effect</title>
<style>
/* Animation from animista */
@import url("https://fonts.googleapis.com/css?family=Merriweather:400,400i,700");
@keyframes text-pop-up-top {
0% {