Skip to content

Instantly share code, notes, and snippets.

@Teebor-Choka
Teebor-Choka / wincent_quant_interview_questions_2022.md
Last active July 10, 2025 12:52
Secret Slovak Crypto Trading Quants Interview questions

Wincent Quants Interview Test (2022)

I came over this test, sticking it here so that anybody can have some fun. To provide a solution or request one, please leave a comment. Wincent likely already changed the questions, so the test is just a good training for any Quant role.

1. Even heads

You toss a fair coin 100 times. What is the probability that the number of heads you get will be divisible by 2. Why?


2. A lucky dice

You roll a fair 6-sided dice and you receive a $1.00 for every dot landed. What is your expected profit?

@burkeholland
burkeholland / 4.1.chatmode.md
Created July 8, 2025 22:53
41. Beast Mode V3
description model
4.1 Beast Mode v3
GPT-4.1

You are an agent - please keep going until the user’s query is completely resolved, before ending your turn and yielding back to the user.

Your thinking should be thorough and so it's fine if it's very long. However, avoid unnecessary repetition and verbosity. You should be concise, but thorough.

You MUST iterate and keep going until the problem is solved.

@artalar
artalar / inbox.md
Last active July 10, 2025 12:50
Jazz Inbox feature example

Jazz Inbox: RPC-like Server Endpoints

Server Setup

Before implementing inbox-based endpoints, you need to set up a Jazz server worker.

Generating Worker Credentials

Server workers have Jazz accounts with static credentials. Generate new credentials by running:

@alexanderbuhler
alexanderbuhler / README.md
Last active July 10, 2025 12:46
Tailwind v4 polyfill / browser compatibility configuration

This gist may be your full solution or just the starting point for making your Tailwind v4 projects backwards compatible.

What it does

  • Convert @property rules into good old CSS vars
  • Pre-compute oklab() functions
  • Pre-compute color-mix() functions (+ replace CSS vars inside them beforehand)
  • Remove advanced instructions (colorspace) from gradients
  • Provide support for nested CSS (used by dark mode or custom variants with &)
  • Transform translate, scale, rotate properties to their transform: ... notation
  • Add whitespace to var fallbacks var(--var,) > var(--var, ) to help older browsers understand
@otykier
otykier / convert-direct-lake-to-import.csx
Last active July 10, 2025 12:46
Convert Direct Lake-mode model to Import-mode
// **********************************************************************************
// Convert Direct Lake-mode model to Import-mode
// ---------------------------------------------
//
// When this script is executed on a semantic model, it will:
//
// - Loop through all tables. Any table that contains exactly 1 partition, which
// is in Direct Lake mode, will have its partition replaced by an equivalent
// Import-mode partition.
// - Set the collation of the model to null (default)
@FallenDeity
FallenDeity / gsoc-proposal-2025-deepmind.md
Last active July 10, 2025 12:42
"Open-source Gemini Example Apps" proposal for Google Summer of Code 2025

"Open-source Gemini Example Apps" proposal for Google Summer of Code 2025

Categories Details
Difficulty Medium
Size 350hrs
Skills Python, JavaScript/TypeScript, Gemini SDKs, technical writing
@yikenman
yikenman / test_codecov.yml
Last active July 10, 2025 12:40
turborepo & codecov setup in github action. automatically run test for every sub-project and collect report separately.
name: Test
on:
pull_request:
branches:
- main
jobs:
list:
@philschmid
philschmid / GEMINI.md
Last active July 10, 2025 12:40
Gemini CLI Plan Mode prompt

Gemini CLI Plan Mode

You are Gemini CLI, an expert AI assistant operating in a special 'Plan Mode'. Your sole purpose is to research, analyze, and create detailed implementation plans. You must operate in a strict read-only capacity.

Gemini CLI's primary goal is to act like a senior engineer: understand the request, investigate the codebase and relevant resources, formulate a robust strategy, and then present a clear, step-by-step plan for approval. You are forbidden from making any modifications. You are also forbidden from implementing the plan.

Core Principles of Plan Mode

  • Strictly Read-Only: You can inspect files, navigate code repositories, evaluate project structure, search the web, and examine documentation.
  • Absolutely No Modifications: You are prohibited from performing any action that alters the state of the system. This includes:
@artemgetmann
artemgetmann / claude-code-token-saving-guide.md
Last active July 10, 2025 12:39
Practical workflow for reducing token usage in Claude Code while preserving session continuity. Includes compacting strategies, CLAUDE.md structure, modular context management, and prompt engineering tips.

🧠 How to Save Context Tokens When Using Claude Code

This is a personal reference workflow for minimizing token usage while maintaining project continuity across Claude Code (Sonnet 4 with file access).


✅ Setup: Populate CLAUDE.md

Claude loads CLAUDE.md automatically at session start.

@BenKato151
BenKato151 / VTube Studio [Arch Linux Guide].md
Last active July 10, 2025 12:38
A Guide to get VTube Studio and VSeeFace working on Linux. Tested on Arch Linux

VTube Studio/OpenSeeFace/VSeeFace Guide (tested on Arch Linux)

Requirements:

  • Latest Proton (GE-Proton, Proton-Experimental are both okay)
  • git
  • wine64
  • lutris (winetricks)
  • Install system packages for python (3.11.3 is okay):