Skip to content

Instantly share code, notes, and snippets.

View JacobWay's full-sized avatar

Jacob Way JacobWay

View GitHub Profile
@JacobWay
JacobWay / moving git repository to a new repository.md
Created April 20, 2017 03:32
moving git repository to a new repository
  1. Add old remote server to the existing repository
git remote add <old-remote-server-name> <old-remote-server-address>
  1. Pull the branch of old remote server to the local
git pull <old-remote-server-name> <remote-branch-name>
  1. Push the branch to the new remote server
@JacobWay
JacobWay / http_status_codes
Last active September 6, 2017 01:56
HTTP status codes
# HTTP Status Codes
* 1xx Informational responses
** 100 Continue
* 2xx Success
* 3xx Redirection
* 4xx Client errors
* 5xx Server errors
@JacobWay
JacobWay / es6 develop environment
Created March 23, 2018 09:58
es6 develop environment
install global babel-cli
`npm install --global babel-cli`
create .babelrc configuration file
run the babel command
@JacobWay
JacobWay / git-overwrite-branch.sh
Created May 3, 2018 04:17 — forked from ummahusla/git-overwrite-branch.sh
Git overwrite branch with another branch
# overwrite master with contents of seotweaks branch (seotweaks > master)
git checkout seotweaks # source name
git merge -s ours master # target name
git checkout master # target name
git merge seotweaks # source name
@JacobWay
JacobWay / scrape_ftx.py
Created November 10, 2022 17:17 — forked from sbarratt/scrape_ftx.py
A script to export all FTX history
import pandas as pd
import time
import requests
import time
import hmac
from requests import Request
import sys
import json
api_key = input("Enter api key:")