start new:
tmux
start new with session name:
tmux new -s myname
| --- | |
| - hosts: all | |
| gather_facts: yes | |
| tasks: | |
| - name: Update /etc/hosts | |
| become: true | |
| tags: | |
| - dns | |
| lineinfile: | |
| dest: /etc/hosts |
| import scrapy | |
| import peewee | |
| import re | |
| import urllib | |
| import cStringIO | |
| from PIL import Image | |
| from playhouse.db_url import connect | |
| db = connect('mysql://root:@127.0.0.1/house') |
| #!/usr/bin/env bash | |
| # Variables | |
| APPENV=local | |
| DBHOST=localhost | |
| DBNAME=dbname | |
| DBUSER=dbuser | |
| DBPASSWD=test123 | |
| echo -e "\n--- Mkay, installing now... ---\n" |