Skip to content

Instantly share code, notes, and snippets.

🎯
Focusing

Valerio De Carolis decabyte

🎯
Focusing
Block or report user

Report or block decabyte

Hide content and notifications from this user.

Learn more about blocking users

Contact Support about this user’s behavior.

Learn more about reporting abuse

Report abuse
View GitHub Profile
View bashrc.bash
### CUSTOM ###
export PATH="$HOME/.local/bin:$HOME/bin:$PATH"
# display environment
export DISPLAY=:0
export TERM=xterm-256color
# alacritty
source $HOME/extra/alacritty/extra/completions/alacritty.bash
@decabyte
decabyte / nb_remove_output.py
Last active Oct 28, 2019 — forked from damianavila/remove_output.py
Remove output from Jupyter notebook from the command line
View nb_remove_output.py
#!/usr/bin/env python
# -*- coding: utf-8 -*-
"""
Remove output from existing Jupyter Notebooks.
Modified from remove_output by Minrk, damianavila, gabraganca.
References:
[0]: https://github.com/jupyter/nbformat
[1]: http://nbformat.readthedocs.org/en/latest/index.html
View arff_read.m
% ARFF_READ - Read content of an ARFF file to a MATLAB's struct array.
%
% [DATA, relname, nomspec] = ARFF_READ(arff_file)
% arff_file => input file (.arff / .arff.gz extension)
% relname => relation name (string)
% DATA => struct array representing data and attributes (n x attrs)
% nomspec => struct array defining nominal-specification attributes
%
% NOTES:
% See ARFF_WRITE to read notes about relname and nomspec.
You can’t perform that action at this time.