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 January 22, 2026 20:23 — 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 on November 13 2019 and it was last updated on May 5 2021.

From now on, this forked gist is maintained by Martin Eesmaa since 17 September 2022.

Last updated: 08 January 2026

@gmemstr
gmemstr / Pipfile
Last active January 9, 2026 17:10
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