Skip to content

Instantly share code, notes, and snippets.

View polRk's full-sized avatar
👋
YDB NodeJS Maintainer

Vladislav Polyakov polRk

👋
YDB NodeJS Maintainer
View GitHub Profile
@niksudan
niksudan / mc-server-setup.md
Last active March 15, 2025 10:03
How to create a new Minecraft Server with DigitalOcean

Creating a new Minecraft Server

This is a short and simple guide on how to set up a multiplayer server running the latest version of Minecraft.

This guide has been tested on Ubuntu 16.04 and 18.04.

Setup

Create a new Ubuntu droplet on DigitalOcean. Make sure it has at least 2GB of RAM, and you provide it with your SSH key.

@dehamzah
dehamzah / generate.js
Last active October 27, 2024 00:48
Generate secret key in NodeJS
require('crypto').randomBytes(48, function(err, buffer) { var token = buffer.toString('hex'); console.log(token); });
@thomd
thomd / semantic-layout.html
Last active November 11, 2024 20:30
Standard HTML5 Semantic Layout
<!DOCTYPE html>
<html>
<head>
<meta charset="utf-8" />
<title>Title</title>
<link href="stylesheets/main.css" rel="stylesheet" />
</head>
<body>
<header>
<hgroup>