Dwarves
Memo
Pinned Notes
Home
Popular Tags
Dwarves
Memo
0) { selectedRecent = recentPages[0]; selectedSection = 'recents'; }">
🔍 Search
⌘
K
0) { selectedRecent = recentPages[0]; selectedSection = 'recents'; } else { selectedSection = 'welcome'; selectedWelcomeItem = 0; } clearAllSelections(); } else { selectedSection = 'search'; } " @input.debounce.750ms="$dispatch('command-palette-search', { data: $event.target.value })" @command-palette-search-result.window=" searching = false; searchResults = $event.detail.data.grouped; flat = $event.detail.data.flat; if(query.length > 0 && flat.length > 0) { selected = flat[0]; selectedSection = 'search'; clearAllSelections(); } else if (query.length === 0) { if (recentPages.length > 0) { selectedRecent = recentPages[0]; selectedSection = 'recents'; } else { selectedSection = 'welcome'; selectedWelcomeItem = 0; } clearAllSelections(); } " @command-palette-search-initialize.window="searchPlaceholder = $event.detail.text">
on this page
Recents
Welcome to Dwarves Memo
What's been hot lately
See featured posts
Pinned note
View our latest announcement
Actions
Copy memo content
Type
ESC
to close search bar
Reading Mode
+
shift
+
f
design-pattern
tags:
design-pattern
A
A tour of Singleton design pattern with Golang
gang of four
A Tour of Template method pattern with Golang
behavioral pattern
C
Command Pattern
behavior patterns
I
Introduce the Builder pattern and its use cases
creational design pattern
Introduce the Observer pattern and its use cases
gang of four
S
Singleton Design Pattern in Javascript
frontend
State Pattern
gang of four
Strategy design pattern, the concept, use cases and difference with the state design pattern
gang of four
V
Visitor design pattern, the concept, problem solution and use cases
gang of four