Skip to content

Instantly share code, notes, and snippets.

View przemkow's full-sized avatar
👨‍💻

Przemysław Fałowski przemkow

👨‍💻
View GitHub Profile
@przemkow
przemkow / commit-msg
Last active June 17, 2020 14:40
git commit spellchecker
#!/bin/bash
set -e
INPUT_FILE=$1
COMMIT_MESSAGE=`head -n1 $INPUT_FILE`
# The following is a text file that represents your custom dictionary; edit as necessary. Add words to it that you wish
# to ignore for the spell check.
dict=~/.git-spell-check-dictionary
if [ ! -f $dict ]; then
@przemkow
przemkow / abtestConfig.json
Last active January 19, 2021 10:59
ab-testing-medium-article
{
"timestamp": 1610486506114,
"experiments": [
{
"experimentName": "ActivityCard",
"control": "old-activity-card",
"variant": "new-activity-card",
"variantPercentage": 50
}
]
@przemkow
przemkow / jest.config.js
Last active July 29, 2021 10:52
Jest transform svg with vue-jest@4
modules.export = {
...,
transform: {
".*\\.(svg)$": "<rootDir>/svg-transform.js",
},
}