| | Header 1 | Header 2 || Header 3 || | | Subheader 1 | Subheader 2.1 | Subheader 2.2 | Subheader 3.1 | Subheader 3.2 | |==============|-----------------|----------------|----------------|----------------|----------------| | Row Header 1 | 3row, 3col span ||| Colspan only || | Row Header 2 | ^ ||| Rowspan only | Cell | | Row Header 3 | ^ ||| ^ | Cell | | Row Header 4 | Row | Each cell |: Centered :| Right-aligned :|: Left-aligned | : : with multiple : has room for : multi-line : multi-line : multi-line : : : lines. : more text. : text. : text. : text. : |--------------|-----------------|----------------|----------------|----------------|------------
This file contains 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
{ | |
"$schema": "https://raw.githubusercontent.com/JanDeDobbeleer/oh-my-posh/main/themes/schema.json", | |
"blocks": [ | |
{ | |
"alignment": "left", | |
"segments": [ | |
{ | |
"background": "#3465a4", | |
"foreground": "#e4e4e4", | |
"leading_diamond": "\ue0b6", |
This file contains 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
// Initialize CSV string with headers | |
let csvContent = "Track,Artist,Album\n"; | |
// Select all elements with the class name "JR0qJ" | |
const elements = document.querySelectorAll('.JR0qJ'); | |
// Loop through each element | |
elements.forEach(trackElement => { | |
// Extract track, artist, and album information | |
const track = trackElement.querySelector('[data-testid="title"]').textContent.trim(); |
This file contains 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
find . -name "*.*" -exec convert "{}" -set option:distort:viewport "%[fx:max(w,h)]x%[fx:max(w,h)]+%[fx:(w-max(w,h))/2]+%[fx:(h-max(w,h))/2]" -virtual-pixel transparent -filter point -distort SRT 0 +repage "{}" \; |
This file contains 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
{ | |
"recommendations": [ | |
"mhutchie.git-graph", | |
"ms-azuretools.vscode-docker", | |
"ms-kubernetes-tools.vscode-kubernetes-tools", | |
"ms-kubernetes-tools.kind-vscode", | |
"yzhang.markdown-all-in-one", | |
"zaaack.markdown-editor", | |
"davidanson.vscode-markdownlint", | |
"redhat.vscode-yaml", |
This file contains 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
find . -type f -iname "*.jpg" -exec jpegoptim -S40% {} \; |
This file contains 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 logging | |
import logging.handlers | |
LOG_FILE = 'path/to/logfile' | |
LOG_SIZE = 1024*1024*200 | |
LOG_COUNT = 9 | |
log_file = LOG_FILE | |
dir_path = os.path.dirname(log_file) | |
if os.access(dir_path, os.W_OK): |