apt-get update
apt-get dist-upgrade
reboot
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
| from glob import glob | |
| files = glob('*lang_en*') # change the regex condition here | |
| playlist_seconds = 0 | |
| for file in files : | |
| with open(file, 'r') as f: | |
| sub_title = f.read() | |
| h, m, s = sub_title.strip().split('-->')[-1].split(',')[0].strip().split(':') |
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
| from bs4 import BeautifulSoup as bs | |
| import requests | |
| from tqdm import tqdm, tqdm_notebook as tqdn | |
| import pandas as pd | |
| title_list = [] | |
| summary_list = [] | |
| end_page_no = 833 # change the end page no to the updated value in website |
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
| from bs4 import BeautifulSoup as bs | |
| import requests | |
| from tqdm import tqdm | |
| import pandas as pd | |
| count = 0 | |
| total_list = [] | |
| for i in tqdm(list(range(1,70))[::-1]): | |
| #print(i) | |
| url = "https://machinelearningmastery.com/blog/page/{}".format(i) |
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
| git clone <leptonica latest git url> | |
| cd leptonica | |
| ./autoreconf | |
| ./autobuild | |
| ./configure | |
| make -j | |
| sudo make install | |
| ## install all the packages and tools mentioned in the docs | |
| git clone <tesseract url> |
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
| // create file: | |
| sudo vim /usr/share/applications/intellij.desktop | |
| // add the following | |
| [Desktop Entry] | |
| Version=13.0 | |
| Type=Application | |
| Terminal=false | |
| Icon[en_US]=/home/rob/.intellij-13/bin/idea.png | |
| Name[en_US]=IntelliJ |
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
| http://www.allitebooks.com/ | |
| it-ebooks.info | |
| www.it-ebooks.com | |
| http://www.freetechbooks.com/packt-free-ebooks-b81.html | |
| https://github.com/fffaraz/free-tech-ebooks-from-packtpub |