As configured in my dotfiles.
start new:
tmux
start new with session name:
| #!/bin/bash | |
| # Script for installing tmux on systems where you don't have root access. | |
| # tmux will be installed in $HOME/local/bin. | |
| # It's assumed that wget and a C/C++ compiler are installed. | |
| # exit on error | |
| set -e | |
| TMUX_VERSION=1.8 |
| import time | |
| import torch | |
| import torch.nn as nn | |
| device = 'cuda:0' | |
| batch_size = 10 | |
| channels = 64 | |
| h, w = 128, 128 |
| import torch | |
| import torch.nn as nn | |
| import torch.optim as optim | |
| import torch.nn.functional as F | |
| torch.manual_seed(2809) | |
As configured in my dotfiles.
start new:
tmux
start new with session name:
| #!/bin/bash | |
| ##################################################### | |
| # Name: Bash CheatSheet for Mac OSX | |
| # | |
| # A little overlook of the Bash basics | |
| # | |
| # Usage: | |
| # | |
| # Author: J. Le Coupanec | |
| # Date: 2014/11/04 |