Some codes I wrote to help me with errands. it really made my life easier hope it does for you too ^^
- Python 2.7
- Python 3.x
- clone
git clone https://github.com/HoussemCharf/FunUtils.git
- open terminal & execute
python CodeToExecute.py
- Enjoy !
Feel free to contribute in this all you have to do is submit a pull request.
-
Blockchain : A small python based application to create a blockchain in less than 50 lines of code.
-
Bots : Creates a linkedIn viewer bot that scrapes linkedIn profiles using beautifulsoup.
-
CSS-JS_minimiser : JS/HTML page for the purpose of minifying CSS/Javascript codes.
-
CSV Data Handler: A console program to delete rows or columns from a CSV file.
Usage:
python code.py -i sample.csv -o output.csv -m (row or col) -n 3
-
Extension Changer : a Python based application capable of changing all extentions of files in same folder to a given one.
-
FolderExSorter : a Python based application that sorts a folder according to files extentions.
Example:
Folder Folder
|-Music1.mp3 Python FolderExSorter.py |-MP3
|-Music2.mp3 =======================> | |-Music1.mp3
|-Music3.mp4 | |-Music2.mp3
|-file.pdf |-MP4
| |-Music3.mp4
|-PDF
| |-file.pdf
-
Letter to words : Python code to convert scrambled letters to words.
-
MorningAlarm : A small Python code for morning alarm.
-
Pandora Web browser script : a small Javascript code for tamper Monkey to keep pandora playing none stop without "are you still listening popup".
-
Proxy Grabber : A console based Python application capable of providing fresh proxy servers list everytime you excute it.
-
Sorting Algorithms : Various small sorting functions that return a result given a set of parameters.
-
Torrent Checker : Checks the IP address of a torrents to make sure they can be connected too.
-
MyYoutubeLikedMusicVideosDownloader : a Python based application capable of parsing your youtube account Like history and download ONLY Music category as an MP3 format.
-
RasPiPowerOff: Turn off your Raspberry Pi with a button on your Smartphone.
-
Wallpaper: A python script for downloading bing wallpaper of the day and setting it up as the desktop background image. (Ubuntu only)
-
Xkcd: A python script for downloading xkcd comics at a given directory
python3 xkcd.py n d
-n: no of comics to downlaod
-d: directory where it needs to be downloaded
- Backup: A script for backing up files using git. Usage:
- Create a Github/Gitlab repository (Init and fetching remote)
- Add backup.py and list.json as mentioned
- Fill the list.json file with things to backup
- Run backup.py with varioius arguments
python backup.py backup
python backup.py push
python backup.py restore
list.json
[
[
"path_to_original_file",
"Name of file in current directory"
],
[
...
],
]
- Houssem Charfeddine - FunUtils - HC
- Marco Bakera - RasPiPoweroff - Pintman
- Shashank S - Backup,Get Comics,Wallpaper - talsperre
codes are licensed under the MIT License - see the LICENSE.md file for details