Skip to content

Instantly share code, notes, and snippets.

View GLMeece's full-sized avatar

Greg Meece GLMeece

View GitHub Profile
@GLMeece
GLMeece / typora_language_support.md
Last active January 4, 2023 22:58
Typora Language Support in Code Fences - Alpha Sorted

Typora Language Support in Code Fences

Typora supports syntax coloring for code fences, and lists those languages on one of its support pages.

However, the list is not alpha sorted, so it's difficult to discover what languages are there unless one tries a ⌘-f/⌃-f to search for it.

I decided to help myself out and sort the list and post it in this Gist.

Sorted List

@GLMeece
GLMeece / launch.json
Last active March 2, 2023 14:56
Example Launch.json for Robot Framework
{
"version": "0.2.0",
"configurations": [
{
"name": "Robot Framework: Launch Template",
"type": "robotframework-lsp",
"request": "launch",
"terminal": "integrated",
"env": {
"SOME_KEY": "Some value",
@GLMeece
GLMeece / robotframework.code-snippets
Last active August 19, 2023 10:50
Robot Framework VS Code snippets; place in your .vscode directory
{
"Test Suite": {
"prefix": "suite",
"body": [
"*** Settings ***",
"Documentation ${1:What does this testing suite cover?}\n",
"Library String # just an example",
"Library \\${EXECDIR\\}/path/to/CUSTOM_LIBRARY.py",
"Resource \\${EXECDIR\\}/path/to/NAME_OF_ANOTHER.resource\n",
"Suite Setup SETUP_HERE",
@GLMeece
GLMeece / remove_personal_onedrive_listing.md
Last active March 18, 2025 21:42
Remove Personal OneDrive Listing from Windows 10/11

If you have a company-managed OneDrive account like I do, you probably will never need or want to access a personal OneDrive account. It clutters up the Explorer menu and it's likely that you would prefer not to see it. Here's where I got the answer.

How to Stop Personal OneDrive from Being Pinned in Explorer

  1. Open RegEdit (RegistryEditor): type regedit in the start menu and it should come up (select it)
  2. Find the personal OneDrive here: hkey_current_user\software\microsoft\windows\currentversion\explorer\desktop\namespace
  3. At the top, where it says Computer paste the following to the right of it (i.e., don't delete Computer):
@GLMeece
GLMeece / robocop_rules.txt
Created September 20, 2023 15:53
Robocop Rules List
Rule - 0201 [W]: missing-doc-keyword: Missing documentation in '{{ name }}' keyword
Rule - 0202 [W]: missing-doc-test-case: Missing documentation in '{{ name }}' test case
Rule - 0203 [W]: missing-doc-suite: Missing documentation in suite
Rule - 0204 [W]: missing-doc-resource-file: Missing documentation in resource file
Rule - 0301 [W]: not-allowed-char-in-name: Not allowed character '{{ character }}' found in {{ block_name }} name
Rule - 0302 [W]: wrong-case-in-keyword-name: Keyword name '{{ keyword_name }}' does not follow case convention
Rule - 0303 [E]: keyword-name-is-reserved-word: '{{ keyword_name }}' is a reserved keyword{{ error_msg }}
Rule - 0305 [W]: underscore-in-keyword-name: Underscores in keyword name '{{ keyword_name }}' can be replaced with spaces
Rule - 0306 [W]: setting-name-not-in-title-case: Setting name '{{ setting_name }}' should use title or upper case
Rule - 0307 [W]: section-name-invalid: Section name should be in format '{{ section_title_case }}' or '{{ section_upper_case }}'