Skip to content

Instantly share code, notes, and snippets.

View austil's full-sized avatar
🚴

Augustin Lacour austil

🚴
View GitHub Profile
@austil
austil / amap-git-log.csv
Last active November 5, 2019 21:00
Commit count by tag & author per week in CSV
year week feat fix docs style refactor test chore Dev 1 Dev 2 Dev 3 Dev 4 Dev 5 Dev 6 Dev 7 Dev 8 Dev 9 Dev 10 Dev 11 Dev 12
2016 43 0 0 0 0 1 0 0 0 0 0 0 0 0 0 0 1 0 0 0
2016 44 0 0 0 0 4 0 0 0 0 0 0 0 0 0 0 4 0 0 0
2016 45 0 0 0 0 1 2 0 0 0 0 0 0 0 0 0 3 0 0 0
2016 51 2 0 0 2 1 0 0 0 0 0 0 0 0 0 0 5 0 0 0
2016 52 5 1 0 0 1 0 0 0 0 0 0 0 0 0 0 7 0 0 0
2016 53 0 1 0 0 2 0 0 0 0 0 0 0 0 0 0 3 0 0 0
2017 1 5 0 0 0 0 0 0 0 0 0 0 0 0 0 0 5 0 0 0
2017 2 1 1 0 1 1 0 0 0 0 0 0 0 0 0 0 4 0 0 0
2017 3 1 0 0 1 1 0 1 0 0 0 0 0 0 0 0 4 0 0 0
[
{
"groupName": "The Big Four",
"timelines": [
{
"timelineName": "AngularJS",
"events": {
"versions": [
["2010-10-21", "v0.9"],
["2012-06-14", "v1.0"],

First get stats for each folder in a file.

for D in `find ./public/app/plugins/datasource -maxdepth 1 -type d`
do
echo $D && cloc $D
done > stats_plugin

Then clean the output with some regex :

@austil
austil / machine.js
Created February 24, 2021 14:28
Generated by XState Viz: https://xstate.js.org/viz
// Available variables:
// - Machine
// - interpret
// - assign
// - send
// - sendParent
// - spawn
// - raise
// - actions