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 / ba16d4261d0749259c597da1ad083e1e

0 likes
0 forks
1 files
Last active 1 month ago
1 <video controls style="width: 100%; margin-bottom: 24px;" src="./vid.mp4"></video>
2 <div class="full-seekbar">
3 <div class="video-timestamp">
4 <span id="text-live">--:--</span>
5 <span id="text-full">--:--</span>
6 </div>
7 <div class="seekbar">
8 <span class="seekbar-current-progress"></span>
9 <span class="seekbar-tooltip"></span>
10 <input id="seek" name="seekbar" type="range"/>
Korbs's Avatar

Korbs / a3dce5d09f1142169f492e7dae101613

0 likes
0 forks
1 files
Last active 1 month ago

Installing Agent on Linux

To install an agent into your Linux machine, Docker Engine is required to be installed.

Once done, create a new folder somewhere on the server and put the following file, named docker-compose.yml into it:

services:
    drone-runner-docker:
        volumes:
            - /var/run/docker.sock:/var/run/docker.sock
        environment:
Korbs's Avatar

Korbs / b8b74de2925345cd95c34eca274f0d10

0 likes
0 forks
1 files
Last active 1 month ago

Letter to Netweak

About

This email explains ideas and features that SudoVanilla is interested in seeing on the service in the future.


Based on Status

Korbs's Avatar

Korbs / a2bdaf5add0643faaf215ce6544680d8

0 likes
0 forks
3 files
Last active 1 month ago
1 services:
2 zot:
3 image: ghcr.io/project-zot/zot:latest
4 network_mode: host # Configure the ports in the "config.json" file.
5 stdin_open: true
6 tty: true
7 volumes:
8 - ./config.json:/etc/zot/config.json
9 - ./htpasswd:/etc/zot/htpasswd
10 - ./zot:/var/lib/registry # Generated
Korbs's Avatar

Korbs / 1408498b9961410dbb50c50baf71fddb

0 likes
0 forks
1 files
Last active 1 month ago
1 var htmlElement = document.documentElement;
2 if (navigator.platform.match(/(Mac)/i)) {
3 htmlElement.className = 'Mac'
4 }
5 if (navigator.platform.match(/(Linux)/i)) {
6 htmlElement.className = 'Linux'
7 } else {
8 htmlElement.className = 'Windows'
9 }
10 document.addEventListener('click', function(event) {
Korbs's Avatar

Korbs / 10448ff5e7fc48c4bd668d6b42651904

0 likes
0 forks
1 files
Last active 1 month ago

Randomize Class Names in Astro Web Framework

If you're wanting to have your class names in your Astro website randomized, no extra integrations or packages are needed. This can be done simply using the module method.

Module Method

Your CSS file needs to have the module name in it, such as *.module.css. For this example, we'll use index.module.css.

/* index.module.css */
Korbs's Avatar

Korbs / 4504dda5a13440bf916c6c8ae75f6519

0 likes
0 forks
1 files
Last active 1 month ago

How To

Screen Recording - Using Method in Mozilla Firefox

Violentmonkey Extension

This extension is required, please install for your browser:

  • Chromium
  • Firefox (Mobile is also supported)

Violentmonkey Script

Korbs's Avatar

Korbs / 1669f84c435b4f1cbccfa0fb3fdd030f

0 likes
0 forks
1 files
Last active 1 month ago
1 find . | grep 'JPG' | nl -nrz -w3 -v0001 | while read n f; do mv "$f" "$n.JPG"; done
Korbs's Avatar

Korbs / 955a131032e44682a1a3b7c653f9dc98

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

Powered by Opengist ⋅ Load: 189ms⋅

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