Skip to content

Instantly share code, notes, and snippets.

View xmaxrayx's full-sized avatar
🧊
Eating Ice cube sandwich

xMaxrayx xmaxrayx

🧊
Eating Ice cube sandwich
View GitHub Profile
@xmaxrayx
xmaxrayx / diagrams.md
Created April 2, 2023 11:06 — forked from blackcater/diagrams.md
Markdown Diagrams

Diagrams

Markdown Preview Enhanced supports rendering flow charts, sequence diagrams, mermaid, PlantUML, WaveDrom, GraphViz, Vega & Vega-lite, Ditaa diagrams. You can also render TikZ, Python Matplotlib, Plotly and all sorts of other graphs and diagrams by using Code Chunk.

Please note that some diagrams don't work well with file exports such as PDF, pandoc, etc.

Flow Charts

This feature is powered by flowchart.js.

@xmaxrayx
xmaxrayx / removeNewline.ahk
Created May 29, 2023 03:36 — forked from 0x4a/removeNewline.ahk
remove newline character from #clipboard #work #string #ahk
; remove newline characters
; Win + X
#x::
Send ^x
StringReplace, clipboard, clipboard,`r`n,, All
Send ^v
return

Aligning images

left alignment

This is the code you need to align images to the left:

@xmaxrayx
xmaxrayx / Elevate.ahk
Created June 10, 2023 17:41 — forked from anonymous1184/Elevate.ahk
Elevate() / ElevateWait()
#Requires AutoHotkey v2.0
; Version: 2023.06.09.2
; https://gist.github.com/d92498381a74a4535662306152b34ab
; Usage and examples: https://redd.it/1450upb
Elevate(Target, WorkingDir := "", Options := "", &OutputVarPID := 0) {
return Elevate_(false, Target, WorkingDir, Options, &OutputVarPID)
}

Commit Message Guidelines

Short (72 chars or less) summary

More detailed explanatory text. Wrap it to 72 characters. The blank
line separating the summary from the body is critical (unless you omit
the body entirely).

Write your commit message in the imperative: "Fix bug" and not "Fixed
bug" or "Fixes bug." This convention matches up with commit messages
@xmaxrayx
xmaxrayx / std.md
Created April 7, 2024 21:03 — forked from turbo/std.md
Git Commit Message Standard

Merged from https://github.com/joelparkerhenderson/git_commit_message and https://chris.beams.io/posts/git-commit/

General Rules

  • Commit messages must have a subject line and may have body copy. These must be separated by a blank line.
  • The subject line must not exceed 50 characters
  • The subject line should be capitalized and must not end in a period
  • The subject line must be written in imperative mood (Fix, not Fixed / Fixes etc.)
  • The body copy must be wrapped at 72 columns
  • The body copy must only contain explanations as to what and why, never how. The latter belongs in documentation and implementation.
@xmaxrayx
xmaxrayx / ActiveYouTubeURLFormats.txt
Created May 8, 2024 08:29 — forked from rodrigoborgesdeoliveira/ActiveYouTubeURLFormats.txt
Example of the YouTube videos URL formats
http://www.youtube.com/watch?v=-wtIMTCHWuI
http://youtube.com/watch?v=-wtIMTCHWuI
http://m.youtube.com/watch?v=-wtIMTCHWuI
https://www.youtube.com/watch?v=lalOy8Mbfdc
https://youtube.com/watch?v=lalOy8Mbfdc
https://m.youtube.com/watch?v=lalOy8Mbfdc
http://www.youtube.com/watch?v=yZv2daTWRZU&feature=em-uploademail
http://youtube.com/watch?v=yZv2daTWRZU&feature=em-uploademail
http://m.youtube.com/watch?v=yZv2daTWRZU&feature=em-uploademail