Skip to content

Instantly share code, notes, and snippets.

:octocat:
Coding

Xing He kukushi

:octocat:
Coding
Block or report user

Report or block kukushi

Hide content and notifications from this user.

Learn more about blocking users

Contact Support about this user’s behavior.

Learn more about reporting abuse

Report abuse
View GitHub Profile
@kukushi
kukushi / clean_fasd.py
Created Jun 21, 2019
Python script cleaning up fasd storage
View clean_fasd.py
#!/usr/bin/env python3
import os
import time
import argparse
def main(args):
"""
Rule:
@kukushi
kukushi / Triangular-Arbitrage.py
Last active Jul 15, 2018
Binance Triangular Arbitrage
View Triangular-Arbitrage.py
import requests
import datetime
import operator
host = 'https://api.binance.com'
priceURL = host + '/api/v3/ticker/price'
priceResponse = requests.get(priceURL)
priceResponseJSON = priceResponse.json()
# {'symbol': 'ETHBTC', 'price': '0.07608700'}: 1 ETH = 0.0760 BTC
View .zpreztorc
#
# Sets Prezto options.
#
zstyle ':prezto:*:*' color 'yes'
# Set the Zsh modules to load (man zshmodules).
zstyle ':prezto:load' pmodule \
'environment' \
@kukushi
kukushi / .zshrc
Last active Nov 7, 2015
.zshrc for oh-my-zsh
View .zshrc
# Path to your oh-my-zsh installation.
export ZSH=/Users/kukushi/.oh-my-zsh
ZSH_THEME="robbyrussell"
plugins=(git)
# User configuration
export PATH="/usr/local/bin:/usr/bin:/bin:/usr/sbin:/sbin"
You can’t perform that action at this time.