Skip to content

Instantly share code, notes, and snippets.

View ChrisvanChip's full-sized avatar
🎉
Cleaned up my repositories

Chris van Chip ChrisvanChip

🎉
Cleaned up my repositories
  • The Netherlands
View GitHub Profile
@ChrisvanChip
ChrisvanChip / index.js
Created April 11, 2024 12:41
Init for CoderV2 node.js
const express = require('express');
const axios = require('axios');
const app = express();
const port = 3000;
app.get('/', (req, res) => {
res.send("HTTP 200 - Workspace active")
});
/* Files App 0.7.0 - https://www.files.gallery/ */ ! function(e) {
var J = !0;
function t(e = _c.current_dir.path, t = _c.current_dir.basename, i) {
var a = (_c.file_names || []).length;
document.title = _c.config.title ? _c.config.title(e, t, i, a) : _c.title.replace("%name%", t || "/").replace("%path%", e).replace("%count%", a)
}
function i(e) {
return e ? e.replace(/"/g, """) : ""
}
const __html__ = "<a id=\"download\" href=\"#\" download=\"export.rbxmx\" style=\"display:none;\">Download</a>\r\n<button id=\"convselect\">Convert Selection</button>\r\n<button id=\"closeplugin\">Close Plugin</button>\r\n<script>\r\n document.getElementById(\"closeplugin\").onclick = () => {\r\n parent.postMessage({ pluginMessage: { type: 'close-plugin' } }, '*')\r\n }\r\n document.getElementById(\"convselect\").onclick = () => {\r\n parent.postMessage({ pluginMessage: { type: 'exec' } }, '*')\r\n }\r\n \r\n onmessage = (event) => {\r\n const { type, data } = event.data.pluginMessage;\r\n \r\n if (type === \"Download\") {\r\n const DownloadLink = document.getElementById(\"download\");\r\n\r\n DownloadLink.href = \"data:text/xml;charset=utf-8,\" + encodeURIComponent(data);\r\n DownloadLink.click();\r\n }\r\n }\r\n</script>";/*
BETA VERSION
@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@

Keybase proof

I hereby claim:

  • I am chrissie1234 on github.
  • I am chrissie (https://keybase.io/chrissie) on keybase.
  • I have a public key ASCdQZDjaoAp4yUhJyux-uXVIxxHZ3iSty6g-a-m6jDuBwo

To claim this, I am signing this object:

Keybase proof

I hereby claim:

  • I am chrissie1234 on github.
  • I am chrisvanchip (https://keybase.io/chrisvanchip) on keybase.
  • I have a public key ASAPUPTse4Z0XzBlLcJOQw7k2TpMy9ysvbzxqV-yTttrtgo

To claim this, I am signing this object: