Skip to content

Instantly share code, notes, and snippets.

View vrachnis's full-sized avatar

vrachnis vrachnis

View GitHub Profile

Keybase proof

I hereby claim:

  • I am vrachnis on github.
  • I am vrachnis (https://keybase.io/vrachnis) on keybase.
  • I have a public key ASCdXt_E6mOz74LIQfUb-6nzU1ydo2AvsQeLeq0ec8SnfQo

To claim this, I am signing this object:

xsetroot -cursor_name left_ptr
setxkbmap -model pc101 -layout us,gr -variant ,
setxkbmap -option grp:shifts_toggle,grp_led:scroll,terminate:ctrl_alt_bksp,ctrl:swapcaps,compose:menu
xset s off
#xset s 0
#exec xmonad
case "$2" in
"xmonad")
#!/usr/bin/env python
from math import sqrt
NUMBER = 6319
SQ = int(sqrt(NUMBER))
for i in range(3,SQ,2):
if NUMBER%i == 0:
print i, '/', NUMBER/i
print "(p-1)(q-1)=", (i-1)*(NUMBER/i-1)
#!/usr/bin/env python
def euclidExtended(a, b):
if b == 0:
return a, 1, 0
dd, xx, yy = euclidExtended(b, a % b)
d, x, y = dd, yy, xx - int(a / b) * yy
print a, b, d, x, y
return d, x, y