The trap command accepts the following options:
-p
: Displays signal commands.
-l
#!/bin/env bash | |
### FUNCTION ###{{{ | |
function bash_progress_bar(){ | |
## Localize Variables ##{{{ | |
local \ |
[0;1;38;5;93m▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄[0m | |
[0;1;38;5;93m║[0;1;31;91m█[0;1;33;93m██[0;1;32;92m██[0;1;36;96m██[0;1;34;94m██[0;1;35;95m██[0;1;31;91m██[0;1;33;93m██[0;1;32;92m██[0;1;36;96m██[0;1;34;94m██[0;1;34;95m██[0;1;31;91m█[0m[0;1;31;91m█[0;1;33;93m██[0;1;32;92m██[0;1;36;96m██[0;1;34;94m██[0;1;35;95m██[0;1;31;91m██[0;1;33;93m██[0;1;32;92m██[0;1;36;96m█[0m[0;1;38;5;93m║[0;1;38;5;87m╭────────────────────────╮[0m | |
[0;1;38;5;93m║[0;1;33;93m██[0;1;32;92m██[0;1;36;96m██[0;1;34;94m██[0;1;35;95m██[0;1;31;91m██[0;1;33;93m██[0;1;32;92m██[0;1;36;96m██[0m[0;1;34;94m██[0;1;35;95m██[0;1;31;91m██[0;1;33;93m██[0;1;32;92m██[0;1;36;96m██[0;1;34;94m██[0;1;35;95m██[0;1;31;91m██[0;1;33;93m██[0;1;32;92m██[0;1;36;96m██[0m[0;1;38;5;93m║[0;1;38;5;87m│[0m \e{gray}Host:\e{reset} \e{lightgreen}\e{bold}\n\e{reset}[0m | |
[0;1;38;5;93m║[0;1;33;93m█[0;1;32;92m██[0;1;36;96m██[0;1;34;94m██[0;1;35;95m██[0;1;31;91m██[0;1;33;93m██[0;1;32;92m██[0;1;36;96m██[0;1;3 |
#!/bin/bash | |
# shellcheck disable=2034,2046,2086 | |
function nginx-logstalgia(){ | |
local log_dir log_path output_dir output_path \ | |
title currentdate updaterate simulationspeed \ | |
glowintensity glowmultiplier glowduration \ | |
SaveToVideo pitchspeed addressmaxdepth \ | |
pathmaxdepth addressabbrdepth pathabbrdepth \ | |
outputframerate fromdate todate paddlemode \ |
┌────────────────────────────────────────────────────────────────────────┐ | |
│ ██ ██ ██ ███████ ████ ██ ██ ████ ██ ████████ │ | |
│░██ ░██ ████ ░██░░░░██ ░██░██ ░██░██░██░██ ░██ ██░░░░░░██│ | |
│░██ █ ░██ ██░░██ ░██ ░██ ░██░░██ ░██░██░██░░██ ░██ ██ ░░ │ | |
│░██ ███ ░██ ██ ░░██ ░███████ ░██ ░░██ ░██░██░██ ░░██ ░██░██ │ | |
│░██ ██░██░██ ██████████░██░░░██ ░██ ░░██░██░██░██ ░░██░██░██ █████│ | |
│░████ ░░████░██░░░░░░██░██ ░░██ ░██ ░░████░██░██ ░░████░░██ ░░░░██│ | |
│░██░ ░░░██░██ ░██░██ ░░██░██ ░░███░██░██ ░░███ ░░████████ │ | |
│░░ ░░ ░░ ░░ ░░ ░░ ░░ ░░░ ░░ ░░ ░░░ ░░░░░░░░ │ | |
┌──────────────────────┴────────────────────────────────────────────────────────────────────────┴──────────────────────────────┐ |
# shellcheck disable=2148,2296,2154 | |
zsh-list-keybindings(){ | |
typeset -A Zcolors | |
# Regular Colors | |
Zcolors[Color_Off]='[0m' | |
Zcolors[Black]='[30m' | |
Zcolors[Red]='[38;5;196m' | |
Zcolors[Green]='[38;5;46m' |
function Get-WifiPasswords { | |
# Get the list of Wi-Fi profiles and store it in a variable. | |
$profiles = netsh wlan show profiles | |
# For each line in the list of profiles, extract the profile name. | |
# Then, for each profile name, get the profile information, which includes the password. | |
# Finally, create a custom object with the SSID and password for each profile. | |
$wifiProfiles = $profiles | | |
Select-String -Pattern '\:(.+)$' | | |
ForEach-Object { |
#!/bin/env bash | |
### | |
# | |
# Here's what the function does: | |
# | |
# Defines variables for the remote server's username, hostname, directory to be backed up, and the local directory where the backup will be stored. | |
# | |
# It also defines a variable for the path to a file containing any files or directories to be excluded from the backup. | |
# |
// ==UserScript== | |
// @name Jira Dark Theme | |
// @version 1.0.0 | |
// @description Dark Theme For Jira | |
// @author @ConnerWill | |
// @include *ENTER-URL-HERE* | |
// @icon https://www.google.com/s2/favicons?sz=64&domain=atlassian.net | |
// @grant GM_addStyle | |
// @run-at document-start | |
// ==/UserScript== |