Skip to content

Instantly share code, notes, and snippets.

@myfri09
myfri09 / SecureCRT solarized dark
Created September 12, 2023 12:39 — forked from gtt116/SecureCRT solarized dark
solarized dark color scheme for VanDyke SecureCRT
solarized dark color scheme for VanDyke SecureCRT (c.f. http://ethanschoonover.com/solarized )
edit %appdata%\VanDyke\Config\Global.ini, find the line marked B:"ANSI Color RGB" and replace the two hex strings below it with the ones listed here:
B:"ANSI Color RGB"=00000040
07 36 42 00 dc 32 2f 00 85 99 00 00 b5 89 00 00 26 8b d2 00 d3 36 82 00 2a a1 98 00 ee e8 d5 00
00 2b 38 00 cb 4b 16 00 58 6e 75 00 65 7b 83 00 83 94 96 00 6c 71 c4 00 93 a1 a1 00 fd f6 e3 00

List supported SSL/TLS versions for a specific OpenSSL build

openssl ciphers -v | awk '{print $2}' | sort | uniq

Some openssl syntax examples

openssl version 1.0.1 supports up to TLS ver. 1.2

openssl s_client -connect host:port

@myfri09
myfri09 / screenrc
Last active December 10, 2019 13:25
# the following two lines give a two-line status, with the current window highlighted
hardstatus alwayslastline
hardstatus string '%{= kG}[%{G}%H%? %1`%?%{g}][%= %{= kw}%-w%{+b yk} %n*%t%?(%u)%? %{-}%+w %=%{g}][%{B}%d/%m %{W}%C%A%{g}]'
# huge scrollback buffer
defscrollback 5000
# no welcome message
startup_message off
https://www.cyberciti.biz/faq/create-ssh-config-file-on-linux-unix/
### default for all ##
Host *
ForwardAgent no
ForwardX11 no
ForwardX11Trusted yes
User nixcraft
Port 22
Protocol 2
# .bashrc
#PS1="\[${HILIT}\][\h]\[$NC\] \W > "
export PS1="________________________________________________________________________________\n| \w @ \h (\u) \n| => "
export PS2="| => "
# The 'ls' family (this assumes you use the GNU ls)
alias l='pwd; ls -lFh --color=auto'
alias ll='pwd; ls -alFh --color=auto'
Google Encrypted Search (Standard)
encrypted.google.com
https://encrypted.google.com/search?{google:acceptedSuggestion}{google:originalQueryForSuggestion}sourceid=chrome&ie={inputEncoding}&q=%s
localectl
	
System Locale: LANG=en_US.UTF-8
VC Keymap: sg
X11 Layout: ch
X11 Variant: de_nodeadkeys
	
localectl list-keymaps
localectl list-keymaps | grep ^ch