All New

user:thomas gists created by user

title:mygist gists with given title

description:sync gists with given description

filename:myfile.txt gists having files with given name

extension:yml gists having files with given extension

language:go gists having files with given language

topic:homelab gists with given topic

all:systemctl search all fields

Register

Login

All New Register Login

All gists

Recently created
Least recently created
Recently updated
Least recently updated
Korbs's Avatar

Korbs / 955a131032e44682a1a3b7c653f9dc98

0 likes
0 forks
4 files
Last active 3 months ago
1 <h2 data-i18n="page-heading"></h2>
2 <p data-i18n="message"></p>
3 <a data-i18n="links.source" href="#"></a>
4
5 <script>
6 const availableLocales = ['en', 'jp']
7 const locales = {
8 en: {
9 "page-heading": "i18n in Vanilla JavaScript",
10 "message": "This is a sample text.",
Korbs's Avatar

Korbs / 0386a43f4bd14e398de6d471d2b19e48

0 likes
0 forks
2 files
Last active 3 months ago
1 services:
2 nephele:
3 image: oci.registry.sudovanilla.org/cloud
4 restart: always
5 ports:
6 - 'PORT:80'
7 volumes:
8 - ./storage/:/data
9 environment:
10 REALM: cloud1.sudovanilla.org
Korbs's Avatar

Korbs / Playing Watch Dogs 2 on Steam Deck (Ubisoft Connect)

0 likes
0 forks
1 files
Last active 1 month ago

Playing Watch Dogs 2 on Steam Deck (Ubisoft Connect)

This guide assumes you already installed Ubisoft Connect via Lutris.

Configuration

Game options

Be sure that the Executable is already set to the installed Ubisoft Connect, not the installer itself.

Korbs's Avatar

Korbs / Git Orphan Branch

0 likes
0 forks
1 files
Last active 3 months ago
1 cd repository
2 git checkout --orphan NEW_ORPHAN_BRANCH_NAME
3 git rm -rf .
4 rm '.gitignore'
5 echo "# New Orphan Branch" > README.md
6 git add README.md
7 git commit -a -m ":rocket: Init"
8 git push origin NEW_ORPHAN_BRANCH_NAME
Korbs's Avatar

Korbs / 58c32c97ca8f490a9a19471299832d1a

0 likes
0 forks
3 files
Last active 3 months ago
1 .video-container {
2 position: relative;
3 }
4 .video-container canvas {
5 top: 0px;
6 left: 0px;
7 width: 100%;
8 height: 100%;
9 object-fit: cover;
10 z-index: -1;
Korbs's Avatar

Korbs / 44a1730be2514820bcf4d58af54b1a23

0 likes
0 forks
1 files
Last active 3 months ago
1 ---
2 // Request Data
3 const Teams = await fetch('https://example.org/data.json').then((response) => response.json())
4 ---
5
6 <!-- Map JSON Data -->
7 {Teams.map((team) =>
8 {
9 <div class="team">
10 <h2>{team.name}</h2>
Korbs's Avatar

Korbs / 24f283e831b14a9b85b9dd1f76cc4ec6

0 likes
0 forks
3 files
Last active 3 months ago
1 'use strict';
2
3 var cacheVersion = 1;
4 var currentCache = {
5 offline: 'offline-cache' + cacheVersion
6 };
7 const offlineUrl = 'offline.html';
8
9 this.addEventListener('install', event => {
10 event.waitUntil(
Korbs's Avatar

Korbs / 9d8c050b9781475d8dbfc4398adabc72

0 likes
0 forks
3 files
Last active 3 months ago
1 <div include-html="./component.html"></div>
2 <script>includeHTML()</script>
Korbs's Avatar

Korbs / 6a076197ba074b1ea05ef39e05c241c6

0 likes
0 forks
1 files
Last active 3 months ago

SudoVanilla Ark and Commit Signing

Sign commits when pushing to SudoVanilla Ark and other Forgejo/Gitea instances.

Generate SSH Key

Generate a new SSH key using the ssh-keygen key. We'll name it ark so we know in the future that this key is used for SudoVanilla Ark or whatever you originally planned to use it for.

Run:

ssh-keygen -o -f ~/.ssh/ark -a 100 -b 4096 -C "KeyName"
Korbs's Avatar

Korbs / 4da296253b454d13b8b68ea7c97477f0

0 likes
0 forks
1 files
Last active 3 months ago

Selfhosting Minecraft Java Server

Getting around to selfhosting your own Minecraft Java server has it's perks and gives you full control of your server's data, it's also much more affordable compared to using a SaaS.

If you have a spare machine laying around that is no longer in use, it would be re-purposed as a Minecraft server.

Hardware Requirements

For the piece of hardware you'll be using to host the server on, you want to make sure you know it can handle it. For your CPU, it should at least have 4 or more cores over 2GHz. 4GB - 8GB or more RAM(Memory), this also varies how much you add to the server like the amount of players connecting or the many plugins or mods you add. For disk space, I make sure you have at least 8GB or more, this also varies like it does with RAM.

Newer Older

Powered by Opengist ⋅ Load: 275ms⋅

English
العربية Čeština Deutsch English Español Français Magyar Italiano 日本語 Polski Português Русский Türkçe Українська 简体中文 繁體中文