Skip to content

Instantly share code, notes, and snippets.

@abangfarhan
abangfarhan / babun.ini
Created August 21, 2019 12:38
babun colorscheme from ConEmu to be used in Windows' ColorTool.exe
[table]
DARK_BLACK = 27,29,30
DARK_BLUE = 38,139,210
DARK_GREEN = 130,180,20
DARK_CYAN = 86,194,214
DARK_RED = 249,38,114
DARK_MAGENTA = 140,84,254
DARK_YELLOW = 253,151,31
DARK_WHITE = 204,204,198
BRIGHT_BLACK = 80,83,84
@abangfarhan
abangfarhan / download_tsay.py
Created November 3, 2018 04:36
Download all Data for Tsay's Financial Time Series Book
#!/usr/bin/env python3
"""
Python script to download and save all .txt and .dat data for the book
Analysis of Financial Time Series (3rd edition) by Ruey S. Tsay
"""
from requests import get
import re
from urllib.request import urlretrieve