Skip to content

Instantly share code, notes, and snippets.

View exustash's full-sized avatar
🏃‍♂️
new start!

Exuper O. exustash

🏃‍♂️
new start!
  • mikanolab
  • Paris
View GitHub Profile
@exustash
exustash / most_changed_roles.py
Created June 26, 2021 17:07 — forked from caleb15/most_changed_roles.py
python script for aggregating changes by folder.
import re
# run ./git-most.sh > most.txt before this script
# adjust whitelist var if you only want to see changes to a certain filetype/file/path
most_changed_paths = {}
whitelist = '' # '.yml'
with open('most.txt') as f:
for line in f.readlines():
@exustash
exustash / .editorconfig
Created September 12, 2019 05:53
.editorconfig
# http://editorconfig.org
root = true
# Unix-style newlines with a newline ending every file
[*]
charset = utf-8
end_of_line = lf
indent_style = space
indent_size = 4
trim_trailing_whitespace = true
@exustash
exustash / Makefile
Last active March 5, 2019 16:30
makefile-documentation
.DEFAULT_GOAL := help
#help: @ List available tasks on this project
help:
@grep -E '[a-zA-Z\.\-]+:.*?@ .*$$' $(MAKEFILE_LIST)| tr -d '#' | awk 'BEGIN {FS = ":.*?@ "}; {printf "\033[36m%-30s\033[0m %s\n", $$1, $$2}'
#dep.install: @ Install all depencies defined in package.json
dep.install:
yarn install
@exustash
exustash / Makefile
Last active March 5, 2019 15:43
makefile-composition
release.package: r.bundle r.fingerprint r.package
r.bundle:
yarn run dist -- --APP_ENV=prod
r.fingerprint:
@echo "<!-- `date --utc` - revision: `git log -n 1 --pretty=format:'%h' -->" >> dist/prod/index.html
r.package:
tar -czvf nodeapp.tar.gz -C app/dist/prod .
@exustash
exustash / Makefile
Last active March 5, 2019 15:24
makefile-name-space
test.lint:
yarn run test:lint
test.unit:
yarn run test:unit
test.end2end:
yarn run test:e2e