This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/usr/bin/env bash | |
# Fix CPU pipe B FIFO underrun (screen goes black for a few seconds). | |
# Reference: https://gitlab.freedesktop.org/drm/intel/-/issues/5455 | |
# | |
# Author: Maulik Mistry | |
# Please share support: https://www.paypal.com/paypalme/m1st0 | |
# License: BSD License 2.0 | |
# Copyright (c) 2023–2025, Maulik Mistry |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/usr/bin/env zsh | |
# Highlight "apt search" and simplify for current CLI. | |
# Author: Maulik Mistry | |
# Please share support: https://www.paypal.com/paypalme/m1st0 | |
# License: BSD License 2.0 | |
# Copyright (c) 2025, Maulik Mistry | |
# All rights reserved. | |
# |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# Setup fzf in Ubuntu from 24.04 and above. | |
# Soft link to the full path of this script | |
# from ".fzf.bash" using "ln -s" | |
# Source the softlink ".fzf.bash" in your ".bashrc" | |
# | |
# From https://www.josean.com/posts/7-amazing-cli-tools | |
# | |
# Copyright (C) 2024 Josean Martinez | |
# https://github.com/josean-dev | |
# https://www.youtube.com/channel/UC_NZ6qLS9oJgsMKQhqAkg-w |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/usr/bin/python3 | |
""" | |
flatpak_directory_alias.py | |
================ | |
Description: Enable ability to run flatpak apps from BASH aliases using flatpak directory names. | |
Copyright (C) 2023 Maulik Mistry <mistry01@gmail.com> | |
https://github.com/m1st0 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/bin/bash | |
# Turn hyperthreading on or off. | |
HYPERTHREADING=1 | |
RED="\033[0;31m" | |
GREEN="\033[0;32m" | |
YELLOW="\033[0;33m" | |
ENDCOLOR="\033[0m" | |
function toggleHyperThreading() { |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#! /bin/bash | |
# Allows for switching governors in intel_pstate drivers in KDE. | |
# | |
# Author: Maulik Mistry | |
# Date: Aug 04, 2017 | |
# References: https://wiki.archlinux.org/index.php/CPU_frequency_scaling#Scaling_governors | |
# Requires: KDE, libnotify-bin, cpupower | |
# | |
# License: BSD License 2.0 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/bin/bash | |
# PHP 8 Compile # | |
# Author: Maulik Mistry | |
# Please share support: https://www.paypal.com/paypalme/m1st0 | |
# References: | |
# http://www.zimuel.it/install-php-7/ | |
# http://www.hashbangcode.com/blog/compiling-and-installing-php7-ubuntu | |
# root-talis https://gist.github.com/root-talis/40c4936bf0287237839ccd3fdfdaec28 | |
# |