Skip to content

Instantly share code, notes, and snippets.

View neocho's full-sized avatar
👽

whoami neocho

👽
View GitHub Profile
@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 June 4, 2024 08:23
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
@lttlrck
lttlrck / 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