Skip to content

Instantly share code, notes, and snippets.

View asapdotid's full-sized avatar

Asapdotid asapdotid

View GitHub Profile
@siwonpawel
siwonpawel / traefik_podman.md
Created April 15, 2023 15:19
How to run traefik with podman

This document is a step-by-step documentation for running Traefik proxy with Podman.

Presequisets

  • installed Podman and podman-compose
  • Insomnia, Postman or curl for testing
  • verify you are able to run containers with command podman run hello-world
@NotAShelf
NotAShelf / pbcopy-and-pbpaste-in-arch-linux.md
Last active February 7, 2025 14:43 — forked from aarnone/pbcopy-and-pbpaste-in-arch-linux.md
Get pbcopy and pbpaste in Arch Linux

Get pbcopy and pbpaste in Arch Linux

First you need the 'xsel' package.

pacman -S xsel

Then create aliases.

alias pbcopy='xsel --clipboard --input'
alias pbpaste='xsel --clipboard --output'
@roalcantara
roalcantara / XDG.cheat-sheet.md
Last active August 21, 2026 11:08
XDG cheat sheet

XDG - Base Directory Specification (extended)

Directories

Base

The intended use-case for BaseDirectories is to query the paths of user-invisible standard directories that have been defined according to the conventions of the operating system the library is running on.

@meskarune
meskarune / cal.lua
Last active December 23, 2025 03:10
conky calendar and weather
#!/usr/bin/env lua
conky_color = "${color1}%2d${color}"
t = os.date('*t', os.time())
year, month, currentday = t.year, t.month, t.day
daystart = os.date("*t",os.time{year=year,month=month,day=01}).wday
month_name = os.date("%B")
@atomize
atomize / i3_wm_application_specific_rules.config
Created October 22, 2017 21:16
Rules for enabling floating on specific applications in i3wm
#### RULES FOR SPECIFIC APPLICATIONS ####
# from: http://www.linuxlusers.com/2012/12/24/i3-window-manager-tip-making-specific-applications-and-child-windows-open-in-floating-mode-or-with-other-custom-settings/
# by APPLICATION (WM_CLASS)
# Note: class is typically useful for applying custom settings to
# to entire applications, including child windows. If this
# isn't want you want see the ROLE section, below.
# Tip: To find out what these values might be run:
# xprop | grep -i 'class'
for_window [class="File-roller"] floating enable, border normal
for_window [class="Speedcrunch"] floating enable, border normal
@bradmontgomery
bradmontgomery / install-comodo-ssl-cert-for-nginx.rst
Last active August 28, 2026 03:00
Steps to install a Comodo PositiveSSL certificate with Nginx.

Setting up a SSL Cert from Comodo

I use Namecheap.com as a registrar, and they resale SSL Certs from a number of other companies, including Comodo.

These are the steps I went through to set up an SSL cert.

Purchase the cert