Skip to content

Instantly share code, notes, and snippets.

View leolion3's full-sized avatar

Leonard leolion3

View GitHub Profile
@leolion3
leolion3 / 1.DLUSetup.md
Last active May 1, 2024 09:41
How to set up a Lego Universe Server using DLU

How to set up a Lego Universe Server using DLU

Foreword

This guide showcases how to set up a Darkflame Universe server for Lego Universe on Linux (and the Windows Subsystem for Linux WSL)

It has been tested and deemed working ob both WSL 1 running Ubuntu 20.04, HiveOS (basically Ubuntu 18.04) and on Ubuntu 20.04 Azure and Oracle VMs.

The guide is constantly being updated to be more accurate for inexperienced users and to showcase ways of automating the setup process, as well as showcasing how to automate server maintenance and how to keep it up to date.

@leolion3
leolion3 / Salvation.sol
Last active November 4, 2021 01:44
Salvation ERC20 Sourcecode
// SPDX-License-Identifier: MIT
pragma solidity ^0.8.9;
import 'https://github.com/OpenZeppelin/openzeppelin-contracts/blob/master/contracts/token/ERC20/ERC20.sol';
import 'https://github.com/OpenZeppelin/openzeppelin-contracts/blob/master/contracts/token/ERC20/extensions/ERC20Burnable.sol';
contract Salvation is ERC20, ERC20Burnable {
constructor() ERC20('Salvation', 'SLN') {
_mint(msg.sender, cap() * 10 ** 2);