Skip to content

Instantly share code, notes, and snippets.

View peterkraume's full-sized avatar

Peter Kraume peterkraume

View GitHub Profile
@peterkraume
peterkraume / composer.json
Created December 12, 2017 22:38 — forked from helhum/composer.json
The (currently) ideal TYPO3 composer setup
{
"require": {
"typo3-console/composer-auto-setup": "^0.1",
"georgringer/news": "^6.1",
"helhum/typo3-secure-web": "^0.2.5",
"typo3/cms-introduction": "^3.0"
},
"extra": {
"typo3/cms": {
"cms-package-dir": "{$vendor-dir}/typo3/cms",
#!/bin/bash
AUTHOR="$1"
git log --author="$AUTHOR" --since="2011-01-26" --pretty="%h" > ~/foo.txt
PATCHES=`cat ~/foo.txt | wc -l`
while read PATCH; do git log --stat $PATCH^1..$PATCH | tail -n 1; done < ~/foo.txt > ~/foo2.txt
INSERTS=`cat ~/foo2.txt | awk '{s+=$4} END {print s}'`