start new:
tmux
start new with session name:
tmux new -s myname
from pathlib import Path | |
from typing import Any, Callable, Dict, Iterator, List, Optional, Union | |
from openpyxl import load_workbook | |
def xlsx_dictreader( | |
filename: Union[str, Path], | |
sheet_index: int = 0, | |
header_row_index: int = 1, |
#!/bin/bash -e | |
remote="$1@$2" | |
echo -ne '\e]0;wait... '"$remote"'\a' | |
eval $(/usr/bin/ssh-pageant -r -a "/tmp/.ssh-pageant-$USERNAME") | |
localdir="$(cygpath -u "$APPDATA")/gnupg" | |
extrasock="$localdir/S.gpg-agent.extra" # file containing "PORT\nNONCE" | |
rdir='$HOME/.gnupg' # remote prefix | |
rinsock="$rdir/S.gpg-agent" # listen on this socket on server |
# | |
# INPUT - Logstash listens on port 8514 for these logs. | |
# | |
input { | |
udp { | |
port => "8514" | |
type => "syslog-cisco" | |
} | |
<?php | |
class SecureSessionHandler extends SessionHandler { | |
protected $key, $name, $cookie; | |
public function __construct($key, $name = 'MY_SESSION', $cookie = []) | |
{ | |
$this->key = $key; | |
$this->name = $name; |