Skip to content

Instantly share code, notes, and snippets.

View androidacy-user's full-sized avatar
🤪
git push --force origin/main

Androidacy Service Account androidacy-user

🤪
git push --force origin/main
View GitHub Profile
The logic is actually quite simple, when /v1/messages api is called through claude code, backend server returns something like
```
anthropic-ratelimit-unified-5h-reset: 1765944000
anthropic-ratelimit-unified-5h-status: allowed
anthropic-ratelimit-unified-5h-utilization: 0.042598363636363636
anthropic-ratelimit-unified-7d-reset: 1766030400
anthropic-ratelimit-unified-7d-status: allowed
anthropic-ratelimit-unified-7d-utilization: 0.3068459187383675
anthropic-ratelimit-unified-fallback-percentage: 0.5
```
@MartinEesmaa
MartinEesmaa / youtube_formats.md
Last active November 18, 2026 17:31 — forked from AgentOak/youtube_formats.md
Youtube Format IDs

Note: This is all almost full YouTube ID informations. Original owner goes to AgentOak, modified version by Martin Eesmaa.

See the credits and also special thanks in below.

Before this gist has been forked, AgentOak made original gist back in November 13th 2019 and it was last updated on May 5th 2021.

From now on, this forked gist is maintained by Martin Eesmaa since 17th September 2022. I joined to yt-dlp Discord server on 3rd April 2026 with my Discord username: martineesmaa.

Last updated: 13 November 2026

@gmemstr
gmemstr / Pipfile
Last active September 16, 2026 09:06
Speedtest against Hetzner servers
[[source]]
url = "https://pypi.org/simple"
verify_ssl = true
name = "pypi"
[packages]
requests = "*"
[dev-packages]
@laaptu
laaptu / CheckingTheme.java
Last active July 6, 2024 19:47
How to get theme id
TypedValue outValue = new TypedValue();
getTheme().resolveAttribute(R.attr.themeName, outValue, true);
if(outValue.equals(getString(R.string.custom_title_theme))){
//you have applied this theme else not
}
//http://stackoverflow.com/questions/7267852/android-how-to-obtain-the-resource-id-of-the-current-theme