Skip to content

Instantly share code, notes, and snippets.

View meerestier's full-sized avatar
🎯
Focusing

Lars Schulz meerestier

🎯
Focusing
View GitHub Profile
@meerestier
meerestier / extract_emails_from_text.py
Created January 16, 2018 08:10 — forked from dideler/example.md
A python script for extracting email addresses from text files. You can pass it multiple files. It prints the email addresses to stdout, one address per line. For ease of use, remove the .py extension and place it in your $PATH (e.g. /usr/local/bin/) to run it like a built-in command.
#!/usr/bin/env python
#
# Extracts email addresses from one or more plain text files.
#
# Notes:
# - Does not save to file (pipe the output to a file if you want it saved).
# - Does not check for duplicates (which can easily be done in the terminal).
#
# (c) 2013 Dennis Ideler <[email protected]>

Keybase proof

I hereby claim:

  • I am meerestier on github.
  • I am larsschulz (https://keybase.io/larsschulz) on keybase.
  • I have a public key whose fingerprint is 3148 CE43 1FE7 0D3E 0EE6 6488 90EF 324F D885 3410

To claim this, I am signing this object:

@meerestier
meerestier / 0_reuse_code.js
Created November 16, 2016 20:02
Here are some things you can do with Gists in GistBox.
// Use Gists to store code you would like to remember later on
console.log(window); // log the "window" object to the console
#################################################################################
#
# Eure Daten
library("FGClimatology")
meteo20 <- read.logger("../Data/Messung_Moerickeluch_Nov2014/CR800_20_Meteo.dat")
meteo40 <- read.logger("../Data/Messung_Moerickeluch_Nov2014/CR800_40_Meteo.dat")
meteo50 <- read.logger("../Data/Messung_Moerickeluch_Nov2014/CR800_50_Meteo.dat")
# Vorprozessierung - falsches Datum