sudo grub-mkpasswd-pbkdf2
Output:
grub.pbkdf2.sha512.10000.EXAMPLE000EXAMPLE000
# Ensure the GitHub CLI is authenticated | |
gh auth status | |
# Initialize an empty array to hold all closed PRs | |
$allClosedPRs = @() | |
# Fetch closed PRs with a higher limit | |
$closedPRs = gh pr list --state closed --json number,labels --limit 500 | |
$closedPRs = $closedPRs | ConvertFrom-Json | |
$allClosedPRs += $closedPRs |
import os | |
import rembg | |
def process_images(input_dir, output_dir): | |
if not os.path.exists(output_dir): | |
os.makedirs(output_dir) | |
for filename in os.listdir(input_dir): | |
if filename.lower().endswith('.png'): | |
input_path = os.path.join(input_dir, filename) |
function Disable-Indexing { | |
Param($Drive) | |
$obj = Get-WmiObject -Class Win32_Volume -Filter "DriveLetter='$Drive'" | |
$indexing = $obj.IndexingEnabled | |
if("$indexing" -eq $True){ | |
write-host "Disabling indexing of drive $Drive" | |
$obj | Set-WmiInstance -Arguments @{IndexingEnabled=$False} | Out-Null | |
} | |
} |
deb http://archive.ubuntu.com/ubuntu/ jammy main restricted universe multiverse | |
deb-src http://archive.ubuntu.com/ubuntu/ jammy main restricted universe multiverse | |
deb http://archive.ubuntu.com/ubuntu/ jammy-updates main restricted universe multiverse | |
deb-src http://archive.ubuntu.com/ubuntu/ jammy-updates main restricted universe multiverse | |
deb http://archive.ubuntu.com/ubuntu/ jammy-security main restricted universe multiverse | |
deb-src http://archive.ubuntu.com/ubuntu/ jammy-security main restricted universe multiverse | |
deb http://archive.ubuntu.com/ubuntu/ jammy-backports main restricted universe multiverse |
### MangoHud configuration file | |
### Uncomment any options you wish to enable. Default options are left uncommented | |
### Use some_parameter=0 to disable a parameter (only works with on/off parameters) | |
### Everything below can be used / overridden with the environment variable MANGOHUD_CONFIG instead | |
################ PERFORMANCE ################# | |
### Limit the application FPS. Comma-separated list of one or more FPS values (e.g. 0,30,60). 0 means unlimited (unless VSynced) | |
# fps_limit= |
### Fading | |
fading = true; | |
fade-in-step = 0.06; | |
fade-out-ste = 0.06; | |
fade-delta = 3; | |
fade-exclude = [ | |
"class_g = 'yakuake'" | |
] | |
### Opacity |
#!/bin/bash | |
# | |
# NAME bkp.sh | |
# VERSION 2.7.2 | |
# REQUIRED bash, awk, du, cut, lscpu, tar, gzip, bzip2, 7z, xz | |
# | |
fn_abort() |
## Create Encrypted Hash for Password | |
``` | |
sudo grub-mkpasswd-pbkdf2 | |
``` | |
## Add Hash to GRUB | |
``` | |
sudo vim /etc/grub.d/40_custom | |
``` | |
Add to end of file | |
``` |
#!/bin/bash | |
gsettings set org.gnome.settings-daemon.plugins.power sleep-inactive-battery-timeout 0 | |
gsettings set org.gnome.settings-daemon.plugins.power sleep-inactive-ac-timeout 0 | |
gsettings set org.gnome.desktop.screensaver idle-activation-enabled false | |
gsettings set org.gnome.settings-daemon.plugins.power idle-dim false |