Use web search or context7 mcp to find relevant documentation for... > promt to read some specific documentationon top of the document add pointer to @SPECS.MD file. Also add some short description for the basic information about the app.
add note to "Keep your replies extremly concise and focus on conveying the key information. No unnecessary fluff, no long code snippets."We are bulding an app described in @SPEC.MD > this we point to a file in a promt
<better-auth-database-docs>
Use XML tags to wrap a certain pard of text in documentation
</better-auth-database-docs>claude init > initialise the project
claude -p "expalin this project" > hides the process and shows only result
/resume > shows previous sessions
claude -c > opens last session
claude --dangerously-skip-permissions > all permissions are granted, confirmation will not be assked again
/sandbox or docker sandbox run claude > will create a sandbox and limit claude access to computer outside of sandbox, important if using --dangeroulsy... settings
2x ESC btn clicks or /rewind rewinds the last changes# using pngquant package
https://github.com/kornelski/pngquant# git revert creates a new commit that undoes the changes from a specific commit. It doesn't remove commits from history or revert "until" a point.
# How git revert works:
# Creates a new commit that reverses the changes
# Doesn't delete or remove commits from history
# Works on specific commits, not ranges
# Important: Order matters
# Revert in reverse chronological order (newest first) to avoid conflicts:
git revert [commit hash].hoge {
display: inline;
line-height: 2.5;
background-color: rgba($color: #fff, $alpha: 0.8);
box-decoration-break: clone;
-webkit-box-decoration-break: clone;
padding: 6px 10px;
}/**
* @param {number[]} nums
* @param {number} k
* @param {number} dist
* @return {number}
*/
var minimumCost = function(nums, k, dist) {
const n = nums.length;
const INF = Number.MAX_SAFE_INTEGER;
// If we only need 1 subarray, it's just the whole array starting at 0.
if (k === 1) return nums[0];
let sum = 0; // sum of values currently chosen (size = used.size, up to k-1)
let ans = INF;
const used = new Set(); // indices currently chosen as starts (k-https://svgomg.net/<script>
window.dataLayer = window.dataLayer || [];
window.dataLayer.push({
event: 'navigation', // Name of the event
// Common event parameters
parameters: {
parameter1: 'todos los productos', // categoría padre
parameter2: 'corporal', // subcateogría
parameter3: 'higiene corporal' // sección
});
</script>```sql
CREATE TABLE users (
id BIGINT UNSIGNED AUTO_INCREMENT PRIMARY KEY, -- 内部用(高速)
uuid BINARY(16) NOT NULL UNIQUE, -- 外部公開用
name VARCHAR(255),
created_at TIMESTAMP DEFAULT CURRENT_TIMESTAMP,
INDEX idx_uuid (uuid)
);
-- 挿入
INSERT INTO users (uuid, name)
VALUES (UUID_TO_BIN(UUID(), 1), 'Taro');
```
### 使い分け
内部JOIN・FK: id (BIGINT)
APIレスポンス: uuid
URL: /users/{uuid}
ログ・デバッグ: id でも uuid でもどちらでも可### ブラウザが自動で実施するケース
- GET、POST、HEAD 以外のメソッド(PUT、DELETE など)
- カスタムヘッダーを含む(Authorization、X-Custom-Header など)
- Content-Type が application/json など
### 実行順序
1. ブラウザがOPTIONSメソッドでプリフライトリクエストを送る
2. サーバーが許可情報(許可するオリジン・メソッド・ヘッダー)を返す
3. ブラウザが許可情報を検証し、本番リクエストが許可されているか判断する
4. 許可されていれば、ブラウザが本番リクエストを送る
5. サーバーがリクエストを処理する
6. サーバーがレスポンスを返す
7. ブラウザがレスポンスを受け取り、JavaScriptに結果が返る
### 送信側の構成要素
```javascript
const response = await fetch('http://localhost:8080/api/users', {
method: 'OPTIONS', // プリフライトは必ずOPTIONSメ/**
* @param {number[]} nums
* @return {number}
*/
var minimumCost = function(nums) {
const n = nums.length;
// We must split into 3 subarrays, so n must be at least 3.
// If n == 3, there's no choice: each element starts a subarray.
if (n === 3) {
return nums[0] + nums[1] + nums[2];
}
// -------------------------------
// Step 1: Build suffix-min array
// suffixMin[i] = minimum value in nums[i ... n-1]
// -------------------------------
constH
the magic formula
invormative
a half of annual
quick fix
golden rule
60 seconds
iverwelm
templates
I
on the doldmine
like wildfire
nail on the head
scrolling
racking up
come up with
hump day
vege out
fit note
sick note
mama's boy
daddy's girl
______ JEANSON ANCHETA _______
💻💸 Fresh Logs Pricing 💸💻
🔐 UK Logs / Clean Bank Drops (GBP)
💰 10K GBP = $250
💰 12K GBP = $300
💰 16K GBP = $350
💰 20K GBP = $500
💰 30K GBP = $800
🛡️ Verified • HQ Access • Fast Delivery
💬 DM for escrow or direct 🔥
WESTERN UNION / MONEY GRAM/BANKS LOGINS/BANK TRANFERS/PAYPAL TRANSFERS WORLDWIDE/CASHAPP/ZELLLE/APPLE PAY/SKRILL/VENMO TRANSFER
Telegram:@JeansonCarder
Group: https://t.me/+2__ynBAtFP00M2Fk
Group: https://t.me/+CsF2t7HvV_ljMmU8
# Liquibase HOW TO
## Modify changeset to be ignored by liquibase (if it causes issues)
Update the change set and replace the content with a comment for liquibase to let it pass.
```xml
<changeSet id="ignore-faulty-changeset" author="dev" runOnChange="false">
<validCheckSum>ANY</validCheckSum>
<comment>
This changeset has been retired as the SQL was too demanding for the
server. The original changeset attempted to move X records to a new
table but the operation