Skip to content

Instantly share code, notes, and snippets.

View TubbyStubby's full-sized avatar
💤
ZZZ

TubbyStubby

💤
ZZZ
View GitHub Profile
@eyecatchup
eyecatchup / git-commit-log-stats.md
Last active June 18, 2024 08:05
Some commands to get git commit log statistics for a repository on the command line.

git commit stats

Commands to get commit statistics for a Git repository from the command line -
using git log, git shortlog and friends.




@doughsay
doughsay / lc-practice.py
Created January 7, 2018 02:58
Python List Comprehension Practice Problems
def identity(nums):
"""Identity:
Given a list of numbers, write a list comprehension that produces a copy of the list.
>>> identity([1, 2, 3, 4, 5])
[1, 2, 3, 4, 5]
>>> identity([])
[]