Skip to content

Instantly share code, notes, and snippets.

'|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>'
@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
@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 / 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"],
octoshock: {
viableMoves:{
"hurricane":1,
"brine":1,
"octazooka":1,
"zapcannon":1,
"hydropump":1,
"focusblast":1,
"aquajet":1
},
@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">
@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"