This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/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 & |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/bin/bash | |
echo "enter username : " | |
read username | |
echo "enter password: " | |
read -s password | |
echo "enter course: " | |
read course |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/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: ') |