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:
| FROM ubuntu:24.04 | |
| ARG SLSA_VERIFIER_VERSION=2.6.0 | |
| ARG COSIGN_VERSION=2.4.0 | |
| ARG SOPS_VERSION=3.9.0 | |
| # Prereqs for validation | |
| ## slsa-verifier | |
| ADD https://github.com/slsa-framework/slsa-verifier/releases/download/v${SLSA_VERIFIER_VERSION}/slsa-verifier-linux-amd64 /tmp/slsa-verifier-linux-amd64 | |
| ADD https://github.com/slsa-framework/slsa-verifier/releases/download/v${SLSA_VERIFIER_VERSION}/slsa-verifier-linux-amd64.intoto.jsonl /tmp/slsa-verifier-linux-amd64.intoto.jsonl | |
| ADD https://raw.githubusercontent.com/slsa-framework/slsa-verifier/main/SHA256SUM.md /tmp/slsa-SHA256SUM.md |
| {% 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 |
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:
| [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. |
| dev: | |
| enablePreviewV2: true | |
| # Ensure selfcontainedvaults enabled | |
| enableSelfContainedVaults: true | |
| enableExportPodV2: true | |
| commands: | |
| lookup: | |
| note: | |
| # Enables vaultSelectionModeOnCreate | |
| # https://wiki.dendron.so/notes/F9LWJEjscrGkxnYi2JNby/#confirmvaultoncreate |
| { | |
| "g.time": { | |
| "prefix": "-t", | |
| "body": [ | |
| "- $CURRENT_YEAR-$CURRENT_MONTH-$CURRENT_DATE $CURRENT_HOUR:$CURRENT_MINUTE: " | |
| ], | |
| "description": "Insert timestamp. Good for interstitial journaling." | |
| } | |
| } |
| from datetime import datetime | |
| # Requires third-party Python packages | |
| # pip install mediawiki | |
| # pip install shortuuid | |
| from mediawiki import MediaWiki | |
| import shortuuid | |
<details> <summary>How do I dropdown?</summary> <br> This is how you dropdown.
| 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) |
| --- | |
| stages: | |
| - build-docs | |
| - publish-docs | |
| build-docs-html: | |
| stage: build-docs | |
| image: node:lts-bullseye | |
| # Cache modules using lock file | |
| cache: |