Skip to content

Instantly share code, notes, and snippets.

View GeorgeHernandez's full-sized avatar
🌱

George Hernandez GeorgeHernandez

🌱
View GitHub Profile
@GeorgeHernandez
GeorgeHernandez / markdownNotes.md
Last active December 30, 2023 00:02
Notes on Markdown, a lightweight markup language that converts into HTML.

Markdown Notes

  • Summary: Notes on Markdown, a lightweight markup language that converts into HTML. N.B. DO NOT edit this files in an autoformatting setting because it has many purposeful "exceptions".
  • Authors: George Hernandez
  • Audience: Public

Block HTML

Headers (hn)

@GeorgeHernandez
GeorgeHernandez / tomlNotes.toml
Created December 4, 2018 16:06
Notes on Tom's Obvious, Minimal Language (TOML), a format for configuration files.
# TOML Notes
# Summary: Notes on Tom's Obvious, Minimal Language (TOML), a format for configuration files. These notes are a regurgitation of the spec for the sake of learning TOML.
# Authors: George Hernandez
# Audience: Public
@GeorgeHernandez
GeorgeHernandez / yamlAndJsonNotes.yaml
Last active October 26, 2022 19:12
Notes on YAML Ain't Markup Language (YAML) and JavaScript Object Notation (JSON). YAML is a superset of JSON. YAML, JSON, and XML are data serialization languages ordered from more human-friendly to less.
%YAML 1.2
---
YAML and JSON Notes:
README:
Summary: Notes on YAML Ain't Markup Language (YAML) and JavaScript Object Notation (JSON). YAML is a superset of JSON. YAML, JSON, and XML are data serialization languages ordered from more human-friendly to less.
Authors: George Hernandez
Audience: Public
...
---
YAML Syntax:
@GeorgeHernandez
GeorgeHernandez / keybindings.json
Last active February 7, 2024 21:01
My key bindings for keyboard shortcuts in Visual Studio Code (VSC).
// Place your key bindings in this file to overwrite the defaults
[
{
"key": "ctrl+alt+c",
"command": ""
},
{
"key": "ctrl+alt+v",
"command": "extension.convertSelection"
},
@GeorgeHernandez
GeorgeHernandez / snippets.json
Last active February 24, 2020 21:27
Some of my Visual Studio Code snippets
{
"HTML Skeleton": {
"prefix": "skeleton",
"body":[
"<!DOCTYPE html>",
"<html lang=\"en\">",
"<head>",
" <meta charset=\"utf-8\">",
" <title>$1</title>",
"</head>",
@GeorgeHernandez
GeorgeHernandez / STEM.md
Last active July 11, 2022 16:58
A few nuggets related to STEM: science, technology, engineering, math.

STEM

A few nuggets related to STEM: science, technology, engineering, math. Why? Why not!

Science, Technology, Engineering

  • Ideal Gas Law: PV = nRT
  • C = (F - 32) * 5 / 9
  • F = (C * 9 / 5) + 32
  • Speed of sound at STP: 343 m/s, 767 mph, 1125 fps
@GeorgeHernandez
GeorgeHernandez / WishListGoogle.md
Last active February 26, 2024 04:25
Just a few personal requests for Google.

Google Wish List

Just a few personal requests for Google.

Android

  • Better capabilities for open & editing text (*.txt) files in Google Drive.
  • See more notes in Google Drive section.
  • Enter line breaks within a cell in Google Sheets:
  • Workarounds:
@GeorgeHernandez
GeorgeHernandez / WindowsShortcutsForScreenshots.md
Last active July 1, 2022 19:53
Windows Shortcuts for Screenshots & Nearby

Windows Shortcuts for Screenshots & Nearby

Last tested 2022-07-01 on Windows 11.

TLDR: Windows Shortcuts for Screenshots:

                   PrtSc Screenshot all Monitors. Save as Pictures/Screenshots/<date>*.png.
               Win PrtSc Screenshot all Monitors. Save as Pictures/Screenshots/Screenshot*.png.
    Ctrl       Win PrtSc Screenshot all Monitors. Save to Clipboard.
@GeorgeHernandez
GeorgeHernandez / TreeCharacters.md
Last active December 10, 2022 18:20
Characters used to represent trees like directories and files.

Tree Characters

No, I'm not talking about Treebeard. Rather, I'm talking about characters that can be used to represent tree structures, especially directories and files in directory structures.

In graph theory, a tree graph a tree is an undirected graph in which any two vertices (nodes like directories and files) are connected by exactly one (1..1) path, or equivalently a connnected acyclic undirected graph. The connections are edges (aka links or lines).

The examples below will represent the following tree (listed in alphabetical order):

root/
@GeorgeHernandez
GeorgeHernandez / .prettierrc.yml
Created November 1, 2022 17:05
My setting for the Prettier formatter
arrowParens: 'always' # default: 'always'
bracketSameLine: true # NOT default: false
bracketSpacing: true # default: true
embeddedLanguageFormatting: 'auto' # default: 'auto'
endOfLine: 'lf' # default: 'lf'
# filepath
htmlWhitespaceSensitivity: 'css' # defaut: 'css'
insertPragma: false # default: false
jsxBracketSameLine: true # NOT default: false. DEPRECATED.
jsxSingleQuote: false # default: false. See singleQuote.