Action | tmux | screen |
---|---|---|
start a new session | tmux tmux new tmux new-session |
screen |
start a new session with a name | tmux new -s name | screen -S name |
re-attach a detached session | tmux attach tmux attach-session |
screen -r |
re-attach a detached session with a name | tmux attach -t name tmux a -t name |
screen -r name |
re-attach an attached session (detaching it from elsewhere) | tmux attach -dtmux attach-session -d | screen -dr |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/bin/sh | |
# | |
# # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # | |
# # | |
# Tested with openELEC v4.0.6, v4.2.1, v5.0.8 and v6.0.0 # | |
# Tested with LibreELEC v7.90.002 # | |
# # | |
# # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # | |
# | |
# author: Tim "xGhOsTkiLLeRx" Brust |
There are a few JQL syntax bits to get you started:
AND
--- allows you to add qualifiers to a list!= Thing
--- target one thingis in (List, Of, Things)
--- target a bunch of things (Done, Closed, Resolved) typicallynot in (List, of, Things)
--- do not include a bunch of things-1w
--- relative time. You can also use -1d for day"2015/3/15"
--- specific dates
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# ################################################################################################################################## | |
# DATABASE DAILY HEALTH CHECK MONITORING SCRIPT | |
VER="[6.2]" | |
# =================================================================================================== | |
# CAUTION: THIS SCRIPT MAY CAUSE A SLIGHT OVEARHEAD, DO NOT RUN IT TOO FREQUENT, ONCE A DAY IS IDEAL. | |
# =================================================================================================== | |
# *********** | |
# How To Use: | |
# *********** | |
# 1- Set your Email by modifying this parameter below: EMAIL="[email protected]" |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/usr/bin/env python | |
'''Using Webhook and self-signed certificate''' | |
# This file is an annotated example of a webhook based bot for | |
# telegram. It does not do anything useful, other than provide a quick | |
# template for whipping up a testbot. Basically, fill in the CONFIG | |
# section and run it. | |
# Dependencies (use pip to install them): | |
# - python-telegram-bot: https://github.com/leandrotoledo/python-telegram-bot |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/bin/sh | |
WHOAMI=$(whoami) | |
if [ "$WHOAMI" != "root" ]; then | |
echo must run as root | |
exit -1 | |
fi | |
HOSTNAME=$(hostname) | |
WC=$(grep $HOSTNAME /etc/hosts | wc -l) |
Here are the simple steps needed to create a deployment from your local GIT repository to a server based on this in-depth tutorial.
You are developing in a working-copy on your local machine, lets say on the master branch. Most of the time, people would push code to a remote server like github.com or gitlab.com and pull or export it to a production server. Or you use a service like deepl.io to act upon a Web-Hook that's triggered that service.
https://wiki.centos.org/HowTos/VNC-Server https://www.server-world.info/en/note?os=CentOS_6&p=x&f=2
- install vnc-server (tigervnc-server on cenOS 6.8.)
[root@apaternina nfs]# yum install tigervnc-server
Loaded plugins: fastestmirror, refresh-packagekit, security