Skip to content

Instantly share code, notes, and snippets.

@SeanTAllen
SeanTAllen / gist:7cbb72339806f3decee2
Last active October 7, 2015 22:53
The Tech "People" Bookclub
Here's the idea,
You work in tech. You're in the NYC area.
You care about "people" issues. You think the hardest problem in computing is "people".
You are interested in how we work. How to structure work. How to work together.
How to help your colleagues succeed.
And...
There's so much to learn:
@JeffreyMFarley
JeffreyMFarley / dups.sh
Last active August 25, 2020 14:17
Find Duplicated Javascript code
#!/bin/sh
files=frontend/src/static/js
pmd cpd --language ecmascript --minimum-tokens 25 --files "$files" --format csv \
| sed "1s/.*/lines,tokens,occurrences,L1,F1,L2,F2,L3,F3,L4,F4/" \
| sed "s|$(pwd)/$files|.|g" \
> dups.csv