Loosely ordered with the commands used most towards the top. Sublime also offer full documentation.
Ctrl+⇧+K | delete line |
Ctrl+↩ | insert line after |
Ctrl+⇧+↩ | insert line before |
Ctrl+⇧+↑ | move line (or selection) up |
Loosely ordered with the commands used most towards the top. Sublime also offer full documentation.
Ctrl+⇧+K | delete line |
Ctrl+↩ | insert line after |
Ctrl+⇧+↩ | insert line before |
Ctrl+⇧+↑ | move line (or selection) up |
from pylab import * | |
from scipy.stats import * | |
num_adults = 227e6 | |
basic_income = 7.25*40*50 | |
labor_force = 154e6 | |
disabled_adults = 21e6 | |
current_wealth_transfers = 3369e9 | |
def basic_income_cost_benefit(): |
# 'root' character string of directory to search | |
# 'file_typs' character vector of file types to search | |
# 'omit_blank' logical indicating of blank lines are counted | |
# 'recursive' logical indicating if all directories within 'root' are searched | |
# 'lns' logical indicating if lines are counted, use F for counting characters | |
# 'trace' logical for monitoring progress | |
file.lens <- function(root, file_typs, omit_blank = F, recursive = T, | |
lns = T, trace = T){ | |
require(reshape2) |
#/bin/sh | |
# Creates a 1gb swap image. | |
# @see https://www.digitalocean.com/community/tutorials/how-to-configure-virtual-memory-swap-file-on-a-vps | |
if [ -f /var/swap.img ]; then | |
echo "Swap file already exists." | |
else | |
touch /var/swap.img | |
chmod 600 /var/swap.img |