import pandas as pd
import numpy as np
from tabulate import tabulate
df = pd.DataFrame(np.random.random((4,3)), columns=['A','B','C'])
print("foo")
return(tabulate(df, headers="keys", tablefmt="orgtbl"))
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
| // ## Surfingkeys is a web browser extension (including Google Chrome, Chromium based browsers, Firefox, Safari) | |
| // ~~~~~~~~~~~~~~~~~~~~~~~SETUP | |
| // I use this Surfingkeys config as a personal file for advance settings in firefox. | |
| // For Brave Browser, you can simply copy paste them in the advance settings section. | |
| // In gist.github of behroz_surfingkeys.js select =Raw= | |
| // Copy the web-link of the gist. | |
| // Go to Surfingkeys =Settings=, ticked the =Advanced mode= | |
| // Paste the link of =Raw= gist file in the =Load Settings from= |
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 | |
| coproc bluetoothctl | |
| echo -e 'scan on\n' >&${COPROC[1]} | |
| sleep 3 | |
| echo -e 'remove AA:AA:AA:AA:AA:AA\n' >&${COPROC[1]} | |
| sleep 1 | |
| echo -e 'pair AA:AA:AA:AA:AA:AA\n' >&${COPROC[1]} | |
| sleep 1 |
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 | |
| # Here are some embedded Python examples using Python3. | |
| # They are put into functions for separation and clarity. | |
| # Simple usage, only using python to print the date. | |
| # This is not really a good example, because the `date` | |
| # command works just as well. | |
| function date_time { |
Compile this template by executing the following in a command shell:
pdflatex test && biber test && pdflatex test && pdflatex testThis template uses biblatex and biber instead of good old BibTeX. The bibliography files (*.bib) can have the same format (although biblatex allows using some interesting extensions). However, the biblatex+biber combo is much more powerful than good-old BibTeX (e.g. support for multiple bibliographies in one document) and comes with great documentation.
Suggestions for improvements welcome.
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
| { | |
| "metadata": { | |
| "name": "", | |
| "signature": "sha256:c81db9b3da9f1e569785e363228b8b51d0b00b179b4637f15817ef495a5a5286" | |
| }, | |
| "nbformat": 3, | |
| "nbformat_minor": 0, | |
| "worksheets": [ | |
| { | |
| "cells": [ |