Skip to content

Instantly share code, notes, and snippets.

View Argus-Khan's full-sized avatar
🎯
To many projects, not enough hours in the day.

Argus K Argus-Khan

🎯
To many projects, not enough hours in the day.
View GitHub Profile
@Argus-Khan
Argus-Khan / sshAgentInit.sh
Created March 17, 2025 12:05
A simple shell script to initiate ssh agent and add ssh keys at the start of shell. It also provides convenient functions to create and remove ssh keys.
#!/usr/bin/env bash
# Author: Argus K (https://github.com/Argus-Khan)
# Feel free to hit me up ( 0 u 0 )/
# Simply just source the file into your shell's confing file (i.e .bsahrc, .zshrc ...)
# SET PATHS based on your ssh dir configs
@Argus-Khan
Argus-Khan / gitget
Created October 13, 2022 13:27
A small python script to download github directories/files.
#!/usr/bin/env python3
# A small python script to download github directories/files.
# Author: Argus Khan
# Dependencies: subversion
import sys, os, re, argparse, subprocess
try:
subprocess.check_output(['which', 'svn'])
@Argus-Khan
Argus-Khan / Video_Clipper.sh
Created November 1, 2021 02:40
# A small bash script to spit videos in smaller parts. # Author: Argus Khan # Dependencies: ffmpeg,mideainfo
# A small bash script to spit videos in smaller parts.
# Author: Argus Khan
# Dependencies: ffmpeg,mideainfo
#!/usr/bin/env bash
function usage {
echo "Please use the following formatting:"
echo "Usage: $(basename $0) [-o OUTPUT_NAME] [-t CLIP_LENGTH] <INPUT_VIDEO_FILE>" 2>&1