Skip to content

Instantly share code, notes, and snippets.

View MartinEnders's full-sized avatar
🤪

Dr. Martin Enders MartinEnders

🤪
View GitHub Profile
@MartinEnders
MartinEnders / SurfacePlotTest-Offline_Data.ipynb
Created April 14, 2019 10:16
Create animated plot with matplotlib (Jupyter Notebook)
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
@MartinEnders
MartinEnders / find-files.py
Created January 29, 2019 13:28
Find files incl. path by length
import glob
a = glob.glob("W:/**", recursive=True)
for x in a:
if(len(x) > 250):
print(x)
@MartinEnders
MartinEnders / Flachwitze.ipynb
Last active November 27, 2018 17:06
Crawler fuer 1a-Flachwitze
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
@MartinEnders
MartinEnders / StudOn-Fragenerstellung-Generator.ipynb
Last active October 12, 2018 13:07
StudOn-Fragenerstellung-Generator - jupyter notebook
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
@MartinEnders
MartinEnders / Test Notebook.ipynb
Created August 27, 2018 11:56
notebooks/Test/Test Notebook.ipynb
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
@MartinEnders
MartinEnders / byte-parser.py
Last active August 7, 2018 16:14
Converting list of bytes to Strings, Arrays, Numbers (no general purpose use)
#!/usr/bin/env python3
# -*- coding: utf-8 -*-
"""
Created on Tue Aug 7 11:43:19 2018
@author: martin
"""
import json
import struct
@MartinEnders
MartinEnders / Array-Reshaping.ipynb
Last active July 12, 2018 08:41
Array-Reshaping
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
@MartinEnders
MartinEnders / multiprocessing.ipynb
Created June 1, 2018 10:47
Python multiprocessing
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
@MartinEnders
MartinEnders / selenium_test.py
Created March 22, 2018 10:41
Selenium Webdriver with Python on Debian GNU/Linux
# apt-get install chromium
# apt-get install chromium-driver
# conda install -c conda-forge selenium -y
import time
from selenium import webdriver
options = webdriver.ChromeOptions()
options.add_argument('--headless')
options.add_argument('--disable-gpu')
// Import uuid/v4, moment and os in ~/.node-red/settings.js
functionGlobalContext: {
os:require('os'),
uuidv4:require('uuid/v4'),
moment:require('moment')
// octalbonescript:require('octalbonescript'),
// jfive:require("johnny-five"),
// j5board:require("johnny-five").Board({repl:false})
},