Skip to content

Instantly share code, notes, and snippets.

@reachjason
reachjason / i-vs-e.md
Created September 21, 2023 16:31
internal vs external

True success is knowing working on metrics that matter and knowing when to showcase internal and external metrics.

External Metrics

Public VCs

Ratios that matter

@reachjason
reachjason / celo-chain.json
Created March 14, 2022 06:12
Chainlist JSON for CELO networks
{
"name": "Celo Mainnet",
"chainId": 42220,
"shortName": "CELO",
"chain": "CELO",
"networkId": 42220,
"nativeCurrency": {
"name": "CELO",
"symbol": "CELO",
"decimals": 18
@reachjason
reachjason / url-extractor.js
Created October 24, 2021 08:29
Extract URLs on a Webpage - Code for Console
var x = document.querySelectorAll("a");
var myarray = []
for (var i=0; i<x.length; i++){
var nametext = x[i].textContent;
var cleantext = nametext.replace(/\s+/g, ' ').trim();
var cleanlink = x[i].href;
myarray.push([cleantext,cleanlink]);
};
function make_table() {
var table = '<table><thead><th>Name</th><th>Links</th></thead><tbody>';
@reachjason
reachjason / blockchain.py
Last active July 14, 2022 13:49
Implementing a Blockchain in Python
## Import statements
import hashlib
import datetime
class Block:
'''
All blocks contain the following data:
block_height -> index of block on chain
data -> data in the block
hash -> hash of this block
@reachjason
reachjason / html-skeleton.html
Last active May 9, 2021 13:24
HTML Starter Pack
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="utf-8">
<meta name="viewport" content="width=device-width, initial-scale=1">
<title>Boilerplate</title>
<meta name="description" content="Boilerplate">
<meta name="author" content="Jason">
@reachjason
reachjason / uses-this.md
Last active February 15, 2021 07:16
Jason Uses This

I think Github Gists are among the most underrated tool out there for thinking clearly. Because it is GitHub, people associate it with codebases. But this is more than that. It is a utility for both technical and non-technical folks makes it a good place to document things.

I use it as a way to document my journey in learning code. Things are version tracked, making it great to head back and look at the journey of your understanding.

Since Google announced that Docs, Sheets, and Slides count toward your account storage, I've doubled down on Notion and like. You don't need to login in order to put together a gist. Just head to gist.github.com and start typing away.

Why Gists?

Among numerous benefits, these are why I've been using Gists: