This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| // Youtube tutorial here: https://youtu.be/LDgPTw6tePk | |
| // These functions are designed to be exported, but you could create a class instead. See tutorial video. | |
| // #1 proper case | |
| export const properCase = (string) => { | |
| return `${string[0].toUpperCase()}${string.slice(1).toLowerCase()}`; | |
| }; |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| // #1 Select first matched element | |
| export function $(selector, elem) { | |
| elem = elem || document; | |
| return elem.querySelector(selector); | |
| } | |
| // #2 Select all matched elements | |
| export function $$(selector, elem) { | |
| elem = elem || document; | |
| return elem.querySelectorAll(selector); |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| 'Attribute VB_Name = "OneDrivePathConversion" | |
| ' | |
| ' Cross-platform VBA Function to get the local path of OneDrive/SharePoint | |
| ' synchronized Microsoft Office files (Works on Windows and on macOS) and | |
| ' Cross-platform VBA Function to get the OneDrive/SharePoint Url path (link) | |
| ' from a local path of a locally synced folder (Works on Windows and on macOS) | |
| ' | |
| ' Author: Guido Witt-Dörring | |
| ' Created: 2022/07/01 | |
| ' Updated: 2025/06/02 |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| --- | |
| import type { MarkdownHeading } from 'astro'; | |
| type Props = { | |
| headings: MarkdownHeading[]; | |
| }; | |
| type HeadingWithSubheadings = MarkdownHeading & { | |
| subheadings: MarkdownHeading[]; | |
| }; |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| copy https://github.com/hirotakaster/baytail-bootia32.efi/blob/master/bootia32.efi to /EFI/BOOT | |
| after installing ubuntu: | |
| sudo passwd ubuntu | |
| sudo apt update | |
| sudo apt install openssh-server | |
| ssh to your computer, then: | |
| sudo mount /dev/mmcblk1p2 /mnt | |
| sudo mount --bind /dev /mnt/dev |
OlderNewer