Skip to content

Instantly share code, notes, and snippets.

Keybase proof

I hereby claim:

  • I am wandsas on github.
  • I am wandsas (https://keybase.io/wandsas) on keybase.
  • I have a public key whose fingerprint is C0A9 57A4 D846 2505 FF67 317C DDD1 27EA F857 4CB4

To claim this, I am signing this object:

@wandsas
wandsas / vimwiki2html.md
Created January 29, 2018 12:24 — forked from enpassant/vimwiki2html.md
Convert VimWiki to HTML (markdown, mediawiki)

With this wiki2html.sh bash script and pandoc program, you can convert markdown to html.

Usage: In the vim list section of the .vimrcfile, include options:

let g:vimwiki_list = [{'path': ‘your_wiki_place',
  \ 'path_html': ‘wiki_html_location’,
  \ 'syntax': 'markdown',
 \ 'ext': '.md',
@wandsas
wandsas / ImageMagick-snippets.md
Created January 11, 2018 03:53 — forked from MohamedAlaa/ImageMagick-snippets.md
ImageMagick Snippets

Remove white background color of an image in ImageMagick

$ convert  your.jpg  -transparent white  your.png

Flatten a transparent image with a white background:

@wandsas
wandsas / GNUPG Cheatsheet.md
Created December 8, 2017 15:38 — forked from turingbirds/GNUPG Cheatsheet.md
GPG (GNUPG) Cheatsheet

GNUPG CHEATSHEET

Setting up: key generation

This generates a public/private keypair.

$ gpg --gen-key

$ gpg --list-secret-keys

@wandsas
wandsas / fzf
Last active February 14, 2021 22:41
fzf snippets used with the zplugin, my favourite plugin-manager for zsh at the moment, after using prezto for a long time.
#!/usr/bin/env zsh
#
# Modified from: https://github.com/junegunn/fzf/wiki/examples
#
# Depends on the `fzf` binary
# See: https://github.com/junegunn/fzf#installation
if hash fzf &>/dev/null; then
############################ General examples
# vim **<TAB>