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
#!/usr/bin/env bash | |
if [ -f $HOME/.Xmodmap ]; then | |
/usr/bin/xmodmap $HOME/.Xmodmap | |
fi | |
urxvt |
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
remove mod1 = Alt_R | |
add mod3 = Alt_R |
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 XMonad | |
main = xmonad $ def | |
{ terminal = "urxvt" | |
, normalBorderColor = "#cccccc" | |
, focusedBorderColor = "#cd8b00" | |
, modMask = mod3Mask -- depends on ~/.Xmodmap assigning Alt_R to mod3 | |
} |
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
{ | |
"parser": "babel-eslint", | |
"parserOptions": { | |
"ecmaVersion": 6, | |
"ecmaFeatures": { | |
"jsx" : true, | |
"impliedStrict": true | |
}, | |
"sourceType": "module" | |
}, |
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 | |
# | |
# 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 |
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 | |
# | |
# 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 |
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
! Xft settings --------------------------------------------------------------- | |
Xft.dpi: 90 !96 | |
Xft.antialias: true | |
Xft.rgba: none | |
Xft.hinting: true | |
Xft.hintstyle: hintslight | |
!Xft.autohint: true |
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 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"}, |
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 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. |
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
# -*- 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() |