Skip to content

Instantly share code, notes, and snippets.

View mwfogleman's full-sized avatar

Tasshin Fogleman mwfogleman

View GitHub Profile
@mwfogleman
mwfogleman / hobbies_structure.clj
Created August 2, 2017 12:17
Hobbies Structure
{:people ;; first primary key
{:dave
{:name "Dave Smith"
:hobbies #{:baseball}}} ;; this is a nested set of keywords which are in the hobbies part of the database
:hobbies ;; second primary key
{:baseball
{:name "Play Baseball"
:instructions "Get a baseball, baseball bat, and gloves; gather some friends; and go to a baseball field."}}}
@mwfogleman
mwfogleman / codenames_game_example.clj
Last active September 9, 2017 16:10
Codenames Game Example
{:starting-team :red,
:current-team :red,
:remaining {:red 9, :blue 8},
:winning-team nil,
:id "G__97824",
:round 0,
:words
'({:word "STRAW", :identity :red, :revealed? false, :position [1 2]}
{:word "SCORPION", :identity :red, :revealed? false, :position [3 0]}
{:word "DRILL", :identity :red, :revealed? false, :position [2 2]}
@mwfogleman
mwfogleman / matches_regex.clj
Created September 2, 2017 12:54
Matches Regex
(defn matches-regex?
[r s]
(some? (re-seq r s)))
@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])))
Verifying my Blockstack ID is secured with the address 1Lr3khGM2XXFyRDn2wC9DUgoYTgCYKNDKd https://explorer.blockstack.org/address/1Lr3khGM2XXFyRDn2wC9DUgoYTgCYKNDKd

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?

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)

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.
  • [ ] 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

%Project name

%OUTCOMEp %AREAp %?
  • [ ] Add project tags for context (e.g. work, personal)
  • [ ] List specific tasks