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
if [ -e log4j2.properties.template ]; | |
then | |
echo "Renaming file" | |
chmod u+rwx log4j2.properties.template | |
mv log4j2.properties.template log4j2.properties | |
fi | |
sed '/Logger/{ | |
s/info/ERROR/ |
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
#Run shell script in automator and paste this code | |
shopt -s extglob; #to use regular expressions | |
echo hello | |
for f in "$@" | |
do | |
echo "$f" | |
stats=$(echo"") | |
case $f in |
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
% sed -n 's!<\([a-z]*\)>!\1!g;p' git_shortcuts.csv > git_final shortcut. exercises Mon 9 |
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
% cat ~/.zlogin lily Patronus Fri 6 | |
#setting mysql | |
path[8]=/usr/local/mysql/bin; | |
#Setting shell prompt | |
PROMPT="%{$fg[yellow]%}%n@%m%{$reset_color%} %~"$'\n'"%# " | |
#setting bindkey for mysql |
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
eval "$(/opt/homebrew/bin/brew shellenv)" | |
#MINE | |
autoload -U colors && colors | |
RPROMPT="%{$fg[cyan]%} %c %w%{$reset_color%}" | |
#PROMPT is at zlogin | |
precmd(){ |