Skip to content

Instantly share code, notes, and snippets.

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
@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
@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 / 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 / README.md
Created May 30, 2020 01:15 — forked from jxson/README.md
README.md template

Synopsis

At the top of the file there should be a short introduction and/ or overview that explains what the project is. This description should match descriptions added for package managers (Gemspec, package.json, etc.)

Code Example

Show what the library does as concisely as possible, developers should be able to figure out how your project solves their problem by looking at the code example. Make sure the API you are showing off is obvious, and that your code is short and concise.

Motivation

@tskrynnyk
tskrynnyk / bibtex.png
Created October 13, 2019 17:01 — forked from max-mapper/bibtex.png
How to make a scientific looking PDF from markdown (with bibliography)
bibtex.png
@tskrynnyk
tskrynnyk / ansible-summary.md
Created April 30, 2019 09:29 — forked from andreicristianpetcu/ansible-summary.md
This is an ANSIBLE Cheat Sheet from Jon Warbrick

An Ansible summary

Jon Warbrick, July 2014, V3.2 (for Ansible 1.7)

Configuration file

intro_configuration.html

First one found from of

/**
* Using Google Apps Script to enhance my gmail filters.
*
* I constantly receive email that are important for a short period of time (When I order food online!!!!) but after
* the email is no longer relative (When I get my food!) I have no need for this email. Sadly they tend to pile up on me
* (I eat a lot).
*
* Anyways you can add this 8hrDelete.gs file to https://script.google.com and set it up on a "Time Driven" trigger at what
* ever time you'll like. I run it at midnight
*/

Create Github/Bitbucket Mirror

Create SSH key and configure

Create Key (no passphrase and name mirror the key)

ssh-keygen -t rsa -N "" -f ~/.ssh/mirror
@tskrynnyk
tskrynnyk / responsive-js-ext.html
Created November 28, 2012 05:51 — forked from alexisg/responsive.html
Simple responsive design test page. More info here: http://bricss.net/post/16538278376/simple-responsive-design-test-page. Forked by alexisg to add 15 pixels of width to frame sizes (for scrollbars) and added mobile landscape/large desktop sizes. Simply a
<!DOCTYPE html>
<html>
<head>
<meta charset="utf-8">
<title>Responsive Design Testing</title>
<style type="text/css">
body { background: #eee; font-family: sans-serif; margin: 20px; overflow-x: scroll; }
.wrapper { width: 6000px }
.frame { float: left }
h2 { color: hsl(210,10%,7%); margin: 0 0 5px 0; text-shadow: rgba(255,255,255,.75) 0 1px 0; }