Skip to content

Instantly share code, notes, and snippets.

View fhill2's full-sized avatar

freddiehill fhill2

  • Blomfield Capital
  • London
  • 01:30 (UTC +01:00)
View GitHub Profile
@wrighter
wrighter / download_bars.py
Last active December 13, 2024 21:45
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
@cooperpellaton
cooperpellaton / Brewfile
Last active May 9, 2023 02:59
🍺 A script to bootstrap the install of brew, then install all the applications and utilities I'll need on a new Mac.
tap "eddieantonio/eddieantonio"
tap "github/gh"
tap "homebrew/bundle"
tap "homebrew/cask"
tap "homebrew/cask-drivers"
tap "homebrew/cask-fonts"
tap "homebrew/core"
tap "instrumenta/instrumenta"
tap "mongodb/brew"
tap "nektos/tap"
@hamishrouse
hamishrouse / README.md
Last active March 14, 2025 15:41
Typescript, React and Video.js (VideoJS)
@wvengen
wvengen / extend.sh
Last active April 22, 2024 14:02
Extend non-HiDPI external display above HiDPI internal display
#!/bin/sh
# extend non-HiDPI external display on DP* above HiDPI internal display eDP*
# see also https://wiki.archlinux.org/index.php/HiDPI
# you may run into https://bugs.freedesktop.org/show_bug.cgi?id=39949
# https://bugs.launchpad.net/ubuntu/+source/xorg-server/+bug/883319
EXT=`xrandr --current | sed 's/^\(.*\) connected.*$/\1/p;d' | grep -v ^eDP | head -n 1`
INT=`xrandr --current | sed 's/^\(.*\) connected.*$/\1/p;d' | grep -v ^DP | head -n 1`
ext_w=`xrandr | sed 's/^'"${EXT}"' [^0-9]* \([0-9]\+\)x.*$/\1/p;d'`