I hereby claim:
- I am git-on-my-level on github.
- I am david_z (https://keybase.io/david_z) on keybase.
- I have a public key ASB3TqtHvEtXQ9fVmsHehXVbaprG7_CSSbQ5TwQ1evo7kAo
To claim this, I am signing this object:
I hereby claim:
To claim this, I am signing this object:
| import json | |
| from botocore.vendored import requests | |
| import boto3 | |
| import datetime | |
| HARMONY_NODE_1H_STATUS_URL = 'https://harmony.one/1h' | |
| ADDRESS_TO_MONITOR = 'one17ffl9csu7ln3jw07fcvlmh2h8e5pv3ddk9p5sv' | |
| cloudwatch_client = boto3.client('cloudwatch') |
| pragma solidity ^0.8.10; | |
| import "./interfaces/IBalanceChecker.sol"; | |
| import "../lending/core/interfaces/IAToken.sol"; | |
| import "../lending/core/interfaces/IVariableDebtToken.sol"; | |
| import "../lending/core/interfaces/IPool.sol"; | |
| /// @notice Error thrown when trying to get balances for an external token that isn't mapped to a dToken | |
| error ExternalTokenNotMapped(address externalToken); |
| #!/bin/bash | |
| # Set IFS to prevent word splitting issues with spaces in paths | |
| IFS='' | |
| # Use git ls-files -z and a while loop with null delimiter | |
| # The '-d $'\0'' tells read to use null character as delimiter | |
| # The '-r' prevents backslash escapes from being interpreted | |
| git ls-files -z | while IFS= read -r -d $'\0' file_path; do |
| #!/bin/bash | |
| # Initialize arrays to store results | |
| successful_updates=() | |
| failed_updates=() | |
| skipped_repos=() | |
| no_git_repos=() | |
This gist documents a reproducible setup for a “remote shell that feels local” between a laptop and one or more headless Macs (e.g., Mac minis). It is optimized for:
Core design decisions:
This is a practical baseline for reducing exposure to short-lived npm supply-chain attacks. The idea is simple: do not install package versions until they have existed long enough for malicious releases to be reported, removed, or fixed.
This config sets a 5-day minimum package age for npm, pnpm, Yarn, and Bun.
Different package managers use different names and units: