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 December 25, 2025 19:43 — 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.

Last updated: 13 December 2025

Also known as itag or format codes and way back they could be specified with the fmt parameter (e.g. &fmt=22). Depending on the age and/or popularity of the video, not all formats will be available.

DASH video

@gmemstr
gmemstr / Pipfile
Last active November 21, 2025 09:58
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