Skip to content

Instantly share code, notes, and snippets.

@yverry
yverry / keybase.md
Created June 19, 2018 06:43
keybase.md

Keybase proof

I hereby claim:

  • I am yverry on github.
  • I am yverry (https://keybase.io/yverry) on keybase.
  • I have a public key whose fingerprint is 8B91 727D EA56 17EE E2FC D562 1975 4E86 92B8 416C

To claim this, I am signing this object:

### Keybase proof
I hereby claim:
* I am yanntech on github.
* I am yverry (https://keybase.io/yverry) on keybase.
* I have a public key whose fingerprint is 8B91 727D EA56 17EE E2FC D562 1975 4E86 92B8 416C
To claim this, I am signing this object:
@yverry
yverry / gist:f3899b67b4a81d448a51
Last active August 29, 2015 14:01
display year-month where friday, saturday and sunday appear five times in one month
#!/usr/bin/env python
# -*- coding: utf8 -*-
# Yann Verry - 2014
import calendar
def count_day(month):
fri = sat = sun = 0
for m in month: