Skip to content

Instantly share code, notes, and snippets.

View mwfogleman's full-sized avatar

Tasshin Fogleman mwfogleman

View GitHub Profile
@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
@mwfogleman
mwfogleman / gtd_basb_templates.org
Last active December 14, 2023 19:50
GTD/BASB Templates for Emacs and Org-Mode

%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

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)

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?

Verifying my Blockstack ID is secured with the address 1Lr3khGM2XXFyRDn2wC9DUgoYTgCYKNDKd https://explorer.blockstack.org/address/1Lr3khGM2XXFyRDn2wC9DUgoYTgCYKNDKd
@mwfogleman
mwfogleman / reagent_solution.cljs
Created September 9, 2017 16:27
Reagent Solution
(defn react-function-1 [game-atom]
(let [g @game-atom]
[:b g]))
(defn react-function-2 [game-atom]
(fn []
(let [g @game-atom]
[:b g])))
@mwfogleman
mwfogleman / matches_regex.clj
Created September 2, 2017 12:54
Matches Regex
(defn matches-regex?
[r s]
(some? (re-seq r s)))