Skip to content

Instantly share code, notes, and snippets.

@patelneel55
patelneel55 / video-merge.ps1
Last active August 5, 2023 13:29
video-merge.ps1 - Merge multiple media files into a single or a group of files using ffmpeg
#########################################
# Quick script to merge video files #
#########################################
<#
.SYNOPSIS
Concatenates a list of video files into one or multiple video files.
.DESCRIPTION
This application allows you to feed it a list of all video files to be combined and combines them to another media files with every file containing 'max' original files.
@patelneel55
patelneel55 / spinner.ps1
Last active December 7, 2019 09:52
Simple PowerShell spinner
function spinner([string]$input_text = 'Press any key to continue... ')
{
$spin="/-\|"
Write-Host "$input_text" -nonewline
$i=0
while($true)
{
Write-Host "`b$($spin.Substring($i++%$spin.Length)[0])" -nonewline
bash -c "read -n 1 -t 0.25 $noop"
@patelneel55
patelneel55 / .vimrc
Created September 16, 2018 22:21
Vim Configuration file
set tabstop=4
set softtabstop=4
set autoindent
set shiftwidth=4
set whichwrap=<>[]
set mouse=a
set number
set wildmenu
@patelneel55
patelneel55 / .bashrc
Created September 16, 2018 22:20
Bash Configuration file
# ~/.bashrc: executed by bash(1) for non-login shells.
# see /usr/share/doc/bash/examples/startup-files (in the package bash-doc)
# for examples
# If not running interactively, don't do anything
case $- in
*i*) ;;
*) return;;
esac