As configured in my dotfiles.
start new:
tmux
start new with session name:
As configured in my dotfiles.
start new:
tmux
start new with session name:
create different ssh key according the article Mac Set-Up Git
$ ssh-keygen -t rsa -C "[email protected]"
| // Just before switching jobs: | |
| // Add one of these. | |
| // Preferably into the same commit where you do a large merge. | |
| // | |
| // This started as a tweet with a joke of "C++ pro-tip: #define private public", | |
| // and then it quickly escalated into more and more evil suggestions. | |
| // I've tried to capture interesting suggestions here. | |
| // | |
| // Contributors: @r2d2rigo, @joeldevahl, @msinilo, @_Humus_, | |
| // @YuriyODonnell, @rygorous, @cmuratori, @mike_acton, @grumpygiant, |
| if [ $EUID != 0 ]; then | |
| echo "It's a weird tree." | |
| else | |
| echo ' _ __' | |
| echo ' / `\ (~._ ./ )' | |
| echo ' \__/ __`-_\__/ ./' | |
| echo ' _ \ \/ \ \ |_ __' | |
| echo ' ( ) \__/ -^ \ / \' | |
| echo ' \_/ " \ | o o |.. / __' | |
| echo " \\. --' ==== / || / \\ " |
| import matplotlib.pyplot as plt | |
| def draw_neural_net(ax, left, right, bottom, top, layer_sizes): | |
| ''' | |
| Draw a neural network cartoon using matplotilb. | |
| :usage: | |
| >>> fig = plt.figure(figsize=(12, 12)) | |
| >>> draw_neural_net(fig.gca(), .1, .9, .1, .9, [4, 7, 2]) | |
| ## Gist originally developed by @craffel and improved by @ljhuang2017 | |
| import matplotlib.pyplot as plt | |
| import numpy as np | |
| def draw_neural_net(ax, left, right, bottom, top, layer_sizes, coefs_, intercepts_, n_iter_, loss_): | |
| ''' | |
| Draw a neural network cartoon using matplotilb. | |
| :usage: |