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
#!/usr/bin/env ruby | |
require 'securerandom' | |
print 'Enter desired length of random hex string: ' | |
length = gets | |
begin | |
actual_length = Integer(length) |
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
#!/usr/bin/env bash | |
readonly _skip_examples="local-image-skip-examples" | |
usage() { | |
local scriptname | |
scriptname="$(basename "$0")" | |
cat <<-EOF | |
Usage: ${scriptname} command |
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
ENDPOINT=https://whatever |
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
#!/usr/bin/env bash | |
update-docker-completions() { | |
local prefix suffix srcdir='/Applications/Docker.app/Contents/Resources/etc' | |
# bash | |
prefix='/usr/local/etc/bash_completion.d/' | |
suffix='' | |
for compl in "$srcdir"/*.bash-completion; do | |
ln -sf "$compl" "${prefix}$(basename "${compl%.*-completion}")${suffix}" |
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
diff --git i/contrib/completion/git-completion.bash w/contrib/completion/git-completion.bash | |
index 00fbe6c03d..907a4b3a24 100644 | |
--- i/contrib/completion/git-completion.bash | |
+++ w/contrib/completion/git-completion.bash | |
@@ -1750,7 +1750,7 @@ __git_log_shortlog_options=" | |
" | |
__git_log_pretty_formats="oneline short medium full fuller email raw format: mboxrd" | |
-__git_log_date_formats="relative iso8601 iso8601-strict rfc2822 short local default raw unix format:" | |
+__git_log_date_formats="relative iso8601 iso8601-strict rfc2822 short local default raw unix format: human" |
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
I am the Miaou user with id 5412 and name "elyscape" on https://miaou.dystroy.org |
OlderNewer