📝 Added sandbox (code sketchbook)

This commit is contained in:
z3rOR0ne 2023-04-22 00:41:54 -07:00
parent b475595f7f
commit b5daf18b1a
142 changed files with 100702 additions and 0 deletions

View file

@ -0,0 +1,18 @@
// simple file for testing out nvim-dap
// see: https://github.com/mfussenegger/nvim-dap
// https://github.com/mfussenegger/nvim-dap/wiki/Debug-Adapter-installation#Javascript
const http = require("http");
const hostname = "localhost";
const port = 3000;
const server = http.createServer((req, res) => {
res.statusCode = 200;
res.setHeader("Content-Type", "text/plain");
res.end("Hello World");
});
server.listen(port, hostname, () => {
console.log(`Server running at http://${hostname}:${port}/`);
});