Skip to content

Instantly share code, notes, and snippets.

View fbslo's full-sized avatar
🏠
Working from home

fbslo fbslo

🏠
Working from home
View GitHub Profile
@entrepeneur4lyf
entrepeneur4lyf / structured-decision-optimization-cline
Created March 3, 2025 04:12
Structured Decision Optimization Framework (RL-inspired) - for Cline
<Prompt>
<Context>
You're tasked with coding a project and need to follow specific guidelines to ensure quality and consistency across various programming languages and frameworks.
</Context>
<Progress>
Document all tasks. Create a folder in the project root named .cline and keep a log of tasks in the following format.
GOAL: Detail the goal of the task
IMPLMENTATION: Describe how it was implemented.
@noxx3xxon
noxx3xxon / arbitrage.py
Created August 21, 2022 22:34
CFMM Routing Arbitrage Example
import numpy as np
import cvxpy as cp
import itertools
# Problem data
global_indices = list(range(4))
# 0 = TOKEN-0
# 1 = TOKEN-1
# 2 = TOKEN-2
@faddat
faddat / starportdemo
Last active November 6, 2020 16:48
Starport Functional Demonstration
**DO THE FOLLOWING**
If it takes more than 20 minutes, let me (https://twitter.com/@gadikian) know, it means that something is wrong.
The Raspberry Pi image may take 15-30 minutes to build.
ensure that you have node.js, go and the github cli installed.
```bash
# Clone Starport Repo
git clone https://github.com/tendermint/starport
@miguelmota
miguelmota / example.proto
Last active January 3, 2025 00:11
Golang protobuf marshal and unmarshal example
syntax = "proto3";
message Message {
bytes text = 1;
}