Skip to content

Instantly share code, notes, and snippets.

View iPadawan's full-sized avatar
🏳️‍🌈
Semel in anno licet insanire.

iPadawan

🏳️‍🌈
Semel in anno licet insanire.
View GitHub Profile
@iPadawan
iPadawan / build-tensorflow-from-source.md
Created June 4, 2018 12:55 — forked from Brainiarc7/build-tensorflow-from-source.md
Build Tensorflow from source, for better performance

Building Tensorflow from source on Ubuntu 16.04LTS for maximum performance:

TensorFlow is now distributed under an Apache v2 open source license on GitHub.

Step 1. Install NVIDIA CUDA:

To use TensorFlow with NVIDIA GPUs, the first step is to install the CUDA Toolkit as shown:

@iPadawan
iPadawan / download_bars.py
Created April 4, 2022 03:59 — forked from wrighter/download_bars.py
A command line utility to download historical data from Interactive Brokers
#!/usr/bin/env python
import os
import sys
import argparse
import logging
from datetime import datetime, timedelta
from typing import List, Optional
from collections import defaultdict
@iPadawan
iPadawan / get_ticks.py
Created April 4, 2022 04:00 — forked from wrighter/get_ticks.py
A basic Interactive Brokers command line Python application to fetch streaming market data.
#!/usr/bin/env python
""" A simple Interactive Brokers application that will fetch
current market data for a contract from the IB TWS/Gateway. """
import argparse
import logging
from typing import List
from ibapi import wrapper