I hereby claim:
- I am niklas9 on github.
- I am niklas9 (https://keybase.io/niklas9) on keybase.
- I have a public key ASBhR2j3od8lmEjb8Y8OHXdjFo4MXo_1xdXKS6HXAYo-FQo
To claim this, I am signing this object:
git log --since=4.weeks --numstat --pretty="%ae %H" | sed 's/@.*//g' | awk '{ if (NF == 1){ name = $1}; if(NF == 3) {plus[name] += $1; minus[name] += $2}} END { for (name in plus) {print name": +"plus[name]" -"minus[name]}}' | sort -k2 -gr |
#!/bin/python | |
import os | |
import sys | |
if not len(sys.argv) == 3: | |
print('need two input args, source and target files') | |
#!/usr/bin/python3 | |
import csv | |
import operator | |
import sys | |
if len(sys.argv) < 2: | |
print('need csv file as first arg') | |
sys.exit(1) |
I hereby claim:
To claim this, I am signing this object:
#!/bin/bash | |
if [ $# -eq 0 ] | |
then | |
echo "missing argument for file path to tar-archive" | |
exit 1 | |
fi | |
for file in $(tar -tf $1); | |
do |
#!/usr/bin/env bash | |
# memusg -- Measure memory usage of processes | |
# Usage: memusg COMMAND [ARGS]... | |
# | |
# Author: Jaeho Shin <netj@sparcs.org> | |
# Created: 2010-08-16 | |
set -um | |
# check input | |
[ $# -gt 0 ] || { sed -n '2,/^#$/ s/^# //p' <"$0"; exit 1; } |
var mongoose = require('mongoose'); | |
var wait = require('wait.for'); | |
mongoose.connect('localhost', 'non_async_tests'); | |
var itemSchema = new mongoose.Schema({ | |
name: String | |
}); | |
var Item = mongoose.model("Item", itemSchema); |