Skip to content

Instantly share code, notes, and snippets.

View NikhilNarayana's full-sized avatar

Nikhil Narayana NikhilNarayana

View GitHub Profile
# List of plugins
set -g @plugin 'tmux-plugins/tpm'
set -g @plugin 'tmux-plugins/tmux-sensible'
set -g @plugin 'tmux-plugins/tmux-resurrect'
# rebind prefix to ctrl+s
unbind C-b
set -g prefix C-s
bind C-s send-prefix
const slp = require('slp-parser-js');
const SlippiGame = slp.default;
const path = require('path');
const fs = require('fs');
const _ = require('lodash');
const cliProgress = require("cli-progress");
const inputFolder = "./Slippi";
const outputFolder = "./sorted";
@NikhilNarayana
NikhilNarayana / getSlippiCombos.js
Last active November 5, 2022 18:22
This script is deprecated, go check out Project Clippi
const fs = require('fs');
const _ = require('lodash');
const path = require('path');
const crypto = require('crypto');
const moment = require('moment');
const slp = require('@slippi/slippi-js');
const SlippiGame = slp.SlippiGame; // npm install @slippi/slippi-js
const basePath = path.join(__dirname, 'slp/'); // this var is "<directory your script is in>/slp"
const { default: SlippiGame } = require('slp-parser-js');
const path = require('path');
const fs = require('fs');
var inputPath = './input/';
var outputPath = './output/';
function sortSLP() {
files = fs.readdirSync(inputPath);
files.forEach((file) => {
@NikhilNarayana
NikhilNarayana / tbavids.py
Last active November 5, 2019 22:14
A program to compile how many and which events are missing match videos for FRC events.
#!/usr/bin/env python3
import sys
import tbapy # pip install tbapy
import collections as col # for OrderedDict
tba = tbapy.TBA("pI9kcg6VHPj7qySj5j467oOvmXlPPAbjF8n96CComaJod4mBxeCNRW5QE9i6YYh9")
def regionalStats(year):