Skip to content

Instantly share code, notes, and snippets.

View ioparaskev's full-sized avatar

John Paraskevopoulos ioparaskev

View GitHub Profile

Keybase proof

I hereby claim:

  • I am ioparaskev on github.
  • I am jpr (https://keybase.io/jpr) on keybase.
  • I have a public key ASCFKUxJjyI1_zCxzs4aMVqCZ7mL04pV2a7eTVUP-zJavAo

To claim this, I am signing this object:

@ioparaskev
ioparaskev / .Xresources
Last active February 22, 2019 06:29
useful scripts for personal configuration
Xcursor.theme: Vanilla-DMZ-AA
!urxvt color scheme:
URxvt*background: #2B2B2B
URxvt*foreground: #DEDEDE
URxvt*colorUL: #86a2b0
! black
@ioparaskev
ioparaskev / tmux-cheatsheet.markdown
Last active September 11, 2015 16:05 — forked from MohamedAlaa/tmux-cheatsheet.markdown
tmux shortcuts & cheatsheet

tmux shortcuts & cheatsheet

start new:

tmux

start new with session name:

tmux new -s myname
@ioparaskev
ioparaskev / progress_bar.py
Created March 6, 2015 13:31
Simple progress bar
#!/usr/bin/python
import sys
import time
def stdout_with_delay(character, seconds_delay=0.0):
time.sleep(seconds_delay)
sys.stdout.write(character)
sys.stdout.flush()
@ioparaskev
ioparaskev / dov_ssha512.py
Created February 10, 2015 21:56
Dovecot Salted SHA 512 encoder/decoder for Python 3
#This is a porting of https://gist.github.com/garrettreid/8329796
# to Python 3 with some more additions (time compare, dialogs etc)
# for Python 2.x use the above gist
from hashlib import sha512
import os
import base64
from operator import _compare_digest as constant_time_compare