- database.py - Singleton class for Sqlite DB management
- query2dict.py - Method to return a query as a dictionary
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
\usepackage{graphicx} | |
\usepackage{caption} | |
\captionsetup[figure]{labelfont={bf},name={Fig.},labelsep=period} | |
\begin{figure}[h!] | |
\centering | |
\includegraphics[width=12.5cm]{figs/fig77.png} | |
\caption{asd} | |
\label{fig:7.7} |
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
import matplotlib.pyplot as plt | |
import seaborn as sns | |
%pylab inline | |
pylab.rcParams['figure.figsize'] = (10.0, 10.0) | |
# ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ | |
fig, ax = plt.subplots() |
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
npm init # questionnaire to create package.json | |
npm init --yes # creates a default package.json | |
npm install <package-name> # install local package | |
npm install [email protected] #install specific version of a package | |
npm run <script> # run 'scripts' of package.sjon | |
npm list # list installed packages | |
npm outdated # list outaded packages | |
npm update <package-name> # update package |
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
pipenv install jupyter # install jupyter notebook | |
(venv)$ jupyter notebook # run jupyter notebook server | |
# EXTENSIONS | |
# Reveal.js - Jupyter/IPython Slideshow Extension (https://rise.readthedocs.io/en/maint-5.5/) | |
pipenv install RISE | |
# Hide code | |
pipenv install hide_code |
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
# Contents | |
# Favicon in BootstrapStudio | |
<link rel="icon" type="image/png" href="assets/img/favicon.png"> |