All public logs
Jump to navigation
Jump to search
Combined display of all available logs of UVOO Tech Wiki. You can narrow down the view by selecting a log type, the username (case-sensitive), or the affected page (also case-sensitive).
(newest | oldest) View (newer 50 | older 50 ) (20 | 50 | 100 | 250 | 500)- 04:37, 22 May 2024 Busk talk contribs created page Az vm create (Created page with "# az cli create vm set -a RG=foo VM=foo NIC=$VM-nic1 VNET=foo SUBNET=foo ``` az network nic create --resource-group $RG--name $NIC --vnet-name $VNET--subnet $SUBNET az vm c...")
- 02:36, 22 May 2024 Busk talk contribs created page Vault bbolt (Created page with "https://developer.hashicorp.com/vault/tutorials/monitoring/inspect-data-boltdb")
- 01:19, 22 May 2024 Busk talk contribs created page Vault postgresql (Created page with "https://gist.github.com/talalUcef/5a800d2dc4427eb4df1a89c57a315c66")
- 14:16, 21 May 2024 Busk talk contribs moved page Openssl ca 2 to Openssl ca using config file without leaving a redirect
- 14:15, 21 May 2024 Busk talk contribs created page Openssl ca 2 (Created page with "# Openssl ca with config file ## .env.secret ``` set -a ROOTCA1_PWD=ChangeMe ICA1a_PWD=ChangeThis ``` ## source ``` . .env.secret ``` ## init.sh.tpl ``` #!/bin/bash set -eu...")
- 23:45, 19 May 2024 Busk talk contribs created page Vault helm install (Created page with "https://mycloudjourney.medium.com/vault-installation-to-minikube-via-helm-with-integrated-storage-15c9d1a907e6")
- 20:09, 11 May 2024 Busk talk contribs created page Jwt decode (Created page with "``` decode_jwt() { local jwt="$1" local part for part in 1 2; do local base64="$(echo "$jwt" | cut -d. -f$part | tr '_-' '+/')" local len=${#base6...")
- 18:48, 7 May 2024 Busk talk contribs created page Pandas dns csv (Created page with "``` #!/usr/bin/env python3 import csv import sys import dns.resolver import numpy as np import time import pandas as pd def query_dns_a_record(domain, resolver_ip): # p...")
- 17:57, 4 May 2024 Busk talk contribs created page Openssl ca (Created page with "``` keyUsage and extendedKeyUsage are both extensions used in X.509 certificates to specify the purposes for which the public key contained in the certificate can be used. How...")
- 14:10, 4 May 2024 Busk talk contribs created page Go openssl http api (Created page with "``` package main import ( "fmt" "io/ioutil" "net/http" "os" "os/exec" "github.com/labstack/echo/v4" ) func main() { e := echo.New() e.POST("/generate-certificate",...")
- 21:08, 3 May 2024 Busk talk contribs created page Auth methods in http (Created page with "``` Basic Authentication: This is the simplest form of HTTP authentication, where the client sends the username and password encoded in Base64 format in the Authorization head...")
- 19:54, 3 May 2024 Busk talk contribs created page Kusto queries FW (Created page with "``` AzureDiagnostics | where msg_s contains "10.x.x.x" | project msg_s ``` ``` AzureDiagnostics | where ResourceType == "AZUREFIREWALLS" and action_s == "Deny" and src_ip_s =...")
- 01:34, 3 May 2024 Busk talk contribs created page Gorelay (Created page with "# Simple HTTP Relay written in go ``` package main import ( "crypto/tls" "github.com/labstack/echo/v4" "io" "net/http" ) func main() {...")
- 07:51, 2 May 2024 Busk talk contribs created page Docker on ubuntu (Created page with "``` curl -LO https://github.com/docker/compose/releases/download/v2.27.0/docker-compose-linux-x86_64 && chmod +x docker-compose-linux-x86_64 && sudo mv docker-compose-linux-x8...")
- 16:07, 1 May 2024 Busk talk contribs created page Ca revisited (Created page with "https://kubernetes.io/docs/tasks/administer-cluster/certificates/")
- 13:58, 21 April 2024 Busk talk contribs created page Zfs terms (Created page with "``` To decrease the size of a ZFS volume using OpenZFS, you typically need to perform the following steps: Backup Data: Before resizing any volume, it's crucial to back up yo...")
- 15:28, 20 April 2024 Busk talk contribs created page Storage go (Created page with "https://github.com/gostor/awesome-go-storage?tab=readme-ov-file")
- 14:22, 19 April 2024 Busk talk contribs created page Bash profile (Created page with "Show only last two folders ``` PROMPT_DIRTRIM=2 ```")
- 00:42, 18 April 2024 Busk talk contribs created page Venafi python (Created page with "``` #!/usr/bin/env python3 import argparse import base64 from getpass import getpass import json import os import requests import sys class EnvDefault(argparse.Action): d...")
- 16:43, 17 April 2024 Busk talk contribs created page Terraformer (Created page with "``` # if all curl -LO https://github.com/GoogleCloudPlatform/terraformer/releases/download/0.8.24/terraformer-all-linux-amd64 curl -LO https://github.com/GoogleCloudPlatform/t...")
- 01:20, 14 April 2024 Busk talk contribs created page Atlas sql migrations (Created page with "https://github.com/ariga/atlas ``` atlas schema inspect --url sqlite://ucms.db --format '{{ sql . }}' ``")
- 23:43, 13 April 2024 Busk talk contribs created page Go structure (Created page with "``` project/ │ ├── cmd/ │ └── your_app/ │ └── main.go │ ├── internal/ │ ├── models/ │ │ ├── user.go │ │...")
- 22:54, 13 April 2024 Busk talk contribs created page Migrations in sql (Created page with "https://github.com/ariga/atlas")
- 17:31, 13 April 2024 Busk talk contribs created page Lxc profile (Created page with "``` lxc profile get default boot.autostart lxc profile set default boot.autostart lxc list --format=json | jq --raw-output '.[].name' lxc config set mycontainer boot.autos...")
- 01:14, 12 April 2024 Busk talk contribs created page Ceph repair (Created page with "When you receive a message indicating possible data damage with 2 placement groups (PGs) inconsistent in a Ceph cluster, it's crucial to address the issue promptly to ensure d...")
- 16:09, 11 April 2024 Busk talk contribs created page Recaptcha (Created page with "https://developers.google.com/recaptcha/docs/v3")
- 22:26, 10 April 2024 Busk talk contribs created page Go sql (Created page with "``` sqlx: Provides a set of extensions on top of the standard Go database/sql library, adding support for fluent query building, struct mapping, and more. gorm: An ORM (Objec...")
- 20:48, 10 April 2024 Busk talk contribs created page Powershell dns (Created page with "``` get-DnsServerResourceRecord -ZoneName example.com -RRType "CNAME" -Name foo.example.com remove-DnsServerResourceRecord -ZoneName example.com -RRType "CNAME" -Name foo.exa...")
- 19:27, 10 April 2024 Busk talk contribs created page Zpool scrub (Created page with "``` sudo zpool scrub default zpool status ``` ``` scan: scrub in progress since Wed Apr 10 19:26:45 2024 15.3G scanned at 540M/s, 1.47G issued at 52.0M/s, 15.3G tot...")
- 19:24, 10 April 2024 Busk talk contribs created page Zfs list (Created page with "``` zfs list -r default zfs list -r tank ```")
- 17:36, 10 April 2024 Busk talk contribs created page Lxd expand default storage (Created page with "``` Assumptions: 1) One zfs pool called ‘default’ that lives on the hard drive at /var/lib/lxd/disks/default.img. 2) Running as root. 3) Growing pool ‘default’ from 25...")
- 16:30, 10 April 2024 Busk talk contribs created page Microceph Troubleshooting (Created page with "If a Ceph OSD (Object Storage Daemon) is reported as down while the cluster node itself is still up, there could be several potential reasons for this issue. Here are some com...")
- 20:52, 8 April 2024 Busk talk contribs created page Smtpd server python (Created page with "``` import asyncore from smtpd import SMTPServer class MySMTPServer(SMTPServer): def process_message(self, peer, mailfrom, rcpttos, data): print(f"Received messa...")
- 19:31, 8 April 2024 Busk talk contribs created page F5 backup config script (Created page with "``` #!/bin/bash set -eu hosts=" myhost.example.com " ts=`date +%Y-%m-%d_%H-%M-%S` for host in ${hosts[@]}; do echo $host mkdir -p bkp sshpass -p ${USERPASS} ssh ${USER...")
- 18:06, 8 April 2024 Busk talk contribs created page Email python 2 (Created page with "``` import smtplib from email.mime.text import MIMEText SMTP_SERVER = 'localhost' # SMTP server address (echo server running on localhost) SMTP_PORT = 1025 # Port used by t...")
- 15:49, 8 April 2024 Busk talk contribs created page Labstack gorm example 1 (Created page with "``` package main import ( "github.com/google/uuid" "github.com/labstack/echo/v4" "gorm.io/driver/sqlite" "gorm.io/gorm" ) var db *gorm.DB type Page struct {...")
- 15:32, 8 April 2024 Busk talk contribs created page Email python simple (Created page with "``` import smtplib # SMTP server details SMTP_SERVER = 'smtp.example.com' SMTP_PORT = 25 # Sender and recipient details FROM = 'sender@example.com' TO = 'recipient@example.c...")
- 16:01, 6 April 2024 Busk talk contribs created page Image conversion (Created page with "# ImageMagick ``` sudo apt install imagemagick convert input.png -resize 800x600 output.png convert "$input_png" -define icon:auto-resize=64,48,32,16 "$output_ico" ```")
- 20:30, 5 April 2024 Busk talk contribs created page Kusto queries FD (Created page with "Front Door Query '``` AzureDiagnostics | where hostName_s == "<my FQDN of URI>" and requestUri_s hasprefix "https://<$FQDN>:443/my-app-path" | where TimeGenerated between (dat...")
- 02:26, 4 April 2024 Busk talk contribs created page Nginx geo ip restrict (Created page with "https://shashanksrivastava.medium.com/block-a-website-in-specific-countries-using-nginx-20a651288795")
- 16:02, 3 April 2024 Busk talk contribs created page Radar for tech (Created page with "https://www.thoughtworks.com/radar")
- 16:36, 2 April 2024 Busk talk contribs created page F5 notes1 (Created page with "``` # when HTTP_RESPONSE { # set client [IP::client_addr]:[TCP::client_port] # set benode [IP::server_addr]:[TCP::server_port] # set benodeResp [HTTP::status] # l...")
- 20:27, 1 April 2024 Busk talk contribs created page Agw queries (Created page with "# Sum all client_ips ``` AzureDiagnostics | where ResourceType == "APPLICATIONGATEWAYS" and OperationName == "ApplicationGatewayAccess" and host_s == "<app service or bff doma...")
- 18:44, 1 April 2024 Busk talk contribs created page Nginx access gateway (Created page with "``` error_log /dev/stdout info; # error_log stderr; worker_processes 1; daemon off; pid /tmp/nginx.pid; events { } http { access_log /dev/stdout; upstream backend_serv...")
- 00:07, 1 April 2024 Busk talk contribs created page Sqlite sync (Created page with "``` package main import ( "database/sql" "fmt" _ "github.com/mattn/go-sqlite3" ) func main() { // Open source SQLite database sourceDB, err := sql.Open("...")
- 14:05, 31 March 2024 Busk talk contribs created page Blackbox exporter feature wish list (Created page with "https://github.com/prometheus/blackbox_exporter/pull/1222 discussed in https://github.com/prometheus/blackbox_exporter/pull/1098")
- 23:16, 30 March 2024 Busk talk contribs created page Git signoff (Created page with "``` In your local branch, run: git rebase HEAD~2 --signoff Force push your changes to overwrite the branch: git push --force-with-lease origin my-branch ```")
- 16:46, 30 March 2024 Busk talk contribs created page Git sign commits (Created page with "# Error ``` error: gpg failed to sign the data fatal: failed to write commit object ``` ## Do ``` export GPG_TTY=$(tty) ```")
- 09:00, 30 March 2024 Busk talk contribs created page Blackbox exporter customized (Created page with "https://learn.microsoft.com/en-us/azure/templates/microsoft.insights/webtests")
- 16:39, 29 March 2024 Busk talk contribs created page Visual studio code (Created page with "# Settings -> Font ``` Consolas, 'Courier New', monospace -> Cascadia Mono ```")