| applyTo | 
|---|
| ** | 
- Think through edge cases before implementing
- Ask as many clarifying questions as needed to avoid unnecessary iterations
| # View all your repos: | |
| (iwr https://api.github.com/users/yetanotherchris/repos?per_page=1000).Content | jq '.[].html_url' | |
| # Get all repositories (including private ones) using gh cli | |
| # The gh cli handles authentication and paging automatically, and private repos | |
| $repos = gh repo list yetanotherchris --limit 1000 --json nameWithOwner,sshUrl | ConvertFrom-Json | |
| # Clone each repository | |
| foreach ($repo in $repos) { | |
| Write-Host "Cloning $($repo.nameWithOwner)..." -ForegroundColor Green | 
| # PowerShell script to update DuckDNS IP address | |
| param ( | |
| [Parameter(Mandatory=$true)] | |
| [string]$Domain, | |
| [Parameter(Mandatory=$true)] | |
| [string]$Token | |
| ) | |
| # Get current public IP address from Akamai | |
| try { | 
What are some ways to increase the performance of Antlr
Here are several effective ways to improve ANTLR performance:
Use the SLL prediction mode first - Set your parser to use PredictionMode.SLL initially, which is faster than the default LL mode. Fall back to LL mode only when SLL fails:
parser.getInterpreter().setPredictionMode(PredictionMode.SLL);From my experience, a Chromebook is so locked down to protect your account, it's not worth trying to boot another Linux version onto it. You can run a Linux image inside its VM, although the performance is a bit poor:
sudo apt updatequickget linuxmint 22 cinnamonquickemu --vm ...| [CmdletBinding()] | |
| param ( | |
| [Parameter(Mandatory=$true)] | |
| [string]$FileName | |
| ) | |
| # This script converts an ePub to Markdown, removing formatting that something like 11reader can't read. | |
| # Then it converts the Markdown to HTML, and finally the HTML to PDF, if you want to retain the images. | |
| # Needs Chrome and NodeJS installed, and Windows. | 
| <body> | |
| <ul id="titles"></ul> | |
| <div id="root"></div> | |
| </body> | 
Based on https://openrouter.ai/settings/integrations
See the "Cited By" section at the bottom for other trust score systems - most notably Microsoft's 2005 "Determination of a reputation of an on-line game player".
FIG. 2 illustrates examples of other behaviors, besides cheating, which can 
| import requests | |
| import isodate # To parse ISO 8601 durations | |
| # Create an API key in Google Cloud: API/Service Details/Credentials | |
| API_KEY = 'mykey' | |
| VIDEO_IDS = [ | |
| 'KZSD3lauzDo', 'puddZhRgRNI', 'YJTjtoKGCYo', '-PjtJeMvsFI', 'KZSD3lauzDo', | |
| 'puddZhRgRNI', 'YJTjtoKGCYo', '-PjtJeMvsFI', 'KZSD3lauzDo', 'puddZhRgRNI', | |
| 'YJTjtoKGCYo', '-PjtJeMvsFI' | |
| ] |