PowerShell-templates-snipets.md
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
# ----------------------------------------------------- | |
# List of configured 'kitty.conf' options | |
# | |
# This File Only Shows The Set Options In 'kitty.conf' | |
# Which Makes It Easier To Know Which Options Are Configured | |
# | |
# This file is not a live/up-to-date list of set options, | |
# if an option was set and this file wasnt updated, | |
# the option will not show in this file until it is updated | |
# |
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
# Import the Chocolatey Profile that contains the necessary code to enable | |
# tab-completions to function for `choco`. | |
# Be aware that if you are missing these lines from your profile, tab completion | |
# for `choco` will not function. | |
# See https://ch0.co/tab-completion for details. | |
# Source https://docs.chocolatey.org/en-us/troubleshooting | |
$ChocolateyProfile = "$env:ChocolateyInstall\helpers\chocolateyProfile.psm1" | |
if (Test-Path($ChocolateyProfile)) { | |
Import-Module "$ChocolateyProfile" | |
} |
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
### figlet-tr help | |
funcname="figlet-tr" | |
figlettrhelp=" | |
TITLE: | |
$funcname [-h|--help] [string] | |
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
############################################################################# | |
############################################################################# | |
## ## | |
## Hide stdout and stderr with this code after your command ## | |
## ## | |
## > /dev/null 2>&1 ## | |
## ## | |
## EXAMPLE: ## | |
## ## | |
## This command will now show any output: ## |
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
#!/data/data/com.termux/files/usr/bin/bash | |
set -eu | |
# Setup TERMUX_APP_PACKAGE_MANAGER | |
source "/data/data/com.termux/files/usr/bin/termux-setup-package-manager" || exit 1 | |
show_help() { | |
local cache_size | |
local cache_dir="" | |
if [ "$TERMUX_APP_PACKAGE_MANAGER" = "apt" ]; then |
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 | |
##############################################################################: | |
##############################################################################: | |
##: | |
##: | |
####: DEFINE_CHAR_VARIABLES | |
##: {{{ DEFINE_CHAR_VARIABLES | |
_thin_line_sep="---------------------------------------------------" |
Cloning this script with this script
[dampsock@localhost] $ gh-gist-clone-pretty "e9e3a3902474ff4938c95a9c0c3d5bf1"
Cloning into 'gh-gist-clone-pretty.sh'...
remote: Enumerating objects: 3, done.
remote: Counting objects: 100% (3/3), done.
remote: Compressing objects: 100% (3/3), done.
remote: Total 3 (delta 0), reused 0 (delta 0), pack-reused 0
Receiving objects: 100% (3/3), done.
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
{ | |
"Æ": { "codepoints": [198], "characters": "\u00C6" }, | |
"Æ": { "codepoints": [198], "characters": "\u00C6" }, | |
"&": { "codepoints": [38], "characters": "\u0026" }, | |
"&": { "codepoints": [38], "characters": "\u0026" }, | |
"Á": { "codepoints": [193], "characters": "\u00C1" }, | |
"Á": { "codepoints": [193], "characters": "\u00C1" }, | |
"Ă": { "codepoints": [258], "characters": "\u0102" }, | |
"Â": { "codepoints": [194], "characters": "\u00C2" }, | |
"Â": { "codepoints": [194], "characters": "\u00C2" }, |
OlderNewer