Make the comment box the focused writing area in a fullscreen asana ticket. (Asana URLs ending in /f
work best, but can also work when there's any task opened on screen.)
This file contains 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
# /// script | |
# requires-python = ">=3.10" | |
# dependencies = [ | |
# "semver", | |
# ] | |
# /// | |
"""Converts poetry's caret requirements to vanila pip compatible qualifier. | |
Poetry's caret qualifier is unique to poetry: | |
https://python-poetry.org/docs/dependency-specification/#caret-requirements |
This file contains 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
"""PDM Lock merge strategy driver. | |
To automatically relock after merging like ``git -X theirs ...``. | |
Used with an entry in ``pyproject.toml``:: | |
[tool.pdm.scripts] | |
merge_lockfile = "tasks/merge_lockfile.py" | |
lockall = "pdm lock -G:all" |
This file contains 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
(* | |
Export All Safari Tabs in All Open Windows to a Markdown File | |
March 8th, 2024 | |
// SCRIPT PAGE | |
https://gist.github.com/yyolk/5ee36b12271d89371fe859630aee80a4 | |
// ORIGINAL SCRIPT ON WHICH THIS SCRIPT WAS ORIGINALLY BUILT | |
http://veritrope.com/code/export-all-safari-tabs-to-a-text-file |
This file contains 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
class AnsiColors: | |
fg_black = "\u001b[30m" | |
fg_red = "\u001b[31m" | |
fg_green = "\u001b[32m" | |
fg_yellow = "\u001b[33m" | |
fg_blue = "\u001b[34m" | |
fg_magenta = "\u001b[35m" | |
fg_cyan = "\u001b[36m" | |
fg_white = "\u001b[37m" | |
bg_black = "\u001b[40m" |
This file contains 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
# curl is usually outdated and missing --upload-file option | |
# pipx install httpie | |
# pip install httpie | |
# apt install httpie | |
# transfer.sh follows HTTP semantics, where PUT is the appropriate file upload method | |
http PUT https://transfer.sh/destination.zip @source.zip | |
# or with redirection | |
http PUT https://transfer.sh/destination.zip < source.zip |
Rust is automatically installed with https://rustup.rs
sh ./install_rust_armv6_target.sh
This file contains 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
diff --git a/setup.py b/setup.py | |
index fc27c7d1e..9e86d7469 100644 | |
--- a/setup.py | |
+++ b/setup.py | |
@@ -12,7 +12,7 @@ dependencies = [ | |
"boto3==1.26.161", # AWS S3 for DL s3 plugin | |
"chiavdf==1.0.10", # timelord and vdf verification | |
"chiabip158==1.2", # bip158-style wallet filters | |
- "chiapos==2.0.0", # proof of space | |
+ "chiapos", # proof of space |
Before Github supported SSL encryption for github pages sites, many people were using CloudFlare (CF) as their DNS provider and CDN proxy. CF allowed users to enable SSL encryption from the CDN end points/proxies to the end user. This was great and it allowed visitors to your website to connect with a secure connection between their browser and the cloudflare CDN box that was serving your content. However, with this setup one (significant) link in the chain remained unencrypted and
This file contains 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
import ccxt | |
def get_price(exchange_client, pair) -> float: | |
return exchange_client.fetch_ticker(pair).get("last") | |
if __name__ == "__main__": | |
binance = (ccxt.binance(), "XRP/USDT") | |
bitfinex = (ccxt.bitfinex(), "XRP/USD") |
NewerOlder