Skip to content

Instantly share code, notes, and snippets.

@Xyphis12
Xyphis12 / SplineCity.html
Last active September 19, 2026 17:09
Spline City - AI Generated Mobile Friendly City Builder
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="utf-8">
<meta name="viewport" content="width=device-width,initial-scale=1,maximum-scale=1,user-scalable=no,viewport-fit=cover">
<meta name="theme-color" content="#10141a">
<!-- Without these, "Add to Home Screen" on iOS just bookmarks the page — it
still opens inside Safari with the address bar and bottom toolbar, and
that toolbar can sit on top of (or eat into) anything pinned to the
bottom of the page, which is exactly why the dock could go missing.
@Xyphis12
Xyphis12 / notes.md
Last active September 11, 2026 19:13
PowerPutt Notes

Notes for My PowerPutt (Nighthawk) Hack

Here’s what I’ve done so far to try to get PowerPutt working outside of a real “Nighthawk” arcade machine — I only have the CID 21 and I/O board. I know a lot of people say PowerPutt is super picky about hardware, but since it looks like it's running something very close to Linux From Scratch, I figured maybe we can run it on more common hardware.


What I Have & What I Did

  1. I purchased a hard drive from a “Power Putt 3 course” that had a label: PP1.00.06 08-25-08 When I examined it, I saw: Nighthawk V9.11, Boot Agent V1.30, and Software 21‑V1.00.08.
@Xyphis12
Xyphis12 / network_metrics.sh
Last active August 14, 2024 08:42
Network Monitoring PI - Lots of help from ChatGPT. network_metrics.sh could be ran as a cron job, and the network_metrics_display could be a service
#!/bin/bash
# Dependencies: speedtest-cli, mtr, dnsutils (install with: sudo apt install speedtest-cli mtr dnsutils)
# Directory to store JSON files
json_dir="/path/to/json_directory"
# JSON file prefix
json_prefix="network_metrics"
@Xyphis12
Xyphis12 / stats.html
Last active August 14, 2024 09:18
stattable
<!-- Pokemon Stat Table generator example by dtalley11 -->
<html>
<head>
<style type="text/css">
td.statname {text-align: right; padding-right: 5px;}
table.stattable {border: 1px solid black;}
td.statvalue {text-align: center;}
table.stattable, td.statname, td.statvalue {border: 1px solid black;}
</style>
<script language="javascript" type="text/javascript">
octoshock: {
viableMoves:{
"hurricane":1,
"brine":1,
"octazooka":1,
"zapcannon":1,
"hydropump":1,
"focusblast":1,
"aquajet":1
},
@Xyphis12
Xyphis12 / learnset.js
Last active August 29, 2015 13:56
Infelino (tadasuke)
infelino:{
learnset:{
bite:["6L1"],
leer:["6L1"],
quickattack:["6L5"],
pursuit:["6L5"],
firefang:["6L13"],
thunderfang:["6L13"],
icefang:["6L13"],
defog:["6L20"],
@Xyphis12
Xyphis12 / formats-data.js
Last active August 29, 2015 13:56
Adametal code (HeaLnDeaL)
adametal: {
viableMoves:{
"geargrind":1,
"ironhead":1,
"earthquake":1,
"dragonclaw":1,
"irontail":1,
"outrage":1,
"shadowclaw":1,
"stoneedge":1
@Xyphis12
Xyphis12 / joinmsg.js
Created February 22, 2014 05:11
joimsg.js
/*********************************************************************************
* Join Messages
* This file uses key:value pairs to specify a join message for each channel
* To add a message, simple create a new pair in the form of 'channel': 'message'.
*
* The protocol-doc.md file documents many aspects of the chat protical,
* including using HTML in a message.
*
* If you change this file, and want the changes to take effect,
* Simply type the command: /hotpatch chat as an admin in the chat, and it should
'|html|<div class="infobox" style="border-color:blue"><center><img src="http://i.imgur.com/RKZTxPs.png"><br />' +
'<b><u>Welcome to the Frost Server!</u></b><br />' +
'Home of many leagues for you to join or challenge, battle users in the ladder or in tournaments, learn how to play Pokemon or just chat in lobby!<br /><br />' +
'Make sure to type <b>/help</b> to get a list of commands that you can use and <b>/faq</b> to check out frequently asked questions.<br /><br />' +
'To get a chatroom for your league, please talk to an admin (~) to receive one<br /><br />' +
'Feel free to jam out with Frost <a href="http://plug.dj/frost-ps/">here</a>!<br /><br />' +
'<b>Frost</b>-<blockquote><em>Promoting your league, one challenger at a time</em></blockquote></div></font></center>'
/**
* System commands
* Pokemon Showdown - http://pokemonshowdown.com/
*
* These are system commands - commands required for Pokemon Showdown
* to run. A lot of these are sent by the client.
*
* If you'd like to modify commands, please go to config/commands.js,
* which also teaches you how to use commands.
*