Skip to content

Instantly share code, notes, and snippets.

View InputBlackBoxOutput's full-sized avatar
🐮

Rutuparn Pawar InputBlackBoxOutput

🐮
  • Boston, MA
View GitHub Profile
@InputBlackBoxOutput
InputBlackBoxOutput / video_splitter.py
Last active October 2, 2021 19:27
A Python wrapper for ffmpeg that allows you to split video files
#!/usr/bin/env python
# Source: https://github.com/c0decracker/video-splitter
import csv
import subprocess
import math
import json
import os
import shlex
from optparse import OptionParser
@InputBlackBoxOutput
InputBlackBoxOutput / minimax_chess.py
Created June 18, 2021 12:03
Chess engine using minimax with alpha beta pruning
# Chess bot
# Caution: This code is not optimized hence takes tremendous amount of time to run
# If you are looking for an open source chess engine, try stockfish or sunfish
# Code originally written by AnthonyASanchez
# Modified by Rutuparn Pawar (InputBlackBoxOutput) to implement parallel processing
import chess
import sys
import random
// FizzBuzz using Arduino
// Author: @InputBlackBoxOutput
// Written on 20 Oct 2020
// No additional components & connections required.
// Just connect your Arduino to your PC
#define BAUDRATE 9600
#define LOOP_DELAY 700