Skip to content

Instantly share code, notes, and snippets.

View yzhang2907's full-sized avatar
πŸ—Ώ
Sufficiently caffeinated!

Lux Zhang yzhang2907

πŸ—Ώ
Sufficiently caffeinated!
View GitHub Profile
@yzhang2907
yzhang2907 / via-qmk-inland-mk47-guide.md
Last active June 15, 2025 18:52
VIA and QMK Setup for Inland MK47 Ortholinear Keyboard

VIA and QMK Setup for Inland MK47 Ortholinear Keyboard

By default, the Inland MK47 keyboard only lets you use a modified, older version of VIA from the manufacturer's website, which they could stop serving at any time if they'd like. Since I would like to own my hardware forever and not only limit myself to the manufacturer's whims, I did the legwork to make it work with QMK and VIA.

Note: This guide assumes that you are mildly competent at the following:

  1. Running command line commands.
  2. Navigating directories.
  3. Editing files and saving them.
  4. Reading directions.
@yzhang2907
yzhang2907 / virtualbox-green-turtle.md
Created March 1, 2025 22:25
How to get rid of the green turtle icon (slow mode) for VirtualBox on Windows 11

How To Get Rid of Green Turtle (Slow Mode) for VirtualBox in Windows 11

Is your VM intolerably slow? Does the green turtle icon haunt the lower right corner of your screen? Well, this guide's for you, my friend.

The following steps will ask you to change your registry values, which could be dangerous if done wrong. Please read everything on this page before you proceed.

Before You Start

  1. In my experience, one or more of the steps below may cause a bluescreen on systems with BitLocker enabled.
    • You should try to disable BitLocker via the GUI first.

Pandoc: Convert From Markdown To Textile for Redmine

This document details how to convert Markdown documents to Textile documents for Redmine.

Steps

  1. Convert from markdown to textile using Pandoc:
     pandoc --from markdown --to textile --no-highlight FILENAME.md > FILENAME.textile
    
@yzhang2907
yzhang2907 / docx-to-markdown-vscode-preview.md
Created July 8, 2024 16:16
pandoc: Convert DOCX to Markdown That Displays Properly in VS Code Preview

Pandoc: Convert DOCX to Markdown That Displays Properly in VS Code Preview

Normally, you get something like this if you don't specify anything beyond "markdown":

Command: pandoc -t markdown .\test-pandoc.docx -o test-pandoc.md

Result:

  -----------------------------------------------------------------------
  **Table heading 1**     **Table heading 2**     **Table heading 3**