As configured in my dotfiles.
start new:
tmux
start new with session name:
| import requests | |
| import time | |
| import json | |
| token = '' | |
| #Delete files older than this: | |
| ts_to = int(time.time()) - 30 * 24 * 60 * 60 | |
| def list_files(): |
| <?php | |
| define('_PS_ROOT_DIR_', '/path/to/prestashop/root'); | |
| define('_PS_ADMIN_DIR_', _PS_ROOT_DIR_.'admin_folder'); | |
| require(_PS_ADMIN_DIR_.'/../config/config.inc.php'); | |
| require(_PS_ADMIN_DIR_.'/functions.php'); | |
| class Employee2 extends EmployeeCore | |
| { | |
| public function isSuperAdmin() |
| --- | |
| - hosts: all | |
| sudo: yes | |
| tasks: | |
| - name: Update packages list | |
| apt: update_cache=yes | |
| when: ansible_os_family == 'Debian' | |
| - name: List packages to upgrade (1/2) |
| #!/bin/sh | |
| # | |
| # Setup a work space called `work` with two windows | |
| # first window has 3 panes. | |
| # The first pane set at 65%, split horizontally, set to api root and running vim | |
| # pane 2 is split at 25% and running redis-server | |
| # pane 3 is set to api root and bash prompt. | |
| # note: `api` aliased to `cd ~/path/to/work` | |
| # | |
| session="work" |
As configured in my dotfiles.
start new:
tmux
start new with session name: