Skip to content
No description, website, or topics provided.
Shell Python
Branch: master
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Type Name Latest commit message Commit time
Failed to load latest commit information.
archive
.gitignore
README.md
bug.sh
connect-to-oracle-db.sh
copy-file-from-server.sh
copy-file-to-server.sh
find-specification-by-name.sh
find-text-in-specification.sh
get-errors-to-file.sh
get-top-colleague-from-jira.py
nortal-logo.sh
notify-about-issues.sh
open-apps-for-work.sh
open-last-specification.sh
quit-apps-for-work.sh
remove-docker-trash.sh
rename-log-files.sh
show-status-of-applications-tomcat.sh
show-status-of-prod-applications-tomcat.sh
w3c-html-validation.sh

README.md

Collection of Bash Scripts for Mac OS

All scripts are used on Mac OS Sierra 10.12.6 (most likely they are also working on previous Mac OS versions and on UNIX OS's).

bug.sh

./bug.sh

Prints picture of a bug. See blog post about it: Bash Scripts for Working With Documentation

connect-to-oracle-db.sh

./connect-to-oracle-db.sh

Opens connection to some Oracle DB in command line using SQLPlus. Different data bases and their credentials can be mapped with short titles, so there is no need to remember all passwords and hosts. See blog post about it: Use Oracle Data Base in Command Line

copy-file-from-server.sh

./copy-file-from-server.sh

Copy file from server to local computer. Servers can be mapped with short titles, so there is no need to remember host path. See blog post about it: Bash Scripts for Transfering Files Between Server and Local Computer

copy-file-to-server.sh

./copy-file-to-server.sh

Copy file from local computer to server. Servers can be mapped with short titles, so there is no need to remember host path. See blog post about it: Bash Scripts for Transfering Files Between Server and Local Computer

find-specification-by-name.sh

./find-specification-by-name.sh [text_in_file_title]

Finds file in specific directory by name. See blog post about it: Bash Scripts for Working With Documentation

find-text-in-specification.sh

./find-text-in-specification.sh [text_in_the_file_content]

Finds files where given text is present. See blog post about it: Bash Scripts for Working With Documentation

get-errors-to-file.sh

./get-errors-to-file.sh [path_to_log_file]

Reads given log file and prints errors (or whatever is given to regular expression) to separate file.

get-top-colleague-from-jira.py

python get-top-colleague-from-jira.py

Get top rating of colleagues with whom user worked for the part N days (username, N days and top number are input parameters). Useful for situations when mentor wants to get feedback about some user and wants to find out with whom user worked most of all.

nortal-logo.sh

./nortal-logo.sh

Prints picture of Nortal logo. See blog post about it: Bash Scripts for Working With Documentation

notify-about-issues.sh

./notify-about-issues.sh

Sends e-mail when JIRA JQL query returns some result. See blog post about it: Script for Sending E-mails About Certain JIRA Issues

open-apps-for-work.sh

./open-apps-for-work.sh

Opens all applications that are required for my daily work. As I don't use computer only for work, I don't want to open them on every startup.

open-last-specification.sh

./open-last-specification.sh [text_in_file_title]

Finds file in specific directory by name and opens last modified version. See blog post about it: Bash Scripts for Working With Documentation

quit-apps-for-work.sh

./quit-apps-for-work.sh

Quits all applications that are required for my daily work, because I don't want to run some work-specific apps after work hours are over.

rename-log-files.sh

./rename-log-files.sh

Rename log files: module.log.31.12.2015 -> module.log.2015.12.31. It was used to change format of the date from dd.MM.yyyy to yyyy.MM.dd to fix file sorting by name.

show-status-of-applications-tomcat.sh

./show-status-of-applications-tomcat.sh

List deployed applications on Tomcat 8 web-server. See blog post about it: Checking Deployments on Tomcat Server Without Web Manager

show-status-of-prod-applications-tomcat.sh

./show-status-of-prod-applications-tomcat.sh

List deployed applications on multiple-server and multiple-cluster environment (Tomcat 8). See blog post about it: Checking Deployments on Tomcat Server Without Web Manager

You can’t perform that action at this time.