This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
git rebase -i origin/master | |
- use it to rebase the branch using a root of origin/master | |
git log origin/master..HEAD | |
- log everything in head that isn’t in origin/master. it’s a venn diagram | |
git checkout <git sha> -- <file_path> | |
if you only want changes from a specific file from a specific commit. If you do this from a parent, it will move changes to parent. |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
import requests | |
import json | |
import base64 | |
import hmac | |
import hashlib | |
import datetime, time | |
base_url = "https://api.sandbox.gemini.com" | |
gemini_api_key = "mykey" | |
gemini_api_secret = "1234abcd".encode() | |
# this gets the symbol list |