This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| import matplotlib.pyplot as plt | |
| import numpy as np | |
| # ',' instead of '.' | |
| import locale | |
| locale.setlocale(locale.LC_NUMERIC, "de_DE") | |
| plt.rcdefaults() | |
| plt.rcParams['axes.formatter.use_locale'] = True | |
| textsize = 16 # textsize in pt |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| set nocompatible | |
| filetype indent plugin on | |
| syntax on | |
| set hidden | |
| set wildmenu | |
| set hlsearch | |
| set ignorecase | |
| set smartcase | |
| set backspace=indent,eol,start | |
| set autoindent |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| APP_NAME= | |
| APP_ENV=local | |
| APP_KEY= | |
| APP_DEBUG=true | |
| APP_LOG_LEVEL=debug | |
| APP_URL=http://localhost | |
| DB_CONNECTION=mysql | |
| DB_HOST=mysql | |
| DB_PORT=3306 |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| <?php | |
| # see https://stackoverflow.com/questions/4356289/php-random-string-generator#answer-13212994 | |
| # generates INSECURE random string, do not use for tokens etc. | |
| function generateRandomString($length = 10) { | |
| return substr(str_shuffle(str_repeat($x='0123456789abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ', ceil($length/strlen($x)) )),1,$length); | |
| } | |
| # generates random email with certain length. | |
| # tld is always .com and local part has always length 1 |