This file contains hidden or 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
node with name "rabbit" already running on "chef-xxxxx" | |
2015-01-29_02:44:28.18158 diagnostics: | |
2015-01-29_02:44:28.18191 - nodes and their ports on chef-xxxxx: [{bookshelf,33831}, | |
2015-01-29_02:44:28.18196 {oc_bifrost,48981}, | |
2015-01-29_02:44:28.18196 {oc_reporting,44535}, | |
2015-01-29_02:44:28.18197 {mover,53862}, | |
2015-01-29_02:44:28.18197 {erchef,41226}, | |
2015-01-29_02:44:28.18197 {rabbit,25672}, | |
2015-01-29_02:44:28.18198 {rabbitmqprelaunch11088,32900}] |
This file contains hidden or 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
[root@***** tmp]# gem list | grep foreman | |
/usr/local/lib/ruby/1.9.1/yaml.rb:84:in `<top (required)>': | |
It seems your ruby installation is missing psych (for YAML output). | |
To eliminate this warning, please install libyaml and reinstall your ruby. | |
foreman (0.77.0) | |
foreman-tasks (0.6.12) | |
foreman_chef (0.1.1) |
This file contains hidden or 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
sudo cat /var/chef/cache/chef-stacktrace.out | |
Generated at 2015-02-16 11:34:28 +0200 | |
Chef::Exceptions::RecipeNotFound: could not find recipe default for cookbook ssh_authorized_keys | |
/opt/chef/embedded/apps/chef/lib/chef/cookbook_version.rb:234:in `load_recipe' | |
/opt/chef/embedded/apps/chef/lib/chef/run_context.rb:169:in `load_recipe' | |
/opt/chef/embedded/apps/chef/lib/chef/run_context.rb:138:in `block in include_recipe' | |
/opt/chef/embedded/apps/chef/lib/chef/run_context.rb:137:in `each' |
This file contains hidden or 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 | |
debug='' | |
debug='' | |
is_dead_ping() | |
{ | |
# echo "is_dead_ping $1 ?" | |
ping -c 1 $1 > /dev/null | |
if [ $? -ne 0 ]; then | |
# echo $1 is down | |
return 0 |
This file contains hidden or 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
new-alias() { | |
local last_command=$(echo `history |tail -n2 |head -n1` | sed 's/[0-9]* //') | |
echo alias $1="'""$last_command""'" >> ~/.bash_profile | |
. ~/.bash_profile | |
} |
This file contains hidden or 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 groovy | |
pipeline { | |
options { | |
timestamps() | |
skipDefaultCheckout() | |
} | |
environment { | |
REPO_PATH = "***/***" |
This file contains hidden or 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
'builtin' 'local' '-a' 'p10k_config_opts' | |
[[ ! -o 'aliases' ]] || p10k_config_opts+=('aliases') | |
[[ ! -o 'sh_glob' ]] || p10k_config_opts+=('sh_glob') | |
[[ ! -o 'no_brace_expand' ]] || p10k_config_opts+=('no_brace_expand') | |
'builtin' 'setopt' 'no_aliases' 'no_sh_glob' 'brace_expand' | |
() { | |
emulate -L zsh | |
setopt no_unset extended_glob | |
unset -m 'POWERLEVEL9K_*' |
This file contains hidden or 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
'builtin' 'local' '-a' 'p10k_config_opts' | |
[[ ! -o 'aliases' ]] || p10k_config_opts+=('aliases') | |
[[ ! -o 'sh_glob' ]] || p10k_config_opts+=('sh_glob') | |
[[ ! -o 'no_brace_expand' ]] || p10k_config_opts+=('no_brace_expand') | |
'builtin' 'setopt' 'no_aliases' 'no_sh_glob' 'brace_expand' | |
() { | |
emulate -L zsh -o extended_glob |
This file contains hidden or 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
# p10k.zsh configuration file | |
# | |
# Author: Thomas Bendler <[email protected]> | |
# Date: Sun Jan 12 17:54:00 CET 2020 | |
# | |
# Based on romkatv/powerlevel10k/config/p10k-lean.zsh, checksum 551. | |
# For more information see https://github.com/romkatv/powerlevel10k | |
# | |
# Apply configiguration changes without restarting zsh. | |
# Edit ~/.p10k.zsh and type `source ~/.p10k.zsh`. |
This file contains hidden or 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
return { | |
{ import = "astrocommunity.recipes.disable-tabline" }, | |
{ | |
"akinsho/bufferline.nvim", | |
dependencies = { | |
{ | |
"AstroNvim/astrocore", | |
opts = { | |
mappings = { | |
n = { |
OlderNewer