Author: Sean Gillies Version: 1.0
This document describes a GeoJSON-like protocol for geo-spatial (GIS) vector data.
| #!/usr/bin/env bash | |
| # CachyOS ISO Downloader - Max Concision | |
| set -euo pipefail | |
| # --- Config --- | |
| readonly I="cachyos-desktop-linux-250713.iso" # ISO filename | |
| readonly M_ESC="magnet:?xt=urn:btih:f4e9c04ba9706d03ebaf43b1b031da6e59173af9&dn=cachyos-desktop-linux-250713.iso&tr=udp%3A%2F%2Ffosstorrents.com%3A6969%2Fannounce&tr=http%3A%2F%2Ffosstorrents.com%3A6969%2Fannounce&tr=udp%3A%2F%2Ftracker.opentrackr.org%3A1337%2Fannounce&tr=udp%3A%2F%2Ftracker.torrent.eu.org%3A451%2Fannounce&tr=udp%3A%2F%2Ftracker-udp.gbitt.info%3A80%2Fannounce&tr=udp%3A%2F%2Fopen.demonii.com%3A1337%2Fannounce&tr=udp%3A%2F%2Fopen.stealth.si%3A80%2Fannounce&tr=udp%3A%2F%2Fexodus.desync.com%3A6969%2Fannounce&tr=udp%3A%2F%2Ftracker.theoks.net%3A6969%2Fannounce&tr=udp%3A%2F%2Fopentracker.io%3A6969%2Fannounce&ws=https%3A%2F%2Fcdn77.cachyos.org%2FISO%2Fdesktop%2F250713%2Fcachyos-desktop-linux-250713.iso&ws=https%3A%2F%2Fcdn.cachyos.org%2FISO%2Fdesktop%2F250713%2Fcachyos-desktop-linux-250713.iso&ws=https%3A%2F%2Faur.cachyos.org%2FISO%2Fdesktop%2F |
| #!/bin/bash | |
| # Function to add or update firewalld policy | |
| add_or_update_firewalld_policy() { | |
| local protocol=$1 | |
| local port=$2 | |
| local zone=$3 | |
| # Check if the rule already exists | |
| if firewall-cmd --zone=$zone --query-port=$port/$protocol; then |
| Traceback (most recent call last): | |
| File "/Users/jeff/brew/bin/github-to-sqlite", line 8, in <module> | |
| sys.exit(cli()) | |
| File "/Users/jeff/Library/Python/3.10/lib/python/site-packages/click/core.py", line 1128, in __call__ | |
| return self.main(*args, **kwargs) | |
| File "/Users/jeff/Library/Python/3.10/lib/python/site-packages/click/core.py", line 1053, in main | |
| rv = self.invoke(ctx) | |
| File "/Users/jeff/Library/Python/3.10/lib/python/site-packages/click/core.py", line 1659, in invoke | |
| return _process_result(sub_ctx.command.invoke(sub_ctx)) | |
| File "/Users/jeff/Library/Python/3.10/lib/python/site-packages/click/core.py", line 1395, in invoke |
| ;; To run export from Bash: | |
| ;; emacs -batch -l ~/.emacs.d/init.el -eval "(org-agenda-export-to-ics)" -kill | |
| ;; if [[ "$?" != 0 ]]; then | |
| ;; notify-send -u critical "exporting org agenda failed" | |
| ;; fi | |
| (setq org-directory "~/Dropbox/org/") | |
| (defun set-org-agenda-files () | |
| "Set different org-files to be used in `org-agenda`." | |
| (setq org-agenda-files (list (concat org-directory "things.org") |
| #!/bin/sh | |
| # dependencies: | |
| # - antiword & pandoc: installable with the package manager in any major distro | |
| # - html2csv: `pip install html-to-csv` | |
| antiword -x db "$1" | pandoc --from=docbook --to=html | html2csv - |
| /* | |
| 3-20-14 | |
| Copyright Steven Mullins 2014 | |
| ATTiny45 | |
| 60Khz Transmitter | |
| Modulated with WWVB signal | |
| Source: https://www.instructables.com/WWVB-radio-time-signal-generator-for-ATTINY45-or-A/ |
| # Author: bandie91 | |
| # Source: https://www.commandlinefu.com/commands/view/9775/draw-kernel-module-dependancy-graph | |
| lsmod | perl -e 'print "digraph \"lsmod\" {";<>;while(<>){@_=split/\s+/; print "\"$_[0]\" -> \"$_\"\n" for split/,/,$_[3]}print "}"' | dot -Tpng | display - |
| // Tristan's Foot Pedals and Latency Tester Arduino Program | |
| // Provides 5 buttons: left click, right click, scroll up, scroll down, latency test | |
| // If you don't want all of these you can comment out the buttons you don't need. | |
| #define BOUNCE_LOCK_OUT | |
| #include <Bounce2.h> | |
| #include "Keyboard.h" | |
| const int scrollInterval = 80; |