Wszystko Nowy

user:thomas Gisty stworzone przez użytkownika

title:mygist Gisty z podanym tytułem

description:sync gists with given description

filename:myfile.txt Gisty zawierające pliki z podanym tytułem

extension:yml Gisty zawierające pliki z podanym rozszerzeniem

language:go Gisty zawierające pliki z podanym językiem

topic:homelab gists with given topic

all:systemctl search all fields

Zarejestruj się

Zaloguj się

Wszystko Nowy Zarejestruj się Zaloguj się
's Avatar

Korbs

Dołączono 7 months ago

Ostatnio utworzono
Najdawniej utworzono
Ostatnio zaktualizowano
Najdawniej zaktualizowano
Wszystkie Gisty 40
Korbs's Avatar

Korbs / ca4ca79d04954338a80999cf08c2bdcb

0 polubień
0 forków
1 plików
Ostatnio aktywne 3 months ago

Script:

const FormatDate = (LocaleDate: string) =>
    new Date(LocaleDate).toLocaleString('en-US', { 
        dateStyle: "short", 
        timeStyle: "short"
    })

FormatDate(YourDateVariable)
Korbs's Avatar

Korbs / c7ab272d34ef4a4da9c4c085f17f7e06

0 polubień
0 forków
3 plików
Ostatnio aktywne 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 polubień
0 forków
1 plików
Ostatnio aktywne 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 polubień
0 forków
1 plików
Ostatnio aktywne 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 polubień
0 forków
1 plików
Ostatnio aktywne 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 polubień
0 forków
3 plików
Ostatnio aktywne 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 polubień
0 forków
1 plików
Ostatnio aktywne 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 polubień
0 forków
1 plików
Ostatnio aktywne 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 polubień
0 forków
1 plików
Ostatnio aktywne 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 polubień
0 forków
1 plików
Ostatnio aktywne 3 months ago
1 find . | grep 'JPG' | nl -nrz -w3 -v0001 | while read n f; do mv "$f" "$n.JPG"; done
Nowsze Starsze

Obsługiwane przez Opengist ⋅ Load: 591ms⋅

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