This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# .bashrc | |
# Source global definitions | |
if [ -f /etc/bashrc ]; then | |
. /etc/bashrc | |
fi | |
# Uncomment the following line if you don't like systemctl's auto-paging feature: | |
# export SYSTEMD_PAGER= |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
import re | |
import glob | |
import os | |
import numpy as np | |
import pandas as pd | |
from tqdm.auto import tqdm | |
DEVICE_HZ = 100 # Hz | |
WINDOW_SEC = 10 # seconds | |
# WINDOW_OVERLAP_SEC = 5 # seconds |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# List of plugins | |
# Make sure install tpm: | |
# git clone https://github.com/tmux-plugins/tpm ~/.tmux/plugins/tpm | |
set -g @plugin 'tmux-plugins/tpm' | |
set -g @plugin 'tmux-plugins/tmux-sensible' | |
set -g @plugin 'tmux-plugins/tmux-resurrect' | |
# Allows for faster key repetition | |
# NOTE: Don't set this to zero: https://github.com/microsoft/WSL/issues/5931 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
[flake8] # Modified from PyTorch project | |
select = B,C,E,F,P,T4,W,B9 | |
max-line-length = 120 | |
# C408 ignored because we like the dict keyword argument syntax | |
# E501 is not flexible enough, we're using B950 instead | |
ignore = | |
E203,E265,E305,E402,E501,E721,E741,F405,F821,F841,F999,W503,W504,C408,E302,W291,E303, | |
# shebang has extra meaning in fbcode lints, so I think it's not worth trying | |
# to line this up with executable bit | |
EXE001, |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# Use Vi, not Emacs, style editing | |
set editing-mode vi | |
set completion-ignore-case on | |
set completion-map-case on | |
set mark-symlinked-directories on | |
set show-all-if-ambiguous on | |
set match-hidden-files off | |
# Keymaps for when we're in command mode | |
set keymap vi-command |