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).

Logs
(newest | oldest) View ( | ) (20 | 50 | 100 | 250 | 500)
  • 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 ```")
  • 21:31, 26 March 2024 Busk talk contribs created page Blackbox exporter header host (Created page with "``` To pass an HTTPS IP address and a Host header value dynamically as targets in Blackbox Exporter configuration, you can use the http_custom_headers module with Prometheus r...")
  • 14:58, 25 March 2024 Busk talk contribs created page Microceph remove mon (Created page with "# Remove ``` systemctl stop snap.microceph.mon.service systemctl disable snap.microceph.mon.service ceph mon remove microceph5 ```")
  • 02:10, 25 March 2024 Busk talk contribs created page Ceph Intro (Created page with "Monitors: A Ceph Monitor (ceph-mon) maintains maps of the cluster state, including the monitor map, manager map, the OSD map, the MDS map, and the CRUSH map. These maps are cr...")
  • 20:29, 24 March 2024 Busk talk contribs created page Lxd remove disk (Created page with "# remove disk ``` lxc config device rm microceph3 osd1 ```")
  • 20:11, 24 March 2024 Busk talk contribs created page Microceph remove (Created page with "``` ceph osd status sudo microceph.ceph osd destroy 2 ceph osd purge osd.2 --yes-i-really-mean-it ``` # Removing node WIP ``` ceph osd dump ceph osd out osd.2 ceph osd crush...")
  • 17:29, 24 March 2024 Busk talk contribs created page Ceph crush algorithm (Created page with "https://docs.ceph.com/en/quincy/rados/operations/crush-map/")
  • 23:32, 23 March 2024 Busk talk contribs created page Microceph multi-node (Created page with "https://canonical-microceph.readthedocs-hosted.com/en/latest/tutorial/multi-node/")
  • 23:00, 23 March 2024 Busk talk contribs created page Microceph upgrade (Created page with "https://canonical-microceph.readthedocs-hosted.com/en/latest/how-to/reef-upgrade/")
  • 22:50, 23 March 2024 Busk talk contribs created page Ceph new (Created page with "``` ceph osd status ceph osd purge osd.3 --yes-i-really-mean-it ``` # Purge vs Destroy In Ceph, both ceph osd destroy and ceph osd purge commands are used to remove OSDs (O...")
  • 14:43, 23 March 2024 Busk talk contribs created page Go echo multiple ports (Created page with "``` import socket import threading def handle_client(client_socket): while True: data = client_socket.recv(1024) if not data: break cl...")
  • 22:45, 22 March 2024 Busk talk contribs created page Curl new (Created page with "``` curl -s -o /dev/null -w "dns:%{time_namelookup}, redir:%{time_redirect}, tcp:%{time_connect}\n" https://yahoo.com ```")
  • 04:19, 18 March 2024 Busk talk contribs created page Pgp postgres (Created page with "``` -- Assuming you have a public key named 'my_public_key' already imported into your keyring -- Encrypting a message SELECT pgp_pub_encrypt( 'Your secret message here',...")
  • 03:01, 18 March 2024 Busk talk contribs created page Openssl new (Created page with "https://serverfault.com/questions/670725/is-it-possible-to-restrict-the-use-of-a-root-certificate-to-a-domain")
  • 15:03, 16 March 2024 Busk talk contribs created page Cfssl new (Created page with "https://blog.laisky.com/p/cfssl/?lang=en")
  • 19:44, 15 March 2024 Busk talk contribs created page Gopki (Created page with "package pki import ( "crypto" "crypto/rand" "crypto/rsa" "crypto/sha256" "crypto/x509" "encoding/pem" "errors" ) // GenerateKeyPair generates a n...")
  • 16:22, 10 March 2024 Busk talk contribs created page Openssl common commands (Created page with "https://www.sslshopper.com/article-most-common-openssl-commands.html ``` General OpenSSL Commands These commands allow you to generate CSRs, Certificates, Private Keys and do...")
  • 03:10, 9 March 2024 Busk talk contribs created page Terraform bash snippets (Created page with "``` sed -i -e '/backend "azurerm"/,/}/ { /resource_group_name/ { s/resource_group_name = .*/resource_group_name = "new-resource-group"/ } /key/!s/}/ resource_group_...")
  • 23:28, 8 March 2024 Busk talk contribs created page Dns registration in windows (Created page with "``` $dnsRegistrationInterval = Get-ItemProperty -Path 'HKLM:\SYSTEM\CurrentControlSet\Services\Tcpip\Parameters' -Name 'RegistrationRefreshInterval' Write-Host "Current DNS Re...")
  • 20:48, 8 March 2024 Busk talk contribs created page Health Check for Application Service (Created page with "https://learn.microsoft.com/en-us/azure/app-service/monitor-instances-health-check?tabs=dotnet https://learn.microsoft.com/en-us/previous-versions/azure/azure-monitor/app/mon...")
(newest | oldest) View ( | ) (20 | 50 | 100 | 250 | 500)