Welcome to Svelte
+Click the button to greet:
+ ++
+ +
+
Click here to continue
+``` + +```css +p{Click }+a{here}+{ to continue} +``` + +```html +Click
+here to continue +``` diff --git a/content/Encouragements.md b/content/Encouragements.md new file mode 100644 index 000000000..9836bc7af --- /dev/null +++ b/content/Encouragements.md @@ -0,0 +1,38 @@ +--- +compartir: true +title: Encouragements +--- + +# Encouragements + +Notes that one way or another, encourage me to be better, to sit down for less time, to be more active, etc. + +## Procrastination + +1. Shower in the morning. +2. Do not multitask—our brain is single-threaded. +3. Turn your daily habits into a game. +4. Get some movement in before starting work. Go for a walk, a short bike ride, something outside. +5. Tiny habits deliver big results in a year. +6. If you want to change, start with the type of content you consume. +7. Stop obsessing over productivity hacks and actually start working on your backlog. +8. Have no "Zero-Days." Get something, anything at all done everyday. No matter how small. +9. Don't oversleep, wake up at a standard time each workday, and start work at a standard time each day. +10. Stop watchin the news. +11. Eat the Frog. Identify one challenging task (the frong), and complete it first thing in the morning (thus eating it). +12. Fix and maintain a healthy sleep schedule. +13. It doesn't need to be perfect, it does need to be started. +14. [[./Consistency|Consistency]] is more important than intensity. + +## Side Effects of Sitting Down + +1. Weak legs and glutes +2. Weight gain +3. Tight hips and bad back +4. Anxiety and depression +5. Cancer risk +6. Heart disease +7. Diabetes Risk +8. Varicose Veins +9. Deep vein thrombosis (DVT) +10. Stiff shoulders and neck diff --git a/content/Espanso Cheat Sheet.md b/content/Espanso Cheat Sheet.md new file mode 100644 index 000000000..f3c3d8e64 --- /dev/null +++ b/content/Espanso Cheat Sheet.md @@ -0,0 +1,148 @@ +--- +title: Espanso Cheat Sheet +compartir: true +--- + +## Introduction + +Cross-platform Text Expander written in Rust. + +Visit the [Documentation](https://espanso.org/docs/get-started/). + +## Features + +- Works on **Windows**, **macOS** and **Linux** +- Works with almost **any program** +- Works with **Emojis** 😄 +- Works with **Images** +- Includes a powerful **Search Bar** 🔎 +- **Date** expansion support +- **Custom scripts** support +- **Shell commands** support +- **App-specific** configurations +- Support [Forms](https://espanso.org/docs/matches/forms/) +- Expandable with **packages** +- Built-in **package manager** for [espanso hub](https://hub.espanso.org/) +- File based configuration +- Support Regex triggers +- Experimental Wayland support + +## Static Matches + +### Single-line Expansions + +```yml +- trigger: 'hello' + replace: 'world' +``` + +### Multi-line Expansions + +```yml +- trigger: 'hello' + replace: "line1\nline2" +``` + +## Dynamic Matches + +### Using Variables + +```yml +- trigger: 'now' + replace: "It's {{mytime}}" + vars: + - name: mytime + type: date + params: + format: '%H:%M' +``` + +### Preconfigured Choices + +```yml +- name: output + type: choice + params: + values: + - "Every moment is a fresh beginning." + - "Everything you can imagine is real." + - "Whatever you do, do it well." +``` + +### Run CLI Command + +```yaml +- name: getip + type: shell + params: + cmd: 'curl ifconfig.me' + shell: cmd +``` + +## Global Variables + +### Declarations + +```yml +global_vars: + - name: 'global1' + type: 'shell' + params: + cmd: 'echo global var' + - name: 'greet' + type: 'echo' + params: + echo: 'Hey' +``` + +### Usage + +```yml +- trigger: ":hello" + replace: "{{greet}} Jon" +``` + +## Word Triggers + +### Autocorrect Typos + +```yml +- trigger: "ther" + replace: "there" + word: true +``` + +### Case Propagation + +```yml +- trigger: "alh" + replace: "although" + propagate_case: true + word: true +``` + +- If you write `alh`, the match will be expanded to `although`. +- If you write `Alh`, the match will be expanded to `Although`. +- If you write `ALH`, the match will be expanded to `ALTHOUGH`. + +## Cursor Hints + +Insert `$|$` where you want the cursor to be positioned. Limited to one cursor hint. + +```yml +- trigger: ":div" + replace: "Click the button to greet:
+ +