Skip to content

Instantly share code, notes, and snippets.

@iQiexie
iQiexie / swagger-token.md
Created July 13, 2026 10:25
Workspace API: как достать токен для Swagger

Токен для Swagger (ws.zerolab.dev/docs)

В headers страницы его нет: shell пишет сессию не в куки, а в sessionStorage.

Где взять DevTools -> Application -> Session Storage -> https://shell.konsora.ru ключ oidc.user:https://sso.elsief.com/application/o/shell/:shell, поле access_token.

Или: DevTools -> Network -> любой запрос на ws.zerolab.dev/api/v1/... -> Request Headers -> Authorization.

@iQiexie
iQiexie / workspace-center-bar-api.md
Created July 7, 2026 07:51
Workspace Center Bar API (/notifications/center-bar) — unified notifications + activity feed for shell & Bulwark (OpenProject #987)

Workspace Center Bar API (/notifications/center-bar)

Единая ручка для center bar — одним запросом отдаёт уведомления, activity feed и бейдж непрочитанных. Обращаются из center bar и Portal Shell, и Bulwark. OpenProject #987.


Endpoint

@iQiexie
iQiexie / mining-mayhem.md
Last active July 10, 2026 08:30
Mining Mayhem - Game Details

Mining Mayhem

What changed since the last review

Added a bonus mode, Gusher Rush (25x buy with a cost confirmation). It gives you a scanner: drag a circle over the underground, the ground caves in and shows 0 to 5 oil deposits. The rig drills and pumps them one by one, you only get paid for what gets pumped out. About a quarter of scans find nothing.

Also rebuilt the whole UI in HTML (was canvas), so the bet bar works properly on every screen size including popouts. New painted background, pump jack animation, screen shake, particles. Base game wins now show as 2-3 pockets along the bore instead of one. Base math untouched, bonus math is in books_bonus + lookUpTable_bonus.

Overview

Mining Mayhem is an instant win oil drilling game. It is not a reel slot. Each round the player drills one pipe into the ground and tries to reach a hidden oil pocket. If the pipe reaches a pocket, the round pays the stake multiplied by that pocket's value. If the bore comes up dry, the stake is lost. Every round is a s

@iQiexie
iQiexie / contract-changes.md
Last active July 3, 2026 13:53
ai-music: изменения контракта для фронта (payments v2 + is_clips_included, track create_clip recommendation, look code)

Рекомендации на треке: теперь могут предлагать КЛИП

Поле recommendation в TrackResponse (попап во время полноэкранного проигрывания трека) — не новое, но payload.type теперь бывает двух видов. Нужно обработать оба.

Общая форма:

{
  "show_after": 15000,        // мс от начала трека, когда показать попап
  "title": "…",               // заголовок (на языке юзера)
  "buttonText": "…",          // текст кнопки
@iQiexie
iQiexie / keymaster-free-casino-chest-assets.md
Created June 30, 2026 18:17
Keymaster — FREE casino UI + treasure chest assets (14 sources)

Keymaster — FREE casino UI + treasure chest assets

Free assets for a gold/green chest-opening casino game ("Keymaster"). All 14 URLs verified to resolve. No AI-generated art anywhere. Where attribution is required, credit goes in ASSET_CREDITS.md.


🎰 A — FREE casino / slot GUI kits

@iQiexie
iQiexie / keymaster-bigwin-assets.md
Created June 30, 2026 18:07
Keymaster — BIG WIN celebration screen: 20 asset options (10 free + 10 paid)

Keymaster — BIG WIN / celebration screen: 20 asset options

Curated sources for an ornate gold/baroque BIG WIN celebration screen (frame + gem emblem + glow + coin burst), in the style of Pragmatic Play "Gates of Olympus".

All links verified to resolve. No AI-generated art anywhere. ⚠️ Casino/gambling note: most stock licenses have no explicit gambling carve-out (not prohibited, not blessed). Only GameDev Market Pro (#20) explicitly allows gambling use. Envato/GraphicRiver (#19) → buy Extended. ⚠️ Stake rejects verbatim "asset-flip" drops — recognizable kits must be recolored/reskinned to the chest theme.