Skip to content

Instantly share code, notes, and snippets.


Pavel Zhovner zhovner

Block or report user

Report or block zhovner

Hide content and notifications from this user.

Learn more about blocking users

Contact Support about this user’s behavior.

Learn more about reporting abuse

Report abuse
View GitHub Profile
View nanorc
set const
set historylog
set nohelp
set nowrap
set suspend
set undo
include "/usr/share/nano/nanorc.nanorc"
include "/usr/share/nano/c.nanorc"
include "/usr/share/nano/css.nanorc"
include "/usr/share/nano/debian.nanorc"

Keybase proof

I hereby claim:

  • I am zhovner on github.
  • I am zhovner ( on keybase.
  • I have a public key whose fingerprint is 61C0 51E3 7F9C F69F 203E A461 20C1 83F8 3DBA 0E63

To claim this, I am signing this object:

View oclHashcat64
Device #1: Hawaii, 3072MB, 1000Mhz, 44MCU
Device #2: Hawaii, 3072MB, 1000Mhz, 44MCU
Device #3: Hawaii, 3072MB, 1000Mhz, 44MCU
Device #4: Hawaii, 3072MB, 1000Mhz, 44MCU
Hashtype: MD4
Workload: 1024 loops, 256 accel
Speed.GPU.#1.: 22029.8 MH/s
Speed.GPU.#2.: 22070.9 MH/s
View prehensile.networkwatcher.plist
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE plist PUBLIC "-//Apple Computer//DTD PLIST 1.0//EN"
<plist version="1.0">
zhovner /
Last active Dec 11, 2015
OpenSSL exampels
# Расшифровать ключ
openssl rsa –in enc.key -out dec.key
# Сравнить фингерпринты
openssl rsa -noout -modulus -in /rsa.key
openssl x509 -noout -modulus -in /crt.crt
# Вся инфа о сертификате
openssl x509 -in /cert.pem -noout -text
zhovner /
Last active Dec 11, 2015
Python network
# Validate IP address
import socket
def valid_ip(ipaddress):
return True
return False
zhovner /
Created Feb 1, 2013
Disk write speed
# test disk write speed
dd if=/dev/zero of=/tmp/output.img bs=8k count=256k
View .profile
export LANG=en_US.UTF-8
export LC_CTYPE=en_US.UTF-8
if [ ! "$TMUX" ]; then
tmux attach
# Simple python mailer
# How to use: mailer('subject', 'mail@address', bodyvar)
from subprocess import *
def mailer(MailerSubject, RecipientAddress, MailBody):
readBody = Popen(["/bin/echo", MailBody], stdout=PIPE)
mail = Popen(["/usr/bin/mail", "-s", MailerSubject, RecipientAddress], stdin=readBody.stdout, stdout=PIPE)
output = mail.communicate()[0]
zhovner / SublimeTerm.terminal
Created Jul 28, 2013
SublimeText theme for
View SublimeTerm.terminal
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE plist PUBLIC "-//Apple//DTD PLIST 1.0//EN" "">
<plist version="1.0">
You can’t perform that action at this time.