Skip to content

Instantly share code, notes, and snippets.

View JacobWay's full-sized avatar

Jacob Way JacobWay

View GitHub Profile
@JacobWay
JacobWay / Linux pratical knowledge base.md
Last active May 28, 2017 03:52
The notes about linux command

Linux commands

curl

Curl is a tool to transfer data from or to a server.
curl -X POST "name=you&code=0" http://localhost:9999

man

man section <name>
Sections are well defined:

  • 1 is for shell commands
@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:")