Skip to content

Instantly share code, notes, and snippets.

View kr-stn's full-sized avatar

Kersten kr-stn

View GitHub Profile
@kr-stn
kr-stn / loop-list-speed.ipynb
Created June 16, 2023 07:23
Speed comparison of Python for loop vs. list comprehension
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
@kr-stn
kr-stn / sentinelsat_order_by_bug.ipynb
Created June 2, 2018 11:28
Sentinelsat Issue #200 - order_by bug
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
@kr-stn
kr-stn / Wahrscheinlichkeit-von-fallender-Rakete-getroffen-zu-werden.ipynb
Last active January 2, 2018 14:36
Wie wahrscheinlich ist es in Berlin-Friedrichshain von einer fallenden Rakete getroffen zu werden?
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
@kr-stn
kr-stn / CONTRIBUTE.rst
Last active June 9, 2017 07:57
contributing draft

Welcome to the sentinelsat open source project. We invite anyone to participate by contributing code, reporting bugs, fixing bugs, writing documentation and tutorials and discussing the future of this project.

Issue Conventions

Please search existing issues, open and closed, before creating a new one.

Providing a Short, Self Contained, Correct (Compilable), Example (SSCCE) demonstrating the issue is encouraged.

Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
@kr-stn
kr-stn / jupyter_notebook_server.sh
Last active November 17, 2016 16:40
AWS autostart script to install miniconda and setup a passwort protected notebook server
#!/bin/bash
CERT_DIR="/home/ubuntu/certificate"
CONF_DIR="/home/ubuntu/.jupyter"
KEY="sha1:ca85a365c80b:0aee2a4846aadd78bec18ee21cf83cb77198b7a4"
# install latest miniconda version
cd "/home/ubuntu/"
su ubuntu -c "wget https://repo.continuum.io/miniconda/Miniconda3-latest-Linux-x86_64.sh"
su ubuntu -c "bash Miniconda3-latest-Linux-x86_64.sh -b -p /home/ubuntu/miniconda3"