Skip to content

Instantly share code, notes, and snippets.

@opencoca
opencoca / index.html
Last active June 2, 2024 10:49
Slides 26-5-11:52
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="utf-8" />
<title>Reveal.js Presentation</title>
<meta
name="viewport"
content="width=device-width, initial-scale=1.0, maximum-scale=1.0, user-scalable=no"
/>
@opencoca
opencoca / index.html
Created September 7, 2024 11:23
Todo Deck
<link rel="stylesheet" href="https://startr.style/style.css">
<div class="stack">
<div class="stack--status">
<i class="fa fa-remove"></i>
<i class="fa fa-check"></i>
</div>
<div class="stack--cards">
<div class="stack--card">

Trading Prompt

Let us think through how to b3st trade stocks given only a detailed list of the prices over the past week at hour resulting. We will think through this in LISP and present both LISP code, an explanation, and Python code. We will be allowed to revise our methodology continually, but we will be eliminated if we lose funds for more than three rounds. Note that the strategy must also win 60% of the time or better. Each turn will be an hour, and new price data will be added.

Thought for 66 seconds

Okay, let's see. The user wants to create a stock trading strategy using Lisp and Python. The constraints are that if we lose funds for more than three rounds, we're eliminated, and the strategy must win 60% of the time or better. Each turn is an hour with new price data. Hmm.

<!DOCTYPE html>
<html>
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<title>Emoji Selector</title>
<style>
.container {
display: flex;
#!/usr/bin/env python3
"""
Google Fonts CSS Processor - Startr LLC
Copyright (c) 2025 Startr LLC, MIT License
Processes Google Fonts CSS to:
1. Generate wget commands to download all font files
2. Create revised CSS pointing to local font files
3. Organize fonts with semantic filenames
@opencoca
opencoca / CursorTools.json
Created March 5, 2025 18:53 — forked from ScriptedAlchemy/CursorTools.json
Reverse Engineering cursor prompts
{
"tools": [
{
"type": "function",
"function": {
"name": "codebase_search",
"description": "Find snippets of code from the codebase most relevant to the search query.\nThis is a semantic search tool, so the query should ask for something semantically matching what is needed.\nIf it makes sense to only search in particular directories, please specify them in the target_directories field.\nUnless there is a clear reason to use your own search query, please just reuse the user's exact query with their wording.\nTheir exact wording/phrasing can often be helpful for the semantic search query. Keeping the same exact question format can also be helpful.",
"parameters": {
"type": "object",
"properties": {