Tutti Nuovi

user:thomas utente che ha creato il gist

title:mygist titolo del gist

filename:myfile.txt nome di file nel gist

extension:yml estensione del file nel gist

language:go linguaggio del file nel gist

topic:homelab Gist con l'argomento dato

Registrati

Entra

Tutti Nuovi Registrati Entra

Tutti i gists

Più recente creazione
Meno recente creazione
Più recente aggiornamento
Meno recente aggiornamento
Korbs's Avatar

Korbs / c7ab272d34ef4a4da9c4c085f17f7e06

0 mi piace
0 forks
3 files
Ultima volta attivo 3 months ago
1 services:
2 certbot_dns_porkbun:
3 image: infinityofspace/certbot_dns_porkbun:latest
4 command: certonly --non-interactive --agree-tos --email ${ACME_EMAIL}
5 --preferred-challenges dns --authenticator dns-porkbun
6 --dns-porkbun-key ${PORKBUN_API_KEY} --dns-porkbun-secret
7 ${PORKBUN_API_SECRET} --dns-porkbun-propagation-seconds 60 -d
8 "${DOMAIN}"
9 volumes:
10 - /etc/letsencrypt:/etc/letsencrypt
Korbs's Avatar

Korbs / ba16d4261d0749259c597da1ad083e1e

0 mi piace
0 forks
1 files
Ultima volta attivo 3 months 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 mi piace
0 forks
1 files
Ultima volta attivo 3 months 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 mi piace
0 forks
1 files
Ultima volta attivo 3 months 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 mi piace
0 forks
3 files
Ultima volta attivo 3 months 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 mi piace
0 forks
1 files
Ultima volta attivo 3 months 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 mi piace
0 forks
1 files
Ultima volta attivo 3 months 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 mi piace
0 forks
1 files
Ultima volta attivo 3 months 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 mi piace
0 forks
1 files
Ultima volta attivo 3 months 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 mi piace
0 forks
4 files
Ultima volta attivo 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.",
Più nuovi Più vecchi

Creato da Opengist ⋅ Load: 99ms⋅

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