Skip to content

Instantly share code, notes, and snippets.

View nguyenquy0710's full-sized avatar
🏠

Nguyễn Hữu Quý nguyenquy0710

🏠
View GitHub Profile
# Claude Code CLI Environment Variables
# This file lists all environment variables used in v2.1.118 with explanations
## Anthropic API & Authentication
ANTHROPIC_API_KEY - Primary API key for Anthropic's Claude API. Used as fallback when no OAuth token is configured
ANTHROPIC_AUTH_TOKEN - Alternative bearer token for Anthropic services. Takes priority over ANTHROPIC_API_KEY for authorization headers
ANTHROPIC_BASE_URL - Custom base URL for Anthropic API endpoints. Overrides the default api.anthropic.com endpoint
ANTHROPIC_BETAS - Comma-separated list of beta feature headers to include in API requests. Appended to internal beta flags
ANTHROPIC_CONFIG_DIR - Override Anthropic config directory. Falls back to XDG_CONFIG_HOME/anthropic, then HOME/.config/anthropic
@nguyenquy0710
nguyenquy0710 / git: gitignore.md
Last active June 10, 2024 02:30 — forked from jstnlvns/git: gitignore.md
a gitignore cheatsheet

Git sees every file in your working copy as one of three things:

  1. tracked - a file which has been previously staged or committed;
  2. untracked - a file which has not been staged or committed; or
  3. ignored - a file which Git has been explicitly told to ignore.

Ignored files are usually build artifacts and machine generated files that can be derived from your repository source or should otherwise not be committed. Some common examples are:

  • dependency caches, such as the contents of /node_modules or /packages
  • compiled code, such as .o, .pyc, and .class files
@nguyenquy0710
nguyenquy0710 / free-database-hosting.md
Created December 23, 2023 16:39 — forked from bmaupin/free-database-hosting.md
Free database hosting
@nguyenquy0710
nguyenquy0710 / timezones.json
Created August 27, 2023 13:27
timezones-list
[
{
"label":"Pacific/Midway (GMT-11:00)",
"tzCode":"Pacific/Midway",
"name":"(GMT-11:00) Midway",
"utc":"-11:00"
},
{
"label":"Pacific/Niue (GMT-11:00)",
"tzCode":"Pacific/Niue",

Node.js project folder-structure

0: Starting from Rails

This is the reference point. All the other options are based off this.

|-- app
|   |-- controllers
|   |   |-- admin
- lấy bài hát liên quan:
http://mp3.zing.vn/xhr/recommend?type=audio&id=ZW67OIA0
- lấy data thông qua key:
http://mp3.zing.vn/xhr/media/get-source?type=audio&key=kmJHTZHNCVaSmSuymyFHLH
http://mp3.zing.vn/html5xml/song-xml/kmJHTZHNCVaSmSuymyFHLH
- lấy info bài hát
https://mp3.zing.vn/xhr/media/get-info?type=audio&id=ZW8I7AAI
{"version":1,"resource":"file:///d%3A/vihat/gitlab/tools/vhs.sms.tool.cdc/database/transfer/transfer-01-reseed.sql","entries":[{"id":"yqmw.sql","timestamp":1682412564578},{"id":"HUdu.sql","source":"renamed.source","timestamp":1682412777462},{"id":"esxb.sql","source":"moved.source","timestamp":1682415200821},{"id":"Xi64.sql","source":"renamed.source","timestamp":1682415217993}]}