Skip to content

Instantly share code, notes, and snippets.

Run go install and

  • gogitlocalstats -add /path/to/folder will scan that folder and its subdirectories for repositories to scan
  • gogitlocalstats -email [email protected] will generate a CLI stats graph representing the last 6 months of activity for the passed email. You can configure the default in main.go, so you can run gogitlocalstats without parameters.

Being able to pass an email as param makes it possible to scan repos for collaborators activity as well.

License: CC BY-SA 4.0

@VitaliyShima
VitaliyShima / password.py
Created February 5, 2019 15:55 — forked from DOKL57/password.py
Генератор паролей Python
import random
num = input('login ')
pas = ''
for x in range(16): #Количество символов (16)
pas = pas + random.choice(list('1234567890abcdefghigklmnopqrstuvyxwzABCDEFGHIGKLMNOPQRSTUVYXWZ')) #Символы, из которых будет составлен пароль
print('Hello, ', num, 'your password is: ', pas)
""" -*- coding: utf-8 -*-
#
# Sample program for language detection
# Link to original paper https://www.kleemans.ch/letter-frequency
#
# How to run
# 1. add environment PYTHONIOENCODING="UTF-8"
# 2. python language_detect.py < letter_frequency.csv
#
"""