jq is useful to slice, filter, map and transform structured json data.
brew install jq
{ | |
"meta": { "theme": "elegant" }, | |
"basics": { | |
"name": "Aimee Birch", | |
"email": "[email protected]", | |
"phone": "(619) 214-7192", | |
"picture": "https://scontent-sjc3-1.xx.fbcdn.net/v/t39.30808-6/271818527_5097743013569380_1108558749193768120_n.jpg?_nc_cat=101&ccb=1-7&_nc_sid=09cbfe&_nc_ohc=u4tjsndJYvkAX_axGNb&_nc_ht=scontent-sjc3-1.xx&oh=00_AfAssaqvtVeiKNHgnWUeyM1kOfL0t9R1XumcF2RXYnZCFg&oe=64362668", | |
"objective": "To obtain a position in project coordination or management where I can utilize my organizational skills and experience to successfully manage projects and exceed client expectations.", | |
"location": { | |
"city": "San Diego, CA", |
{ | |
"meta":{ | |
"author":"emjayoh", | |
"theme":"elegant" | |
}, | |
"basics":{ | |
"name":"Tera Little", | |
"label":"Professional Commercial/Private Cleaning Services", | |
"email":"[email protected]", | |
"phone":"(619) 844-7613", |
find . -depth -name '* *' \ | |
| while IFS= read -r f ; do mv -i "$f" "$(dirname "$f")/$(basename "$f"|tr ' ' _)" ; done |
pkill NotificationCenter |
#!/bin/bash | |
#needed in case we have empty folders | |
shopt -s nullglob | |
#we must write the full path here (no ~ character) | |
target="/path/to/photos" | |
#we use a glob to list the folders. parsing the output of ls is baaaaaaaddd !!!! | |
#for every folder in our photo folder ... |
# -t gfm (GitHub-Flavored Markdown) | |
# -t markdown_mmd (MultiMarkdown) | |
# -t markdown (pandoc’s extended Markdown) | |
# -t markdown_strict (original unextended Markdown) | |
#- t markdown_phpextra (PHP Markdown Extra) | |
# -t commonmark (CommonMark Markdown) | |
pandoc -f docx -t markdown foo.docx -o foo.markdown |
ffmpeg -i input.mp4 -c:v libx265 -vtag hvc1 output.mp4 |
echo file file1.mp4 > mylist.txt | |
echo file file2.mp4 >> mylist.txt | |
echo file file3.mp4 >> mylist.txt | |
ffmpeg -f concat -i mylist.txt -c copy output.mp4 |
I hereby claim:
To claim this, I am signing this object: