Skip to content

Instantly share code, notes, and snippets.

@mininmobile
mininmobile / game.bat
Created July 12, 2023 01:55
Untitled Mining Game (2017-01-30)
@echo off
title Mining Game
cd C:\
mkdir LaximGames
cd LaximGames
mkdir MiningGame
cd MiningGame
if exist Save.bat goto LoadFound
@mininmobile
mininmobile / gmiToHtml.js
Created May 24, 2022 18:51
convert gemtext to html
// file = { "filePath": "gemtextFileContent" }
// callback = function called once done
function generateHTML(files, callback) {
console.log("\x1b[90m->\x1b[0m generating html site...");
// write altered files
let _files = Object.keys(files);
_files.forEach((f, i) => {
// set title
let title = `/${f} @ zvava.org`;
@echo off
:main
cls
title [{(Eterm)}]
echo [Eterminal]
echo write help/... for help
echo.
:start
set /p input=/...
if %input% == help/... goto help
@mininmobile
mininmobile / README-konami.js.md
Last active September 27, 2018 22:04
Easter egg "konami code" JS library.

konami.js

A simple, lightweight, easter egg library for detecting the Konami Code.

Installation

Add this to your <head>:

<!-- regular -->
<script src="https://gistcdn.githack.com/mininmobile/2d814a5c8e4ef2a8f0a8d7a241d8102e/raw/5788c4732deb0844750066a43dbbd8c1ad6ed1ba/konami.js"></script>
@mininmobile
mininmobile / example.plugin.js
Last active July 16, 2023 13:57
Example BetterDiscord Plugin
//META{"name":"Example"}*//
class Example {
// Constructor
constructor() {
this.initialized = false;
}
// Meta
getName() { return "Example"; }