Skip to content

Instantly share code, notes, and snippets.

View gridhead's full-sized avatar
🚀
Underpromise and overdeliver

Akashdeep Dhar gridhead

🚀
Underpromise and overdeliver
View GitHub Profile
@gridhead
gridhead / haproxy.cfg
Created March 26, 2024 17:19
Haproxy Configuration
#---------------------------------------------------------------------
# Example configuration for a possible web application. See the
# full configuration options online.
#
# https://www.haproxy.org/download/1.8/doc/configuration.txt
#
#---------------------------------------------------------------------
#---------------------------------------------------------------------
# Global settings
@gridhead
gridhead / output
Created September 2, 2023 12:25
Playing around with Systemd Mkosi - Part I - OUTPUT
‣ Removing output files…
‣ Building default image
‣ Mounting image…
‣ Installing Fedora
fedora 1.3 MB/s | 73 MB 00:54
updates 464 kB/s | 1.7 MB 00:03
Last metadata expiration check: 0:00:17 ago on Sat Sep 2 17:48:56 2023.
Dependencies resolved.
======================================================================================================================
Package Architecture Version Repository Size
@gridhead
gridhead / mkosi.conf
Last active September 2, 2023 12:24
Playing around with Systemd Mkosi - Part I - CONFIG
[Distribution]
Distribution=fedora
Release=40
Architecture=arm64
Bootable=yes
[Output]
Format=disk
Output=fedogrid
# CompressOutput=yes
@gridhead
gridhead / centgrid-mkosi.conf
Last active August 25, 2023 05:26
Messing Around With Building Images
# Download the file to a local directory
# Rename the file to `mkosi.conf`
# Run `sudo mkosi build` in that directory
# mkosi 15.1 on fedora rawhide (i.e. 40) works the best
[Distribution]
Distribution=centos
Release=9
Architecture=x86-64
Bootable=yes
@gridhead
gridhead / namelist
Last active July 10, 2023 12:48
namelist
sumantrom
@gridhead
gridhead / certlist.yml
Created May 26, 2023 10:06
Certificates Registry
alt-src.stg:
certstat:
cstarted: true
cstopped: false
daystobt: -249
daystodd: 576
issuauth: RabbitMQ STAGING CA
serialno: 170603833244991530163638693876111070679
stopdate: 2024-12-22 23:08:02
strtdate: 2022-09-19 23:08:02
[centvirt-main@centvirt-main ~]$ rpm -qa
crypto-policies-20221215-1.git9a18988.el9.noarch
libreport-filesystem-2.15.2-6.el9.noarch
dnf-data-4.14.0-4.el9.noarch
gawk-all-langpacks-5.1.0-6.el9.x86_64
python3-setuptools-wheel-53.0.0-12.el9.noarch
publicsuffix-list-dafsa-20210518-3.el9.noarch
pcre2-syntax-10.40-2.el9.noarch
ncurses-base-6.2-8.20210508.el9.noarch
libssh-config-0.10.4-8.el9.noarch
@gridhead
gridhead / main.md
Created April 2, 2023 17:02
Helpful notes for setting up and optimizing Virtiofs for GNU/Linux guests on Libvirt/QEMU/KVM
@gridhead
gridhead / noip.Dockerfile
Created December 23, 2022 13:12
Lightweight and multi-architecture Image for Dynamic DNS client to update NoIP services
FROM archlinux:latest
LABEL maintainer "Akashdeep Dhar <t0xic0der@fedoraproject.org>"
ENV DOWNLOAD https://www.noip.com/client/linux/noip-duc-linux.tar.gz
ENV FILENAME noip-duc-linux.tar.gz
ENV FINALDIR noip-2.1.9-1/
WORKDIR /noip/
@gridhead
gridhead / mdapi-log-1
Last active September 15, 2022 07:54
What just happened?
(venv) [t0xic0der@fedorable mdapi]$ mdapi -c mdapi/confdata/standard.py database
20
09/07/2022 03:46:11 PM [INFO] mdapi.confdata.servlogr: Branches metadata acquired.
09/07/2022 03:46:11 PM [INFO] mdapi.confdata.servlogr: Acquired repo for rawhide/rawhide of 'Under Development' branch at https://dl.fedoraproject.org/pub/fedora/linux/development/rawhide/Everything/x86_64/os/repodata
09/07/2022 03:46:11 PM [INFO] mdapi.confdata.servlogr: Acquired repo for f37/rawhide of 'Under Development' branch at https://dl.fedoraproject.org/pub/fedora/linux/development/rawhide/Everything/x86_64/os/repodata
09/07/2022 03:46:11 PM [INFO] mdapi.confdata.servlogr: Acquired repo for f37/rawhide of 'Under Development' branch at https://dl.fedoraproject.org/pub/fedora/linux/development/rawhide/Everything/x86_64/os/repodata
09/07/2022 03:46:11 PM [INFO] mdapi.confdata.servlogr: Branches metadata acquired.
09/07/2022 03:46:13 PM [INFO] mdapi.confdata.servlogr: [rawhide] Downloading file https://dl.fedoraproject.org/pub/fedora/linux/