This file contains 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
# Data imported from https://github.com/mwaskom/seaborn/blob/master/seaborn/cm.py#L264-L521 | |
from matplotlib.colors import ListedColormap | |
from numpy import nan, inf | |
cm_data = [ | |
[ 0.04503935, 0.01482344, 0.02092227], | |
[ 0.04933018, 0.01709292, 0.02535719], | |
[ 0.05356262, 0.01950702, 0.03018802], | |
[ 0.05774337, 0.02205989, 0.03545515], |
This file contains 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
#!/bin/bash | |
# shellcheck disable=SC2002 | |
# 1) Put this file into your local clone of git://github.com/tldr-pages/tldr: | |
# curl -L https://gist.github.com/waldyrious/805d6357fa0b55135354ea4b996e0818/raw/ -o path/to/tldr-repo/tldr.sh | |
# 2) Mark it as executable: | |
# chmod +x path/to/tldr-repo/tldr.sh | |
# 3) symlink it into /usr/local/bin: | |
# sudo ln -s /absolute/path/to/tldr-repo/tldr.sh /usr/local/bin/tldr |
This file contains 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 | |
function randomPassword($len = 8){ | |
/* Programmed by Christian Haensel | |
** [email protected] | |
** http://www.chftp.com | |
** | |
** Exclusively published on weberdev.com. | |
** If you like my scripts, please let me know or link to me. | |
** You may copy, redistribute, change and alter my scripts as | |
** long as this information remains intact. |