All New

user:thomas gists created by user

title:mygist gists with given title

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

Register

Login

All New Register Login

All gists

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

Korbs / 337c037a56a74186b1a332531d63cb78

0 likes
0 forks
1 files
Last active 1 month ago

Watch Dogs 2 running on the Steam Deck via Steam Client

For last resort only if all other methods to boot Watch Dogs 2 fails on the Steam Deck. This already assumes you own Watch Dogs(WD1) and Watch Dogs 2(WD2). In my case, I own WD1 via Steam and WD2 via Ubisoft Connect.

I've only been able to get WD1 to boot via Steam client and all other methods to boot WD2 do not work as Ubisoft Connect tends to crash on boot.

Instead, since I am no longer interested in playing WD1, I went ahead and swap out the files in the Steam folder for WD1 with WD2, also making sure the executable still matches the target path so Steam boots it. This appears to work in tricking Steam to boot WD2 without issue and Ubisoft Connects boots properly.

File Structure

Korbs's Avatar

Korbs / 183b3ed1d0b74c25a6433cd1215112ce

0 likes
0 forks
1 files
Last active 1 month 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 1 month 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 1 month 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 1 month 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 1 month 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 1 month 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 1 month 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.

Korbs's Avatar

Korbs / 4c79b17045f54bea96e53bb83cd1db60

0 likes
0 forks
1 files
Last active 1 month ago

Enable Catch-All in Mailcow

Setup a domain first in E-Mail > Configuration > Domain > Domain. Then, once the domain is setup, create an alias that you'll use, go to Alias > Alias.

Create an alias like casper@example.org, then we can setup the catch-all next.

To create an catch-all event, simply just use your domain for an alias. So create an alias called @example.org and set the Goto address to something like casper@example.org.

Korbs's Avatar

Korbs / 4a1b1f2a0a59485fb950fb0469affc09

0 likes
0 forks
4 files
Last active 1 month ago
1 worker_processes 1;
2 events {
3 worker_connections 1024;
4 }
5 http {
6 upstream lemmy {
7 server "lemmy:8536";
8 }
9 upstream lemmy-ui {
10 server "lemmy-ui:1234";
Newer Older

Powered by Opengist ⋅ Load: 140ms⋅

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