new shebangs

This commit is contained in:
2025-01-17 19:07:28 +08:00
parent 45499ca5df
commit c4b2af8073
102 changed files with 103 additions and 103 deletions

View File

@@ -1,4 +1,4 @@
#!/bin/bash
#!/usr/bin/env bash
apt update && apt upgrade -y --autoremove
apt install -y \

View File

@@ -1,4 +1,4 @@
#!/bin/bash
#!/usr/bin/env bash
CONTAINER="my-container" # the name of the container in which to 'exec' something
CONFIG="$(dirname $([ -L $0 ] && readlink -f $0 || echo $0))/docker-compose.yml" # path to compose yml file
CMD="docker-compose -f $CONFIG" # docker-compose command

View File

@@ -1,4 +1,4 @@
#!/bin/bash
#!/usr/bin/env bash
# https://gist.github.com/anthonyaxenov/c16e1181d4b8a8644c57ec8a1f6cf21c
#########################################################################
# #

View File

@@ -1,4 +1,4 @@
#!/bin/bash
#!/usr/bin/env bash
# https://obsproject.com/kb/virtual-camera-troubleshooting
# https://obsproject.com/forum/threads/how-to-start-virtual-camera-without-sudo-privileges.139783/

View File

@@ -1,4 +1,4 @@
#!/bin/bash
#!/usr/bin/env bash
# Очистка места на диске
# https://gist.github.com/anthonyaxenov/02c00c965be4eb5bb163a153abdf4c2b
# https://itsfoss.com/free-up-space-ubuntu-linux/

View File

@@ -1,4 +1,4 @@
#!/bin/bash
#!/usr/bin/env bash
function disconnect() {
echo "Disconnecting: $1"

View File

@@ -1,4 +1,4 @@
#!/bin/bash
#!/usr/bin/env bash
# https://forums.opensuse.org/t/networkmanager-shows-connection-to-lo/164441/13
# https://man.archlinux.org/man/NetworkManager.conf.5.en#Device_List_Format
# https://access.redhat.com/documentation/ru-ru/red_hat_enterprise_linux/8/html/configuring_and_managing_networking/configuring-networkmanager-to-ignore-certain-devices_configuring-and-managing-networking

View File

@@ -1,4 +1,4 @@
#!/bin/bash
#!/usr/bin/env bash
sudo apt update && sudo apt upgrade -y --autoremove
sudo apt install -y \

View File

@@ -1,4 +1,4 @@
#!/bin/bash
#!/usr/bin/env bash
# My use case:
# syncthing synchronizes ALL changes in DCIM directory on my android to PC.
# I wanted files to be copied somewhere else on my PC to stay forever, so I

View File

@@ -1,4 +1,4 @@
#!/bin/bash
#!/usr/bin/env bash
# My use case:
# syncthing synchronizes ALL changes in DCIM directory on my android to PC.
# I wanted files to be copied somewhere else on my PC to stay forever, so I

View File

@@ -1,4 +1,4 @@
#!/bin/bash
#!/usr/bin/env bash
# Welcome to amusement park!

View File

@@ -1,4 +1,4 @@
#!/bin/bash
#!/usr/bin/env bash
# https://gist.github.com/anthonyaxenov/b8336a2bc9e6a742b5a050fa2588d71e
#####################################################################
# #

View File

@@ -1,4 +1,4 @@
#!/bin/bash
#!/usr/bin/env bash
RS_SRC_DEV=/dev/sdb1
RS_DST_DEV=/dev/sdc1

View File

@@ -1,4 +1,4 @@
#!/bin/bash
#!/usr/bin/env bash
echo "# https://rutracker.net/forum/viewtopic.php?p=75274766#75274766" | sudo tee -a /etc/hosts # > /dev/null
echo "185.15.211.203 bt.t-ru.org" | sudo tee -a /etc/hosts # > /dev/null

View File

@@ -1,4 +1,4 @@
#!/bin/bash
#!/usr/bin/env bash
TTL_DAYS=1
S3="s3://......"

View File

@@ -1,4 +1,4 @@
#!/bin/bash
#!/usr/bin/env bash
#####################################################################
# #
# Stupidly simple backup script for own projects #

View File

@@ -1,4 +1,4 @@
#!/bin/bash
#!/usr/bin/env bash
print() {
echo -e "$*"

View File

@@ -1,4 +1,4 @@
#!/bin/bash
#!/usr/bin/env bash
# https://dev.to/chefgs/upgrading-an-end-of-life-eol-ubuntu-os-to-lts-version-3a36
# https://changelogs.ubuntu.com/meta-release

View File

@@ -1,4 +1,4 @@
#!/bin/bash
#!/usr/bin/env bash
exts=(
'af4jm.vscode-m3u'
'ahmadalli.vscode-nginx-conf'

View File

@@ -1,4 +1,4 @@
#!/bin/bash
#!/usr/bin/env bash
# CUE-sheet generator for youtube-dl
# Usage: