Skip to content

Instantly share code, notes, and snippets.

receivers:
otlp:
protocols:
http:
endpoint: "0.0.0.0:4318"
processors:
batch:
timeout: 5s
send_batch_size: 1000
package main
import (
"context"
"fmt"
"log/slog"
"os"
"time"
"go.opentelemetry.io/contrib/bridges/otelslog"
# Create new AMD64 VM
podman machine init my-amd64-go125
podman machine os apply ghcr.io/apurer/complete-coreos-dev:amd64-go125-final my-amd64-go125
podman machine start my-amd64-go125
podman machine ssh my-amd64-go125
# Test Go 1.25.1
source /etc/profile.d/go125-priority.sh
gv # Shows: go version go1.25.1 linux/amd64
sysinfo # Shows all development tools
# Fix-DNS.ps1
# Run this script in PowerShell as Administrator
Write-Host "=== Flushing DNS Cache ==="
Clear-DnsClientCache
Write-Host "=== Releasing IP Address ==="
ipconfig /release
Write-Host "=== Renewing IP Address ==="
iVBORw0KGgoAAAANSUhEUgAAAYwAAAWzCAIAAABHOJN2AAAAA3NCSVQICAjb4U/gAAAgAElEQVR4nOx9fVzT5fr//Q03+ODImQ7F6VyaruO0LYvWcepsSn2dy4dmJEaKR8rIokP9xBNSnUMPYCdJD4lYhuQRC482D01NRAsdBhoIOkxhehzKcPiwueHGBpz9/ngf7+/nDER87MnrD1/y2efhfrzu676u636//8fv95PrFZ/Pd/DgwcLCwpCQkNmzZw8dOvS6X3Ud4nA4ampqGIYZPXr07fzuTygul4sQEhYW9lMX5I7ckdsnPW7k4ZUrVy5fvry+vp4Q0rt375dffrk7T7lcrq+++qq2tnbMmDFTpky56v0+n8/r9RLW5PT5fCUlJRkZGceOHXvwwQc3btzIMMwN1ON6xOfzud1u+mdoaCiXy8X/XS5Xe3t7x+sOhwP/CQoKIteoa5qamvR6/ebNm/v27bt8+fLw8PAbr0Kn4vF4bn9jdl8qKyvLy8sff/zx27wi3kRxuVzBwcF0VFxJjh8/bjQax44d+xPW1OfzXbWc1yTXucr6r1e8Xm9CQgJ9j0qlstvt3XkwLy+Pw+EQQuRyucViuer9BQUFCoVCpVIZjUZcKSws5PF4+K5SqXS73dddi07F6/XabDabzdbFPcXFxfLLIpPJ8vLycN3pdOp0OplMhutZWVm4brVaNRqNTCaTyWRSqTQ2NrabzQUpKysTCoWEED6fX1VVdd1VC5CSkpLc3Ny8y5KdnR0TE5Odnd2dfrmJZaioqOjOnUVFRXK5nBCSkJBwq0t1i6S2tlaj0SQkJHTdwhjzhJDY2NibPry7I1arFYOhrKwMV9xut16vLy4uvr4Xer3e7OxshUKh0+mudXRdv5Lys2YOIUQqlXY9q6lkZ2fjEZFI1J3RGR0djfvT09NxxWw2S6VSqqScTueN1CJAvF5vVlaWTCZTKBRULXaU2tparVaLMgiFQr1eTx9PTk7GdYFAUFBQQK9nZGTASBEKhenp6V6v
tell application "Notes"
set notesFolder to choose folder with prompt "Choose where to save your exported notes:"
set allNotes to every note
repeat with aNote in allNotes
set noteTitle to name of aNote
set noteText to plain text of aNote
-- Clean file name
set cleanTitle to my cleanFileName(noteTitle)
#
# Copyright 2013-2023 Software Radio Systems Limited
#
# This file is part of srsRAN
#
# srsRAN is free software: you can redistribute it and/or modify
# it under the terms of the GNU Affero General Public License as
# published by the Free Software Foundation, either version 3 of
# the License, or (at your option) any later version.
#
# Use the official emscripten image
FROM emscripten/emsdk:latest
# Install necessary packages
RUN apt-get update && apt-get install -y \
git \
build-essential \
cmake \
python3 \
&& rm -rf /var/lib/apt/lists/*
# Use an Ubuntu base image
FROM ubuntu:latest
# Install necessary dependencies
RUN apt-get update && apt-get install -y \
nginx \
curl \
&& apt-get clean
# Install nvm (Node Version Manager)
package main
import (
"crypto/tls"
"encoding/base64"
"net/http"
"net/http/httputil"
"net/url"
)