>> uvx abnf-to-regexp -i rfc6350-modified.abnf
Traceback (most recent call last):
File "/Users/***/.cache/uv/archive-v0/***/bin/abnf-to-regexp", line 12, in <module>
sys.exit(main())
~~~~^^
File "/Users/***/.cache/uv/archive-v0/***/lib/python3.14/site-packages/abnf_to_regexp/main.py", line 153, in main
return run(
params=params,
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
| # GPG on Tower |
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
| def digit_count(num, count = 0): | |
| if num < 10: | |
| count += 1 | |
| return count | |
| else: | |
| count += 1 | |
| num = str(num) | |
| num = num[1:] | |
| num = int(num) | |
| digit_count(num, count) |
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
| #!/usr/bin/env zsh | |
| # Setup script for a new macOS machine | |
| # Version of Ruby to use with `chruby` | |
| rubyver="3.2.2" | |
| # Bold font | |
| bold=$(tput bold) | |
| normal=$(tput sgr0) |
From https://thomasleplus.github.io/bookmarklets/
If you don’t know what bookmarklets are, I recommend this introduction.
If you are familiar with bookmarklets but you are not sure how to install one, you can find detailed instructions here.
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
| # Henry Bley-Vroman, 2019 | |
| # | |
| # Usage | |
| # Paste or source this into your shell profile. | |
| # Requires macOS and that your shell supports [[ ]] and '<string> == <starting substring>*' | |
| # (Bash, Zsh, Ksh etc) | |
| # alias php to the latest PHP installed with MAMP | |
| MAMP_PHP__LATEST=$(ls /Applications/MAMP/bin/php/ | sort -V | tail -1) | |
| alias php="/Applications/MAMP/bin/php/${MAMP_PHP__LATEST}/bin/php -c \"/Library/Application Support/appsolute/MAMP PRO/conf/${MAMP_PHP__LATEST}.ini\"" |
This is based on a guide on the Ubnt forums.
Log into your Edgerouter and run the following - sudo -i && vi /config/user-data/update-adblock-dnsmasq.sh
This will switch you to the root user and open up vi.
#!/bin/bash
I hereby claim:
- I am jaredhowland on github.
- I am jaredhowland (https://keybase.io/jaredhowland) on keybase.
- I have a public key ASD1pQNzE0_0oHHfyhh8duLIgfiX-lol--kN64_0U7Svlwo
To claim this, I am signing this object:
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
| Sub AddProgressBar() | |
| ' Parameters to set | |
| progressBarHeight = 3.5 ' height of the progress bar | |
| FillColor = RGB(251, 0, 6) ' Fill color of the progress bar | |
| LineColor = FillColor ' Line color of the progress bar | |
| BackgroundColor = RGB(255, 255, 255) ' background color of the progress bar | |
| fontColor = FillColor | |
| startingSlideNo = 1 | |
| noFontSize = 13 | |
| showSlideNo = True |
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
| cd repository | |
| git checkout --orphan orphan_name | |
| git rm -rf . | |
| rm '.gitignore' | |
| echo "#Title of Readme" > README.md | |
| git add README.md | |
| git commit -a -m "Initial Commit" | |
| git push origin orphan_name |
NewerOlder