As configured in my dotfiles.
start new:
tmux
start new with session name:
#!/usr/bin/env python | |
__author__ = 'Frank Smit <frank@61924.nl>' | |
__version__ = '0.1.0' | |
import functools | |
import psycopg2 | |
from tornado.ioloop import IOLoop, PeriodicCallback |
As configured in my dotfiles.
start new:
tmux
start new with session name:
#!/bin/sh | |
# Sublime Text 3 Install (last update: Monday 13 March 2017) | |
# | |
# No need to download this script, just run it on your terminal: | |
# | |
# curl -L git.io/sublimetext | sh | |
# Detect the architecture |
# Exemplo com closure | |
def crazy_sum(): | |
acc = 0 | |
def wrapped(t): | |
nonlocal acc | |
sum_with_acc = sum(t) + acc | |
acc = max(0, sum_with_acc - 9) |
#!/bin/sh | |
# Sublime Text 3 install with Package Control (last update: 25 September 2016) | |
# | |
# No need to download this script, just run it on your terminal: | |
# | |
# $ curl -L git.io/sublimetext | sh | |
# Detect the architecture |
#!/bin/sh | |
# telegram | |
wget https://updates.tdesktop.com/tlinux/tsetup.0.9.42.tar.xz | |
tar xvfJ tsetup.0.9.42.tar.xz | |
mv Telegram/ /opt/telegram | |
rm -rf tsetup.0.9.42.tar.xz | |
#telegram image | |
wget https://upload.wikimedia.org/wikipedia/commons/thumb/8/82/Telegram_logo.svg/128px-Telegram_logo.svg.png |
https://linuxconfig.org/bash-scripting-tutorial
which bash
Bash shell script starts with shebang:#!