Skip to content

Instantly share code, notes, and snippets.

View Camaloff's full-sized avatar
🦉

AndreySempai Camaloff

🦉
View GitHub Profile
@Library(['sberapi.devops_lib@develop']) _
/////////////////////////////////////////////
def NEXUS_SERVER
def NEXUS_REPO = 'Nexus_PROD'
def NEXUS_GROUP = 'Nexus_PROD'
def CONFIGS_DIR = 'configs'
def DISTRIB_DIR = 'distrib'
def SOURCE_DIR = 'source'
@Camaloff
Camaloff / bash_history
Created August 19, 2021 16:31
best bash hisory settings
# /etc/profile.d/best_bash_history.sh
# Save 5,000 lines of history in memory
HISTSIZE=10000
# Save 2,000,000 lines of history to disk (will have to grep ~/.bash_history for full listing)
HISTFILESIZE=2000000
# Append to history instead of overwrite
shopt -s histappend
# Ignore redundant or space commands
HISTCONTROL=ignoreboth