View .eslint.json
{
"parser": "babel-eslint",
"parserOptions": {
"ecmaVersion": 6,
"ecmaFeatures": {
"jsx" : true,
"impliedStrict": true
},
"sourceType": "module"
},
View debJupyterHub.sh
#!/bin/bash
#
# set up JupyterHub in a Debian instance
#
sudo apt-get update
echo 'export TERM=xterm' >> $HOME/.profile
sudo apt-get -y install bzip2 gcc libdigest-sha-perl libgmp-dev make python3 python3-pip python3-venv npm nodejs-legacy libzmq3-dev
View debnix.sh
#!/bin/bash
#
# set up nix in a Debian instance
#
sudo apt-get update
sudo apt-get -y install bzip2 gcc libdigest-sha-perl libgmp-dev libncurses5-dev libz-dev make
curl https://nixos.org/nix/install | sh
View test2.py
from XLstruc2 import XLtable, XLseries
from xlwt import Workbook, Worksheet, Style
from copy import deepcopy
conv = pd.io.parsers.CellStyleConverter()
hstyle_dict = {"font": {"bold": True},
"border": {"top": "thin",
"right": "thin",
"bottom": "thin",
"left": "thin"},
View XLpandas2.py
import pandas as pd
import xlwt as xlwt
import numpy as np
import xlwt.Style as Style
class XLtable(pd.DataFrame):
def __init__(self, df=None):
"""
pandas DataFrame with extra methods for setting location and xlwt style
in an Excel spreadsheet.
View xlwt_colour_list.py
# -*- coding: utf-8 -*-
"""
Created on Mon Jan 14 15:36:36 2013
@author: daniel.vianna
"""
import xlwt as xlwt
import pandas as pd
conv = pd.io.parsers.CellStyleConverter()
View test.py
# -*- coding: utf-8 -*-
"""
Created on Thu Jan 10 15:14:02 2013
@author: daniel.vianna
"""
from copy import deepcopy
from xlwt import Worksheet
import numpy as np
View XLpandas.py
"""
#ws argument is a xlwt worksheet object, as in:
from xlwt import Workbook
wb = Workbook()
ws = wb.add.sheet('sheet 1')
# Example of how to wrap xlwt.Style object
conv = pd.io.parsers.CellStyleConverter()