Skip to content

Instantly share code, notes, and snippets.

View melkopisi's full-sized avatar
🏠
Working from home

Mohamed Mostafa melkopisi

🏠
Working from home
View GitHub Profile

Keybase proof

I hereby claim:

  • I am melkopisi on github.
  • I am melkopisi (https://keybase.io/melkopisi) on keybase.
  • I have a public key ASCN-AAQM4dNjs-sYU4YIXY9gnfphubKxew06QVyhY2f_go

To claim this, I am signing this object:

@melkopisi
melkopisi / gnome-shell-crash-restore.sh
Last active February 4, 2018 01:44
restore your gnome-shell after crashing
#!/usr/bin/sh
#you can detrmine your gnome-shell session by running this code : (echo $DISPLAY)
#only works while gnome-shell works "before crash"
DISP=':1'
DISPLAY=$DISP gnome-shell --replace &
@melkopisi
melkopisi / pluralsight-dl.sh
Last active December 14, 2017 01:09
download lists from pluralsight using youtube-dl
#!/bin/bash
echo "enter username : "
read username
echo "enter password: "
read -s password
echo "enter course: "
read course
@melkopisi
melkopisi / udemy-youtube-dl.py
Created January 14, 2016 23:10
Download udemy lectures using youtube-dl script (by : @luiz-rocha)
#!/usr/bin/env python3
#by luiz-rocha
#You can now download udemy lectures by this script which uses youtube-dl script :))
import getpass
import subprocess
try:
url = input('Course URL: ')