How do I dropdown?
This is how you dropdown.
<details> <summary>How do I dropdown?</summary> <br> This is how you dropdown.
| <# | |
| Prerequisites: PowerShell version 3 or above. | |
| License: MIT | |
| Author: Michael Klement <mklement0@gmail.com> | |
| #> | |
| function Out-FileUtf8NoBom { | |
| <# | |
| .SYNOPSIS | |
| Outputs to a UTF-8-encoded file *without a BOM* (byte-order mark). |
| --- | |
| stages: | |
| - build-docs | |
| - publish-docs | |
| build-docs-html: | |
| stage: build-docs | |
| image: node:lts-bullseye | |
| # Cache modules using lock file | |
| cache: |
| Function ConvertTo-Markdown { | |
| <# | |
| .Synopsis | |
| Converts a PowerShell object to a Markdown table. | |
| .Description | |
| Converts a PowerShell object to a Markdown table. | |
| .Parameter InputObject | |
| PowerShell object to be converted | |
| .Example | |
| ConvertTo-Markdown -InputObject (Get-Service) |
<details> <summary>How do I dropdown?</summary> <br> This is how you dropdown.
| from datetime import datetime | |
| # Requires third-party Python packages | |
| # pip install mediawiki | |
| # pip install shortuuid | |
| from mediawiki import MediaWiki | |
| import shortuuid | |
| { | |
| "g.time": { | |
| "prefix": "-t", | |
| "body": [ | |
| "- $CURRENT_YEAR-$CURRENT_MONTH-$CURRENT_DATE $CURRENT_HOUR:$CURRENT_MINUTE: " | |
| ], | |
| "description": "Insert timestamp. Good for interstitial journaling." | |
| } | |
| } |
| dev: | |
| enablePreviewV2: true | |
| # Ensure selfcontainedvaults enabled | |
| enableSelfContainedVaults: true | |
| enableExportPodV2: true | |
| commands: | |
| lookup: | |
| note: | |
| # Enables vaultSelectionModeOnCreate | |
| # https://wiki.dendron.so/notes/F9LWJEjscrGkxnYi2JNby/#confirmvaultoncreate |
| [00:00.000 --> 00:17.320] I'm currently testing Whisper on my desktop as a way to eventually share with the linking | |
| [00:17.320 --> 00:20.080] your thinking community. | |
| [00:20.080 --> 00:28.720] This is just a way to show different timestamps and general display ability and seeing how | |
| [00:28.720 --> 00:34.000] this could look as an easy note taking solution. | |
| [00:34.000 --> 00:38.240] I for one think this is a rather cool piece of software that I could simply run from my | |
| [00:38.240 --> 00:40.960] terminal of my Linux desktop. |
These three files were used to help clean up a Slack Workspace channel export prior to importing into a Discord server.
Ultimately, the Salt Project Slack Archive Export was imported into the new Salt Project Discord Server:
| {% set user_name = salt['pillar.get']('common:lookup:user') %} | |
| awscli-extract: | |
| archive.extracted: | |
| - name: /home/{{ user_name }}/Downloads/awscli | |
| - if_missing: /home/{{ user_name }}/Downloads/awscli/aws | |
| - archive_format: zip | |
| - source: https://awscli.amazonaws.com/awscli-exe-linux-x86_64.zip | |
| - user: {{ user_name }} | |
| - group: {{ user_name }} | |
| - skip_verify: True |