Skip to content

Instantly share code, notes, and snippets.

Avatar

gerritjandebruin

View GitHub Profile
@gerritjandebruin
gerritjandebruin / timelapse.sh
Created Nov 22, 2020
Make timelapse from photos
View timelapse.sh
time ffmpeg -framerate 10 -pattern_type glob -i "*.JPG" -vcodec libx265 -pix_fmt yuv422p timelapse.mp4
View anaconda.sh
#!/bin/bash
curl https://repo.anaconda.com/miniconda/Miniconda3-latest-Linux-x86_64.sh -o ~/miniconda.sh
bash ~/miniconda.sh -b -p $HOME/miniconda
source ~/miniconda3/bin/activate
conda config --append channels conda-forge
conda config --remove channels defaults
conda update -y conda python
conda install -y pandas networkx imbalanced-learn seaborn scipy
View jupyter_notebook_config.py
# Configuration file for jupyter-notebook.
#------------------------------------------------------------------------------
# Application(SingletonConfigurable) configuration
#------------------------------------------------------------------------------
## This is an application.
## The date format used by logging formatters for %(asctime)s
# Default: '%Y-%m-%d %H:%M:%S'
# c.Application.log_datefmt = '%Y-%m-%d %H:%M:%S'
View teexgraph.ipynb
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
View powerlaw.ipynb
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
View energy-and-gas-provider-comparison.ipynb
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
You can’t perform that action at this time.