Skip to content

Instantly share code, notes, and snippets.

@jradek
jradek / gist:e8c4128eeed15c9c23a9686b00257658
Created November 27, 2021 12:12
xfce set capslock to esc
# source: https://bbs.archlinux.org/viewtopic.php?id=141933
setxkbmap -option caps:escape
format="bestvideo[height<=480]+bestaudio/best[height<=360]"
# create or attach to named session
tmux new-session -A -s _main
@jradek
jradek / ssl_certificate_tutorial.md
Last active April 17, 2019 09:32
SSL certificate tutorial (Self Signed)

SSL Certificate tutorial

Tutorial

As certificate authority (CA)

  • Create self signed certificate ca.cert

    openssl req -newkey rsa:2048 -nodes -keyout ca.key -x509 -days 365 -out ca.cert
######################################################################
# merge without checkout [link](https://stackoverflow.com/a/17722977)
#
# Merge local branch 'devel' into local branch master,
# without having to checkout master first.
# Here `.` means to use the local repository as the "remote":
#
git fetch . devel:master
# update master branch when beeing on a different branch, e.g. devel