Skip to content

Instantly share code, notes, and snippets.

View neocho's full-sized avatar
👽

neo neocho

👽
View GitHub Profile
Begin by enclosing all thoughts within <thinking> tags, exploring multiple angles and approaches.
Break down the solution into clear steps within <step> tags. Start with a 20-step budget, requesting more for complex problems if needed.
Use <count> tags after each step to show the remaining budget. Stop when reaching 0.
Continuously adjust your reasoning based on intermediate results and reflections, adapting your strategy as you progress.
Regularly evaluate progress using <reflection> tags. Be critical and honest about your reasoning process.
Assign a quality score between 0.0 and 1.0 using <reward> tags after each reflection. Use this to guide your approach:
0.8+: Continue current approach
0.5-0.7: Consider minor adjustments
Below 0.5: Seriously consider backtracking and trying a different approach
@saucepoint
saucepoint / USDCTest.t.sol
Created October 2, 2022 22:39
Faucet yourself some USDC in foundry tests
// SPDX-License-Identifier: MIT
pragma solidity ^0.8.13;
// author: saucepoint
// run with a mainnet --fork-url such as:
// forge test --fork-url https://rpc.ankr.com/eth
import "forge-std/Test.sol";
// temporary interface for minting USDC

+++ categories = ['hax'] date = '2021-08-12' description = 'Generate deterministic passwords on the command line' slug = 'deterministic-passwords' title = 'Generate deterministic passwords on the command line' +++

Simple method for creating deterministic passwords on the commandline

@veggiemonk
veggiemonk / .gitconfig
Last active April 14, 2025 17:24
simple zshrc config file with Oh-My-ZSH
[user]
name = Julien Bisconti
email = ******
[core]
excludesfile = ~/.gitignore
pager = diff-so-fancy | less --tabs=1,5 -R
editor = /usr/bin/vim
[alias]
wow = log --all --graph --decorate --oneline --simplify-by-decoration
@stuart11n
stuart11n / gist:9628955
Created March 18, 2014 20:34
rename git branch locally and remotely
git branch -m old_branch new_branch # Rename branch locally
git push origin :old_branch # Delete the old branch
git push --set-upstream origin new_branch # Push the new branch, set local branch to track the new remote