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 / main.md
Last active June 10, 2022 07:04
Fedora Workstation's State of Gaming - A Case Study of Far Cry 5 (2018)

Fedora Workstation's State of Gaming - A Case Study of Far Cry 5 (2018)

First-person shooter video games are a great proving ground for strategies that make you finish on the top, reflexes that help you to shoot before getting shot and agility that adjusts you with whatever situation throws at you. Add the open-ended nature brought in by large intricately-designed worlds into the mix, it dials the player experience to eleven and, with that, it also becomes a great evidence for what a platform is capable of. Needless to say, I have been a great fan of open-world first-person shooter games, and Ubisoft's Far Cry series happens to be the one which remains closest to my heart. So I

@gridhead
gridhead / fedora-messaging-301.spec
Last active April 28, 2022 03:22
Emulating package source until I get into the Packagers group
%global pkgname fedora-messaging
%global srcname fedora_messaging
%global desc \
Tools and APIs to make working with AMQP in Fedora easier.
%{?python_enable_dependency_generator}
Name: %{pkgname}
Version: 3.0.1
Release: 1%{?dist}
@gridhead
gridhead / xmlrpc-aria2c.ipynb
Created April 21, 2022 13:28
Aria2c Python Usage with XMLRPC
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
@gridhead
gridhead / config.csv
Last active December 3, 2022 19:31
Fedora Workstation's State of Gaming - A Case Study of Control (2019)
We can make this file beautiful and searchable if this error is corrected: It looks like row 9 should actually have 6 columns, instead of 2 in line 8.
Fedora Workstation 35,Fedora Workstation 35,Fedora Workstation 35,Fedora Workstation 35,Windows 10 21H2,Windows 10 21H2
Lutris (DXVK Optimized),Lutris (DXVK),Lutris (VKD3D),Lutris (VKD3D),Epic Games (DirectX 11),Epic Games (DirectX 12)
CPU governor – Performance,CPU governor – Performance,CPU governor – Performance,CPU governor – Schedutil,CPU governor – Performance,CPU governor – Performance
Wine version – Lutris-7.1-x86_64,Wine version – Lutris-7.1-x86_64,Wine version – Lutris-7.1-x86_64,Wine version – Lutris-7.1-x86_64,,
DXVK version – v1.9.4L-2,DXVK version – v1.9.4L-2,DXVK version – Disabled,DXVK version – Disabled,,
VKD3D version – Disabled,VKD3D version – Disabled,VKD3D version – v2.5L-c0a3fa8,VKD3D version – v2.5L-c0a3fa8,,
D3D Extras version – v2,D3D Extras version – v2,D3D Extras version – v2,D3D Extras version – v2,,
DXVK NVAPI/DLSS version – Disabled,DXVK NVAPI/DLSS version – v0.5-e23d450,DXVK NVAPI/DLSS version – v0.5-e23d450,DXVK NVAPI/DLSS version – v0.5-e23d450,,
Esync enabled – True,Esync ena

Fixing the random crashes and reboots on my new PC build

Notes

Parts

  1. CPU - AMD Ryzen 9 5900X
  2. GPU - ASUS TUF Gaming AMD Radeon RX 6800XT
  3. Motherboard - ASUS TUF Gaming X570 Plus Wi-Fi

Observations

@gridhead
gridhead / speakernotes-for-metrics-for-apps-f35-release-party-talk.md
Created November 12, 2021 12:12
Speakernotes for Metrics for Apps F35 Release Party Talk

Speakernotes

Akashdeep Dhar - Slide #6

  • Thanks for the demonstration, David
  • All right - so what are the next steps forward for the developers -
  • The cluster now corresponds to Noggin/IPA for authentication/authorization - so you can login to the cluster via your Fedora Accounts.
  • The infrastructure and release engineering team will work on migrating the existing applications from the older OCP cluster to the newer 4.x version.
  • One can help us with the existing running applications, they can help us -
    • By reworking their OpenShift applications playbook to fall in line with the new cluster and make a PR against our Fedora Infrastructure's Ansible repositories [1]
@gridhead
gridhead / new_app.py
Created November 9, 2021 09:09
Duffy Logging
import logging
import click
import uvicorn
from ..configuration import config, read_configuration
from ..version import __version__
DEFAULT_CONFIG_FILE = "/etc/duffy.yaml"
@gridhead
gridhead / gist:cb84d7374cc2f8204082268773f84085
Created November 8, 2021 10:41 — forked from nphilipp/gist:dd14f54a28ab00ac709b40c7d7fa2b52
Auto-activate Python virtualenvwrapper environment if shell is started within a project directory
# ...
# Copyright © 2021 Nils Philippsen <[email protected]>
# Licensed under the MIT license as published by the Open Source Initiative
# Auto-activate Python virtualenvwrapper environment if shell is started within a project directory
_old_nullglob=$(shopt -p nullglob)
shopt -s nullglob
unset _projdirs_venvs
declare -A _projdirs_venvs
@gridhead
gridhead / 05112021.yml
Last active November 20, 2021 05:15
Gaming PC Performance Build Writeups
Metadata:
Author: "Akashdeep Dhar"
Email: "[email protected]"
Datetime: "17:18, 05 Nov 2021"
Timezone: "Asia/Kolkata"
Components:
CentralProcessingUnit:
Name: "AMD Ryzen 7 5800X"
Quantity: 1
TDP: 105
@gridhead
gridhead / chanlist.md
Last active November 12, 2021 07:01
Channels that I am a part of

Host:

irc.libera.chat:6697

List:

#fedora-aaa
#fedora-admin
#fedora-apps