Skip to content

Instantly share code, notes, and snippets.

View katmoody's full-sized avatar

Katrina Moody katmoody

View GitHub Profile
@katmoody
katmoody / Custom-Grid-Loop-Excerpt
Created May 17, 2015 02:08
Customize Genesis Grid Loop for Excerpt, with dual excerpt lengths for teaser and features, custom Read More with accessibility added
/**
* Change the number of words in excerpt if in the grid loop and customize READ MORE, add accessibility
*/
function kat_grid_content() {
// First, we make sure we're in the grid loop.
if( ! apply_filters( 'is_genesis_grid_loop', false ) )
return;
// Change length if teaser
@katmoody
katmoody / facebook-meta-tags.html
Created June 30, 2015 15:55
Copy and Paste Facebook Meta Tags (Just Fill in and Go!)
<meta property="og:image" content="DIRECT LINK TO IMAGE HERE"/>
<meta property="og:title" content="PREFERRED FB TITLE HERE"/>
<meta property="og:url" content="ACTUAL POST/PAGE URL HERE"/>
<meta property="og:site_name" content="SITE NAME"/>
<meta property="og:type" content="CHOOSE: article, blog,or website or see https://developers.facebook.com/docs/sharing/opengraph/object-properties for more information"/>
<meta property="og:description" content="THE DESCRIPTION YOU WANT TO APPEAR ON FB"/>
@katmoody
katmoody / git-cheat-sheet.md
Created December 11, 2017 14:34 — forked from iansheridan/git-cheat-sheet.md
A cheat sheet for GIT

Setup

git clone <repo>

clone the repository specified by ; this is similar to "checkout" in some other version control systems such as Subversion and CVS

Add colors to your ~/.gitconfig file:

@katmoody
katmoody / how-i-work.md
Last active March 1, 2023 23:02 — forked from rmccue/how-i-work.md
A description of how I work, where I work, and the habits I use to work remotely

How I Work

This is an evolving document about my work habits.

Deep Work

I use the concept of deep work and focus time so that I can avoid context switching. The book Deep Work by Cal Newport prompted the examination of my work and learning habits. A few key principles I adopted after reading this book are:

  • Reserving time blocks I dedicate to deep work each day, depending on the time available in my schedule.
  • Cutting off as many distractions as possible, including email, Slack, and other notifications from my computer and phone.
  • Reducing 'shallow' tasks wherever possible (tasks can become busy work and waste time)

Keybase proof

I hereby claim:

  • I am katmoody on github.
  • I am katmoody (https://keybase.io/katmoody) on keybase.
  • I have a public key ASDxAGgdPSOs2Z2MBYGB1tGfDD5nNV3weu1Edkz7SMMj1wo

To claim this, I am signing this object: