Skip to content

Instantly share code, notes, and snippets.

@tskrynnyk
tskrynnyk / Makefile
Created September 11, 2020 15:49 — forked from tsunghanlin/Makefile
Pandoc Latex PDF HOWTO
PANDOC = pandoc
PANDOC_MD = doc.md
TEX_TEMPLATE = mincho.tex
PDF_FILE = em.pdf
PANDOC_OPTS += --highlight-style tango -N --toc
PANDOC_OPTS += --latex-engine=xelatex -H $(TEX_TEMPLATE)
PANDOC_OPTS += --filter pandoc-citeproc --csl ieee.csl --bibliography=ref.bib
# make citation number in article linkable
PANDOC_OPTS += --metadata link-citations=true
FONTS_OPTS += --variable mainfont="Noto Sans CJK JP"
@tskrynnyk
tskrynnyk / gist:e0c154774c144bdb23958e59882db8a7
Created September 11, 2020 16:24 — forked from rxaviers/gist:7360908
Complete list of github markdown emoji markup

People

:bowtie: :bowtie: πŸ˜„ :smile: πŸ˜† :laughing:
😊 :blush: πŸ˜ƒ :smiley: ☺️ :relaxed:
😏 :smirk: 😍 :heart_eyes: 😘 :kissing_heart:
😚 :kissing_closed_eyes: 😳 :flushed: 😌 :relieved:
πŸ˜† :satisfied: 😁 :grin: πŸ˜‰ :wink:
😜 :stuck_out_tongue_winking_eye: 😝 :stuck_out_tongue_closed_eyes: πŸ˜€ :grinning:
πŸ˜— :kissing: πŸ˜™ :kissing_smiling_eyes: πŸ˜› :stuck_out_tongue:
@tskrynnyk
tskrynnyk / bash-template.sh
Created September 20, 2020 13:45 — forked from PhilipSchmid/bash-template.sh
Bash script template (incl. logging functions)
#!/bin/bash
#################################
# Constants / global variables
#################################
LOGFILE='example.log'
LOGLEVEL='INFO'
#################################
# Functions
1. Update all package system
sudo xbps-install -Suv
2. add non-free repo
sudo xbps-install -Rs void-repo-nonfree
3. Software & utilities
sudo xbps-install -Rs xdg-desktop-portal xdg-desktop-portal-gtk xdg-user-dirs xdg-user-dirs-gtk xdg-utils vlc pipewire libspa-bluetooth noto-fonts-cjk noto-fonts-emoji noto-fonts-ttf noto-fonts-ttf-extra libreoffice-writer libreoffice-calc libreoffice-impress rhythmbox neofetch ntfs-3g gimp inkscape lm_sensors wget udisks2 gvfs mtpfs gvfs-mtp gvfs-gphoto2 xtools WoeUSB xz unrar qt5-wayland nano ffmpeg Kooha handbrake inxi streamlink
4. Install chrome gnome, gnome menu For Gnome & extension