Skip to content

Instantly share code, notes, and snippets.

View Abir-Tx's full-sized avatar
🎯
Focusing

Mushfiqur Rahman Abir Abir-Tx

🎯
Focusing
View GitHub Profile
@Abir-Tx
Abir-Tx / updateGitRepos.ps1
Created June 29, 2023 17:38
The script is designed to automate the process of updating multiple Git repositories located within different directories. It utilizes PowerShell commands and Git commands to achieve this functionality
# Writen By: Mushfiqur Rahman Abir
# Year: 2023
Get-ChildItem -Directory | ForEach-Object {
Write-Host "`n■ Getting latest for $($_.FullName) ↓" -ForegroundColor Green
git -C $_.FullName pull --all --recurse-submodules --verbose
}
@Abir-Tx
Abir-Tx / cava_config
Created June 9, 2023 21:32
This is my slightly modified config of the cava tool which I use in my Arch Linux | `cava 0.8.3`
## Configuration file for CAVA. Default values are commented out. Use either ';' or '#' for commenting.
[general]
# Smoothing mode. Can be 'normal', 'scientific' or 'waves'. DEPRECATED as of 0.6.0
; mode = normal
# Accepts only non-negative values.
framerate = 60
@Abir-Tx
Abir-Tx / printH5.py
Created April 7, 2023 07:41
The script will take a `.h5` file as input and print the full file. It will show the data from all the dataset withing the `.h5` file you specify it to open
#!/bin/env python3
# Script By Mushfiqur Rahman Abir
import h5py
import sys
def print_h5_data(file):
"""Recursively print all groups and datasets in an HDF5 file"""
for name in file:
obj = file[name]
@Abir-Tx
Abir-Tx / ffmpeg-qsv.sh
Last active January 23, 2022 15:12 — forked from feedsbrain/ffmpeg-qsv.sh
Compiling FFMpeg with Intel Quick Sync (QSV) in Ubuntu 20.04/20.10
#!/bin/bash
# Taken from: https://red-full-moon.com/make-hevc-qsv-env-first-half/
# 環境の最新化
sudo apt update
sudo apt dist-upgrade
# 必要パッケージのインストール
sudo apt install cmake make autoconf automake libtool g++ bison libpcre3-dev pkg-config libtool libdrm-dev xorg xorg-dev openbox libx11-dev libgl1-mesa-glx libgl1-mesa-dev libpciaccess-dev libfdk-aac-dev libvorbis-dev libvpx-dev libx264-dev libx265-dev ocl-icd-opencl-dev pkg-config yasm libx11-xcb-dev libxcb-dri3-dev libxcb-present-dev libva-dev libmfx-dev intel-media-va-driver-non-free opencl-clhpp-headers
# libvaのインストール
@Abir-Tx
Abir-Tx / Wallpapers.md
Last active May 11, 2021 06:27 — forked from brettlangdon/ Wallpapers.md
Wallpapers

Wallpapers

Install with git git clone https://gist.github.com/85942af486eb79118467.git ~/Pictures/wallpapers

@Abir-Tx
Abir-Tx / gitIgnoreUpdate.md
Last active April 21, 2021 21:38
Git ignore or remove tracked file

Ignore future changes of a tracked file

  • To ignore changes of tracked file
git update-index --assume-unchanged <file>
  • To start tracking changes of file again:
git update-index --no-assume-unchanged