Skip to content

Instantly share code, notes, and snippets.

View IndigoLily's full-sized avatar
🏳️‍🌈
Still gay

Lily IndigoLily

🏳️‍🌈
Still gay
View GitHub Profile
@lestoni
lestoni / gist:8c74da455cce3d36eb68
Last active September 18, 2024 08:16
vim folding cheatsheet

via (https://www.linux.com/learn/tutorials/442438-vim-tips-folding-fun)

  • zf#j creates a fold from the cursor down # lines.
  • zf/string creates a fold from the cursor to string .
  • zj moves the cursor to the next fold.
  • zk moves the cursor to the previous fold.
  • zo opens a fold at the cursor.
  • zO opens all folds at the cursor.
  • zm increases the foldlevel by one.
  • zM closes all open folds.
@azam
azam / svg2ico.sh
Last active September 11, 2024 20:05
Convert SVG to ICO using ImageMagick, with transparent background and multi-size icons
convert -density 256x256 -background transparent favicon.svg -define icon:auto-resize -colors 256 favicon.ico