Skip to content

Instantly share code, notes, and snippets.

View SynCap's full-sized avatar

Constantin Losk SynCap

View GitHub Profile
@SynCap
SynCap / ANSI.md
Created August 2, 2021 09:07 — forked from fnky/ANSI.md
ANSI Escape Codes

ANSI Escape Sequences

Standard escape codes are prefixed with Escape:

  • Ctrl-Key: ^[
  • Octal: \033
  • Unicode: \u001b
  • Hexadecimal: \x1b
  • Decimal: 27
@SynCap
SynCap / ssh_client.py
Created December 21, 2016 06:47 — forked from ghawkgu/ssh_client.py
Python ssh client sample
#!/usr/bin/env python
import paramiko
hostname = 'localhost'
port = 22
username = 'foo'
password = 'xxxYYYxxx'
if __name__ == "__main__":