Skip to main content
Advanced Search
Search Terms
Content Type

Exact Matches
Tag Searches
Date Options
Updated after
Updated before
Created after
Created before

Search Results

108 total results found

CheatSheet

Github command & tricks

add file to stage git add <file> add commit git commit -m ['msg'] push commit git push pull repo git pull

Tiers & Payements

NTFY

Creat tiers coming soon Implement payment Coming soon

Node exporter

Monitoring

Installation of node exporter Download the package from the github repository cd /tmp wget <link to the last release> tar xvfz node_exporter-*.*-amd64.tar.gz sudo mv node_exporter-*.linux-amd64/node_exporter /usr/local/bin/ chmod +x /usr/local/bin/node_exporte...

Prometheus

Monitoring

Install Prometheus First download the source from the web site wget <link of the source> tar xvf prometheus-*.*-amd64.tar.gz mv prometheus-*.*-amd64 prometheus-files Create an user to run Prometheus and give it the ownership sudo useradd --no-create-home --sh...

Grafana

Monitoring

InfluxDB

Monitoring

Installation

NixOS

Installation

NixOS Home-Manager

Modules

NixOS Home-Manager

Standalone

NixOS Home-Manager

Configuration

NixOS Home-Manager

Dotfiles

NixOS Home-Manager

Setup

NixOS Flakes

Configuration

NixOS Flakes

Updating

NixOS Flakes

Flakes on fresh install

NixOS Flakes

Global infra

Infrastructure

Servers Name IP FQDN Description ashguardTV 192.168.20.95 ashguardtv.local NAS ashguard 192.168.20.22 ashguard.local Proxmox Application NAS Name IP Port FQDN Description qBittorent 192.168.20.95 XX qbittorent.ashguardtv.local Torrent manage...

Temporary Download URL

Snippets

import crypto from 'crypto'; // Generate a signed URL valid for 5 minutes function generateSignedUrl(fileName: string, secret: string) { const expiresIn = 5 * 60 * 1000; // 5 minutes const expiresAt = Date.now() + expiresIn; const signature = crypto.cre...

Download with auth

Snippets

Middleware import express, { Request, Response, NextFunction } from 'express'; import jwt from 'jsonwebtoken'; const authenticate = (req: Request, res: Response, next: NextFunction) => { const authHeader = req.headers['authorization']; const token = authH...