start new:
tmux
start new with session name:
tmux new -s myname
| import java.time.LocalDateTime; | |
| import java.time.format.DateTimeFormatter; | |
| import java.time.format.DateTimeFormatterBuilder; | |
| public class Main { | |
| public static void main(String[] args) { | |
| String dateStr1 = "2019-01-30T12:04:12.734Z"; | |
| String dateStr2 = "2019-01-30T12:04:12.21Z"; |
| #!/bin/bash | |
| wget https://download.savannah.gnu.org/releases/libtmcg/libTMCG-1.3.16.tar.gz | |
| tar -xvf libTMCG-1.3.16.tar.gz | |
| cd libTMCG-1.3.16 | |
| sudo apt install gcc g++ libgmp-dev libgcrypt20-dev make | |
| ./configure | |
| make | |
| sudo make install | |
| cd .. | |
| wget https://download.savannah.gnu.org/releases/dkgpg/dkgpg-1.1.0.tar.gz |
| #!/bin/sh | |
| # Build and install Airwave64 | |
| # https://github.com/rodlie - <ole.andre.rodlie@gmail.com> | |
| # | |
| CWD=`pwd` | |
| AIRWAVE_GIT="https://github.com/phantom-code/airwave" | |
| AIRWAVE_COMMIT="8cd3507a46c2f7809a2ef8481cbded7dcbbae8ff" | |
| VST_V="369_01_03_2018_build_132" |
| [ | |
| { | |
| "id": "404e83a4.3d826c", | |
| "type": "tab", | |
| "label": "Request_statuses", | |
| "disabled": false, | |
| "info": "" | |
| }, | |
| { | |
| "id": "79e3e47.b8f891c", |
| #!/bin/sh | |
| # | |
| # Script for updating spDYN dynamic DNS entries (https://spdyn.de) | |
| # | |
| # Usage: | |
| # - Save this script as $HOME/bin/spDYN_update.sh | |
| # - Make it executable: chmod u+x $HOME/bin/spDYN_update.sh | |
| # - Create a cron entry (crontab -e) and supply <HOST_NAME> and <UPDATE_TOKEN> | |
| # according to your spDYN settings. Example for running every 10 minutes: | |
| # */10 * * * * $HOME/bin/spDYN_update.sh <HOST_NAME> <UPDATE_TOKEN> > /dev/null |