This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/usr/bin/env bash | |
if [ -z "$1" ]; then | |
echo "Missing submodule" | |
exit 1 | |
fi | |
sn=$1 | |
# verify that the folder is not deleted while there are unsaved changes |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/bin/bash | |
# read json entries line by line in a file and extract property of it | |
# usage: | |
# ./extract-json-prop.sh <FILENAME> <QUERY> | |
# example | |
# ./extract-json-prop.sh test.json .query.test | |
while IFS='' read -r line || [[ -n "$line" ]]; do | |
echo $line | jq "$2" | |
done < "$1" |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
if &compatible | |
set nocompatible | |
endif | |
set runtimepath+=/Users/skober/.cache/dein/repos/github.com/Shougo/dein.vim | |
if dein#load_state('/Users/skober/.cache/dein') | |
call dein#begin('/Users/skober/.cache/dein') |