Skip to content

Instantly share code, notes, and snippets.

View mwfogleman's full-sized avatar

Tasshin Fogleman mwfogleman

View GitHub Profile
@mwfogleman
mwfogleman / gtd_basb_templates.org
Last active December 14, 2023 19:50
GTD/BASB Templates for Emacs and Org-Mode
@mwfogleman
mwfogleman / weeklyreviewtemplate.org
Last active December 14, 2023 19:50
Weekly Review Template

Weekly Review

Get Clear [0/5]

  • [ ] Collect Loose Papers and Materials
  • [ ] Get “IN” to Zero
    • [ ] Papers
    • [ ] Physical Notebook
    • [ ] Physical Objects
    • [ ] Text Messages
    • [ ] Voice Mail
    • [ ] Email Inboxes

Annual Review

Write Gratitude List

Experiences, People, Accomplishments, Learnings, Events, Circumstances, Things

Answer questions about last year:

List your 3 top wins for the year

What are the biggest lessons you’ve learned this year?

What were the risks you took?

What was your most loving service?

What is your unfinished business from this year?

What are you most happy about completing?

@mwfogleman
mwfogleman / new_machine_config.sh
Last active January 3, 2021 21:06
New Machine Configuration Script
#!/bin/bash
/bin/bash -c "$(curl -fsSL https://raw.githubusercontent.com/Homebrew/install/master/install.sh)"
brew tap railwaycat/emacsmacport
brew install emacs-mac
brew install bash
brew install clojure
brew install coreutils

Monthly Review

Review Life Goals

  • [ ] Scroll through completed goals.
  • [ ] Move newly completed goals to “Completed” heading for archives.
  • [ ] Update timelines for existing goals.
  • [ ] Update wording/definition/scale of goals.
  • [ ] Add any new goals, and corresponding projects if needed.

Daily Review

  • [ ] Clear Physical Desktop / Inbox / Notebook
  • [ ] Clear Downloads and Desktop Folders
    (dired "~/Downloads/")
    (dired "~/Desktop/")
    (image-dired "~/Desktop/")
        
  • [ ] Collect Calendar Open Loops (+/- 2 days)

%Project name

%OUTCOMEp %AREAp %?
  • [ ] Add project tags for context (e.g. work, personal)
  • [ ] List specific tasks
  • [ ] Add project completion date and calculate time span
    (org-entry-put (point) "ENDDATE" (org-time-stamp '(16) t))
    (org-entry-put (org-mark-subtree) "ENDDATE" (org-time-stamp '(16) t))
        
  • [ ] Generate project clock report
    (org-clock-report)
        
  • [ ] Move remaining tasks to other Projects or Areas
@mwfogleman
mwfogleman / org-go-speed.el
Last active January 30, 2019 09:09
Org-Mode: Go to the heading of an element, so you can use speed commands
; Speed commands are really useful, but I often want to make use of
; them when I'm not at the beginning of a header. This command brings
; you back to the beginning of an item's header, so that you can do
; speed commands.
(defun org-go-speed ()
"Goes to the beginning of an element's header, so that you can
execute speed commands."
(interactive)
(when (equal major-mode 'org-mode)
@mwfogleman
mwfogleman / gist:95cc60c87a9323876c6c
Last active May 19, 2018 23:28
Emacs: narrow-or-widen-dwim
(defun narrow-or-widen-dwim ()
"If the buffer is narrowed, it widens. Otherwise, it narrows to region, or Org subtree."
(interactive)
(cond ((buffer-narrowed-p) (widen))
((region-active-p) (narrow-to-region (region-beginning) (region-end)))
((equal major-mode 'org-mode) (org-narrow-to-subtree))
(t (error "Please select a region to narrow to"))))
;; I bind this key to C-c n, using the bind-key function that comes with use-package.
(bind-key "C-c n" 'narrow-or-widen-dwim)