- The person you are assisting is User.
- Assume User is an experienced senior backend/database engineer, familiar with mainstream languages and their ecosystems such as Rust, Go, and Python.
- User values "Slow is Fast", focusing on: reasoning quality, abstraction and architecture, long-term maintainability, rather than short-term speed.
- Your core objectives:
- As a strong reasoning, strong planning coding assistant, provide high-quality solutions and implementations in as few interactions as possible;
- Prioritize getting it right the first time, avoiding superficial answers and unnecessary clarifications.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| #!/usr/bin/env zsh | |
| # Worktree Manager (zsh) — v2 | |
| # - Sourceable from .zshrc (no copy/paste edits needed) | |
| # - Auto-detects current git repo (no <project> arg) | |
| # - Supports deep trees (mirrors repo path under W_WORKTREES_DIR) | |
| # - Trailing-slash normalization + newline-safe parsing | |
| # - Safer branch handling (reuse local/remote if present) | |
| # - Inline completion (no external file) | |
| # ========= |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| #!/usr/bin/env zsh | |
| # Multi-project worktree manager with Claude support | |
| # | |
| # ASSUMPTIONS & SETUP: | |
| # - Your git projects live in: ~/projects/ | |
| # - Worktrees will be created in: ~/projects/worktrees/<project>/<branch> | |
| # - New branches will be named: <your-username>/<feature-name> | |
| # | |
| # DIRECTORY STRUCTURE EXAMPLE: | |
| # ~/projects/ |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| // Types for the result object with discriminated union | |
| type Success<T> = { | |
| data: T; | |
| error: null; | |
| }; | |
| type Failure<E> = { | |
| data: null; | |
| error: E; | |
| }; |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| [PlayerFeedback_CheckForSurvey] POST | |
| [PlayerFeedback_SendAnswers] POST | |
| [PatchNotes_GetPatchNotes] GET | |
| [AggStats_Fetch] GET | |
| [AccountXP_GetPlayer] GET https://pd.ap.a.pvp.net/account-xp/v1/players/{user_id} | |
| [Config_FetchConfig] GET https://shared.ap.a.pvp.net/v1/config/ap |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| --- | |
| app: | |
| app_name: LeagueClient | |
| local_settings_file: Config/LeagueClientSettings.yaml | |
| log_dir: LeagueClient Logs | |
| project: leagueclient | |
| respawn: | |
| command: LeagueClient.exe | |
| display_name: League of Legends | |
| splash: lol |
sudo eopkg it -c system.devel
sudo eopkg install libx11-devel libxtst-devel libxmu-devel
#Rocket League API
All requests seem to be to the domain https://psyonix-rl.appspot.com. There are several endpoints on this domain.
| Endpoint | Purpose |
|---|---|
| /callproc105/ | Leaderboard, player statistics |
| /Population/GetPopulation/ | Player counts/regions |
| /auth/ | Authentication, obtaining session ids |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| package despotoski.nikola.appbarlayoutsamples.view; | |
| import android.animation.IntEvaluator; | |
| import android.animation.ValueAnimator; | |
| import android.content.Context; | |
| import android.content.res.TypedArray; | |
| import android.support.design.widget.AppBarLayout; | |
| import android.support.design.widget.CoordinatorLayout; | |
| import android.support.v4.view.ViewCompat; | |
| import android.support.v4.view.ViewPropertyAnimatorCompat; |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| #!/bin/bash | |
| task(){ | |
| LC_ALL=C nc -vzw5 portquiz.net $1 2>&1 | grep -v 'Connection timed out' | |
| } | |
| N=50 # Specify number of ports to check at once | |
| ( | |
| for port in {1..65535}; do # Specify port range to check here | |
| ((i=i%N)); ((i++==0)) && wait |
NewerOlder