-
-
Notifications
You must be signed in to change notification settings - Fork 33
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Nikita Voloboev
committed
Oct 25, 2017
1 parent
cc9310c
commit 1d33c3b
Showing
69 changed files
with
21,450 additions
and
105 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,33 @@ | ||
// Package gitbook contains helper functions to parse GitBook summaries | ||
package main | ||
|
||
import ( | ||
"bufio" | ||
"fmt" | ||
"io/ioutil" | ||
"regexp" | ||
"strings" | ||
) | ||
|
||
// getAllLinks returns all links and their names from a given markdown file. | ||
func getAllLinks(fileContent string) { | ||
m := make(map[string]string) | ||
|
||
// regex to extract link and text attached to link | ||
re := regexp.MustCompile(`\[([^\]]*)\]\(([^)]*)\)`) | ||
|
||
scanner := bufio.NewScanner(strings.NewReader(fileContent)) | ||
for scanner.Scan() { | ||
matches := re.FindAllStringSubmatch(scanner.Text(), -1) | ||
m[matches[0][1]] = matches[0][2] | ||
} | ||
} | ||
|
||
// readFile Reads file. | ||
func readFile(filename string) string { | ||
b, err := ioutil.ReadFile(filename) // just pass the file name | ||
if err != nil { | ||
fmt.Print(err) | ||
} | ||
return string(b) | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,34 @@ | ||
<h1 align="center">Alfred interface to my mind 🎗</h1> | ||
|
||
<p align="center"><img src="http://i.imgur.com/4wvJNy6.png" alt="img" width="600"></p> | ||
|
||
<h1 align="center"> Description 📕</h1> | ||
|
||
You can read why this workflow exists [here](https://nikitavoloboev.gitbooks.io/knowledge/content/meta/my-mind.html). | ||
|
||
Essentially you can search through entirety of [my wiki](https://nikitavoloboev.gitbooks.io/knowledge/content/), all of [my mind maps](https://my.mindnode.com/myLVaRLKytoTYBLshxGzzb75MN9cyGHbQBgaVVPp#618.3,-10.4,-1) which include super fast access to various books, courses, blogs, research papers, reddit subreddits, stack exchange sites and more that I use to move and learn things faster. | ||
|
||
Since this workflow is geared for my own personal use and productivity and in many ways tries to act as an extension of my brain, it can at times be messy and is always in *work in progress* state. | ||
|
||
As this workflow is focused and optimised for fast access to all the knowledge and references I have indexed. It would make sense to read through the wiki I made and maintain [here](https://nikitavoloboev.gitbooks.io/knowledge/content/). | ||
|
||
My goals with sharing both this workflow and my wiki knowledge base is to extend my idea of of [knowledge bootstrapping](https://medium.com/@NikitaVoloboev/knowledge-bootstrapping-36c97e0dee19#.udmp9eotg) and tapping into a person's expertise in the most transparent way possible. | ||
|
||
<h1 align="center"> Install 💎</h1> | ||
|
||
Download the workflow from [GitHub releases](https://github.com/nikitavoloboev/alfred-my-mind/releases/latest). | ||
|
||
|
||
<h1 align="center"> Contribute 💛</h1> | ||
|
||
This workflow heavily leverages curated lists from Learn Anything that can be found [here](https://github.com/learn-anything). You can contribute directly to those lists so everyone benefits. | ||
|
||
In the future, I hope to expose certain lists as CSV files that all can contribute and add to similar to [Web Searches workflow](https://github.com/nikitavoloboev/alfred-web-searches). | ||
|
||
<h2 align="center"> Small Demo 🚀</h2> | ||
|
||
<p align="center"><img src="media/demo.gif" alt="img" width="600"></p> | ||
|
||
<h1 align="center"> Thanks 🍀</h1> | ||
|
||
You can support what I do on [Patreon](https://www.patreon.com/nikitavoloboev) or look [into other repositories](https://my.mindnode.com/ZKGETDkUaQUsL3q8q9z788CxG84oEHgDiT79GuzX#-143.5,-902.6,0) I shared. Thank you. 💛 |
Binary file not shown.
Oops, something went wrong.