Create a template service file at /etc/systemd/system/secure-tunnel@.service. The template parameter will correspond to the name
of target host:
[Unit]
Description=Setup a secure tunnel to %I
After=network.target| """ | |
| Provides functions for the purpose of parsing a Sun Grid Engine (SGE) | |
| accounting file for job metadata. | |
| """ | |
| __author__ = "Sam Nicholls <msn@aber.ac.uk>" | |
| __copyright__ = "Copyright (c) Sam Nicholls" | |
| __version__ = "0.0.32" | |
| __maintainer__ = "Sam Nicholls <msn@aber.ac.uk>" |
| # source: https://trac.ffmpeg.org/wiki/CentosCompilationGuide | |
| yum install autoconf automake gcc gcc-c++ git libtool make nasm pkgconfig zlib-devel | |
| mkdir ~/ffmpeg_sources | |
| cd ~/ffmpeg_sources | |
| curl -O http://www.tortall.net/projects/yasm/releases/yasm-1.2.0.tar.gz | |
| tar xzvf yasm-1.2.0.tar.gz | |
| cd yasm-1.2.0 |
| #!/bin/bash | |
| set -e | |
| # Usage: | |
| # rsync_parallel.sh [--parallel=N] [rsync args...] | |
| # | |
| # Options: | |
| # --parallel=N Use N parallel processes for transfer. Defaults to 10. | |
| # | |
| # Notes: |
| import os | |
| import matplotlib.pyplot as plt | |
| def save(path, ext='png', close=True, verbose=True): | |
| """Save a figure from pyplot. | |
| Parameters | |
| ---------- | |
| path : string | |
| The path (and filename, without the extension) to save the |
L1 cache reference ......................... 0.5 ns
Branch mispredict ............................ 5 ns
L2 cache reference ........................... 7 ns
Mutex lock/unlock ........................... 25 ns
Main memory reference ...................... 100 ns
Compress 1K bytes with Zippy ............. 3,000 ns = 3 µs
Send 2K bytes over 1 Gbps network ....... 20,000 ns = 20 µs
SSD random read ........................ 150,000 ns = 150 µs
Read 1 MB sequentially from memory ..... 250,000 ns = 250 µs
| " Ensure correct syntax highlighting and auto-indentation for Fortran free-form | |
| " source code. | |
| let fortran_free_source=1 | |
| let fortran_do_enddo=1 | |
| filetype plugin indent on | |
| syntax on | |
| " Turn on line numbers and row/column numbers. | |
| set nu |