Category: 4
OS-X – file system check – fsck in Single User (teminal) mode
Boot the computer, as soon as you heat the chime, hold down both the COMMAND and S keys. Terminal like interface will appear, wait until the boot process completes and … Read More
LibreOfficeCalc / Excel – same file in multiple widows
Problem: Sometimes… one view pane is not enough. Working with larger data sets and many columns – there seems to be no place to put the graphs – save for, … Read More
Flask – article list
Deployment Deploy Flask on Apache Recipes Larger applications using packages Flask Extensions registry Tutorials – Basic Notes application (CRUD, sqlite, SQLAlchemy) Bucketlist application (mysql) including login Tutorials RESTful JSON API … Read More
BeautifulSoup4 scrape multiline text data list without tags
import requests from bs4 import BeautifulSoup scrape = requests.get(“http://scedc.caltech.edu/recent/Maps/Los_Angeles.html”) content = scrape.content soup = BeautifulSoup(content, “html.parser”) lineitem=” for details in soup.find(‘pre’).find_next_sibling(‘pre’): lineitem = lineitem + str(details.string.split()) process further as needed … Read More