Skip to content

Instantly share code, notes, and snippets.

@jduckles
Created August 6, 2019 23:06
Show Gist options
  • Save jduckles/1159f2d51eb67813bd4c1e36d6ec5999 to your computer and use it in GitHub Desktop.
Save jduckles/1159f2d51eb67813bd4c1e36d6ec5999 to your computer and use it in GitHub Desktop.
Community posts in DC blog
# The website is itself a Git repo
git clone https://github.com/datacarpentry/datacarpentry.github.io
# enter the directory after we clone the repo
cd datacarpentry.github.io
# enter the directory where posts are, posts are text in Markdown
cd _posts
# Lets look (using grep) for the line in all posts that contains the "Subheadline"
# subheadline seems to be used to flag posts including community elements
grep -r "subheadline:" * |grep -i community
# grep -r looks recursively through directories, and grep -i makes the match case-insensitive (ie. community = CommunIty)
2016-05-09-welcoming-community.md:subheadline: "Community"
2016-07-25-workshops-survey:subheadline: "Community"
2016-07-25-workshops-survey.md:subheadline: "Community"
2016-08-08-code-of-conduct.md:subheadline: "Community"
2016-09-01-sept-all-stars.md:subheadline: "Community"
2016-09-12-community-call.md:subheadline: "Community"
2016-10-20-community-call.md:subheadline: "Community"
2016-11-21-how-we-wrote-our-code-of-conduct.md:subheadline: "Community"
2016-12-07-genomics-nwu.md:subheadline: "Building Community"
2016-12-09-discovering.md:subheadline: "Building Community"
2016-12-12-conversations.md:subheadline: "Community"
2016-12-16-mentorship-program.md:subheadline: "Community"
2016-12-21-careers.md:subheadline: "Community"
2017-01-20-first-panel.md:subheadline: "Community"
2017-01-25-uwcommunity.md:subheadline: "Building Community"
2017-02-02-inclusion.md:subheadline: Community
2017-02-21-community-lead.md:subheadline:
2017-02-22-careerpanel.md:subheadline: "Community"
2017-02-22-uf-program.md:subheadline: "Building Community"
2017-02-24-run-a-workshop-this-spring.md:subheadline: "Community"
2017-06-07-community-developement-lead.md:subheadline:
2018-01-15-datacarpentry-looking-forward-looking-back.md:subheadline: "Data Carpentry: Building Community Teaching Universal Data Literacy"
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment