Skip to content

Instantly share code, notes, and snippets.

Anas Ayubi anasayubi

  • Karachi, Pakistan
Block or report user

Report or block anasayubi

Hide content and notifications from this user.

Learn more about blocking users

Contact Support about this user’s behavior.

Learn more about reporting abuse

Report abuse
View GitHub Profile
@anasayubi
anasayubi / open_course.sh
Created Apr 21, 2018
View course videos properly
View open_course.sh
#!/bin/bash
# Prereqs:
## The lecture video can be given any NAME.EXT for example: first_week_collective_section.mp4
## The slides video must be gviven the name NAME_slides.EXT for example: first_week_collective_section_slides.mp4
## vlc and ffmpeg must be installed
# Usage:
# The parameter passed to the file must be the lecture video name. To create a final file, the following must be passed: ./open_course first_week_collective_section.mp4
# A final file by the name of final_week_collective_section_final.mp4 will then be created
@anasayubi
anasayubi / op.sh
Last active Apr 18, 2018
Running GUI applications from the terminal without any hassle (with no weird GUI application output) and the terminal remains interactive for your usage!
View op.sh
#!/bin/bash
# Format:
# op.sh [PROGRAM] [FILE]
# op.sh -l -> lists the current screen sessions
# otherwise shows help
# ensure that screen is preinstalled on your system
BOLD=$(tput bold)
@anasayubi
anasayubi / README.md
Created Feb 3, 2018 — forked from hofmannsven/README.md
My simply Git Cheatsheet
You can’t perform that action at this time.