- 1 WAN
- 2 Mgmt - 192.168.88.1
- 3 - Multi WAN 1
- 4 - Multi WAN 2
- 5-8 Bridge with POE enabled
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| background = #000000 | |
| clipboard-trim-trailing-spaces = true | |
| clipboard-paste-protection = false | |
| copy-on-select = clipboard | |
| cursor-click-to-move = true | |
| cursor-style = block | |
| cursor-style-blink = false | |
| font-family = "SF Mono" | |
| font-size = 18 | |
| font-thicken = true |
Outside of Note
Note
This is an inlined note. It has automatic line wrapping. It has automatic line wrapping. It has automatic line wrapping. It has automatic line wrapping.
Outside of Note
Note
This inlined note has >
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| /* | |
| * A C implementation that mimics Perl's 'chomp' functionality. | |
| * Reads from standard input and outputs all characters except the trailing newline. | |
| * Preserves internal newlines but removes only the final newline if present. | |
| * Compile with: gcc -O2 -o chomp chomp.c | |
| */ | |
| #include <stdio.h> | |
| int main(void) { |
Reference: https://github.com/ggml-org/whisper.cpp/blob/master/README.md
In .zshrc, add:
export DYLD_LIBRARY_PATH="/usr/local/lib:${DYLD_LIBRARY_PATH}"
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| #!/bin/bash | |
| # https-server | |
| # 2025-04-30 | |
| # | |
| # This script starts a one-off HTTPS server using OpenSSL. | |
| # It generates a temporary self-signed SSL certificate and private key, | |
| # then uses OpenSSL's s_server command to serve files from the current directory | |
| # over an encrypted HTTPS connection on port 4443. | |
| # | |
| # The script also handles cleanup: |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| # python logging for AWS Lambda function | |
| import logging | |
| # boto3 internally uses DEBUG and INFO; therefore start with WARNING level | |
| logging.basicConfig(level=logging.WARNING) | |
| def lambda_handler(event, context): | |
| logging.warning(f"{event=}") |
Open SingleFile extension preferences...
For the File Name field use this:
SingleFile/%if-empty<%replace<{page-title}| |_>|no_title>--{year-locale}{month-locale}{day-locale}.{hours-locale}{minutes-locale}{seconds-locale}.{filename-extension}
Example file (uses local time):
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| # to be placed in .zshrc or .bashrc on MacOS | |
| function batt-info() { | |
| echo | |
| system_profiler SPPowerDataType | grep Wattage | cut -c 7- | |
| echo | |
| pmset -g batt | |
| } |
NewerOlder