Skip to content

Instantly share code, notes, and snippets.

Zlatko Minev zlatko-minev

Block or report user

Report or block zlatko-minev

Hide content and notifications from this user.

Learn more about blocking users

Contact Support about this user’s behavior.

Learn more about reporting abuse

Report abuse
View GitHub Profile
View update_gitkraken.sh
#!/bin/bash
# get current dir
prog_dir="/opt/$(ls /opt/ | grep gitkraken | grep -v tar)"
if [ "$prog_dir" == "/opt/" ]
then
prog_dir=""
fi
echo "DIR: $prog_dir"
if [ -f $prog_dir/gitkraken ]
@zlatko-minev
zlatko-minev / gitkraken-install-update.sh
Created Apr 16, 2019 — forked from rabin-io/gitkraken-install-update.sh
Install Script for Gitkraken on Fedora 27 + Launcher Icon
View gitkraken-install-update.sh
#!/bin/bash
if [[ ${UID} -ne 0 ]];
then
echo 'This script need to be run with root permissions'
echo "(we assume you don't have write access to /opt)"
exit
fi
@zlatko-minev
zlatko-minev / gitkraken-install-update.sh
Created Apr 16, 2019 — forked from rabin-io/gitkraken-install-update.sh
Install Script for Gitkraken on Fedora 27 + Launcher Icon
View gitkraken-install-update.sh
#!/bin/bash
if [[ ${UID} -ne 0 ]];
then
echo 'This script need to be run with root permissions'
echo "(we assume you don't have write access to /opt)"
exit
fi
View list_users.sh
#!/usr/bin/env sh
# If the top line line doesn't work, change to #!/bin/bash
# Name: list_users.sh
# Purpose: List all normal user and system groups in the system.
# Tested on RHEL / Debian Linux / BusyBox / GNU/Linux / Mac OS X Sierra Darwin
# Author: Zlatko Minev, based on Vivek Gite, under GPL v2.0+
# Original link: https://www.cyberciti.biz/faq/linux-list-users-command/
# See also: http://tuxthink.blogspot.com/2012/03/look-into-etcpasswdetcshadow-and.html
# -----------------------------------------------------------------------------------
You can’t perform that action at this time.