-
{% for category in site.categories %}
- {{ category | first }} {% endfor %}
This file contains hidden or 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
# encoding: utf-8 | |
# | |
# Jekyll categories pages generator | |
# | |
# This plugin generates pages for each of the categories of your site, as | |
# defined in their YAML front matter. | |
# If enabled through configuration, it will also generate the appropriate pagination | |
# | |
# To enable category pages generation, add the following in your _config.yml | |
# |
This file contains hidden or 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
# Sample PIEL Survey for Use in Experience Sampling | |
# Current example is focused on tracking flow | |
name|Subjective Check-in | |
author|DataDrivenYou.com | |
author-email|[email protected] | |
subject-id|0001 | |
# can-run-once|1 | |
can-test|0 | |
placeholder-message|This questionaire is used to logging data about your current activity, your subjective state and your relationship to what you are doing. It is based on experience sampling method (ESM) research. | |
exit-message|3|Thank you for logging! |
This file contains hidden or 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
# Bulk Trim Header and Footer from Screenshots | |
# brew install imagemagick | |
for f in *.jpg; | |
do | |
convert "$f[1440x777+0+0]" "${f%.jpg}".jpg | |
done |
This file contains hidden or 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/python | |
# -*- coding: utf-8 -*- | |
# | |
############################# | |
# | |
# Append a Table of Contents (TOC) to a PDF Document on Mac using Python | |
# | |
# This script involves no external dependencies. Works and tested on Mac's default version of Python. | |
# | |
# Usage: python pdf_toc_processor.py -i <path-to-target.pdf> -b <path-to-bookmarks-file.txt> -o <path-to-output.pdf> |
This file contains hidden or 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 | |
cd /Users/markkoester/Desktop/ | |
for f in *.txt ; do | |
if [ -f "$f" ] | |
then | |
filedatetime=$(stat -f '%Sm' -t '%Y%m%d%H%M' "$f") | |
filename=$(basename -- "$f") | |
extension="${filename##*.}" | |
filename="${filename%.*}" | |
filename="${filename// /_}" |
This file contains hidden or 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 | |
cd /Users/markkoester/Desktop/ | |
clipboard='' | |
NL=$'\n' | |
for f in Screenshot*.png ; do | |
if [ -f "$f" ] | |
then | |
filedatetime=$(stat -f '%Sm' -t '%Y%m%d%H%M.%S' "$f") | |
mv "$f" $filedatetime.png | |
# $(exiftool -d "%Y%m%d%H%M.%S" -CreateDate "$f" | awk '{print $4".png"}')" |
This file contains hidden or 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 | |
############################# | |
# Readings Tracker | |
# | |
# Watch Directories of Articles and Book Files for new and modified files | |
# | |
# (Mac) Track Tagged PDF and other Files using command line tool Tag: https://github.com/jdberry/tag | |
# | |
# Data Tracking and Log Files | |
DATA_FILE="/Users/user/Development/data/files-reading-stats.csv" |
This file contains hidden or 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 | |
# | |
# Bash script to generate a unique identifier for file name | |
# Used for a Plain Text Writing, Knowledge or Notes System | |
# | |
# Allows for following Options: | |
# -o: opening file in a target program | |
# Additional Title or name appended to end of file name | |
# | |
# Examples |
This file contains hidden or 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 | |
# Bash script to generate a daily morning pages template | |
# includes file name and various date references | |
cd /Users/markkoester/Library/Mobile\ Documents/9CR7T2DMDG~com~ngocluu~onewriter/Documents/Notes_TheArchive | |
file_date=$( date '+%Y-%m-%d' ) | |
filename="mp_$file_date.md" # prepending mp to files named according to date. | |
if [ -f $filename ] |
NewerOlder