Skip to content

Instantly share code, notes, and snippets.

@kevin-kientopp
kevin-kientopp / startup-multi-tabs.sh
Created September 20, 2017 02:14
Open a terminal with multiple tabs and execute commands in each of them
gnome-terminal --tab -e "bash -c 'date; exec bash -i'" --tab-with-profile=Unnamed -e "bash -c 'ls -al /usr/bin; exec bash -i'" --tab-with-profile=Unnamed -e "bash -c 'java -version; exec bash -i'"
# disable xon/xoff so that search forward works
[[ $- == *i* ]] && stty -ixon
gradle build --continuous
gradle tasks
lb-update

This is italic text.

This is bolded text.

This is italic and bolded text.

This is an inline link.

[This is a reference link.][reference]

@kevin-kientopp
kevin-kientopp / install-xclip
Created July 23, 2016 03:19
how to install xclip
$ sudo yum install epel-release.noarch
$ sudo yum install xclip
@kevin-kientopp
kevin-kientopp / install-chrome
Created July 23, 2016 01:29
how to install chrome on centos
Create a file called /etc/yum.repos.d/google-chrome.repo and add the following lines of code to it.
[google-chrome]
name=google-chrome
baseurl=http://dl.google.com/linux/chrome/rpm/stable/$basearch
enabled=1
gpgcheck=1
gpgkey=https://dl-ssl.google.com/linux/linux_signing_key.pub
# yum info google-chrome-stable
@kevin-kientopp
kevin-kientopp / install-tmux
Last active August 20, 2021 02:10 — forked from rothgar/install-tmux
Install tmux 2.2 on rhel/centos 6
# Install tmux on Centos release 6.5 or 7.2
# install deps
yum install gcc kernel-devel make ncurses-devel
# DOWNLOAD SOURCES FOR LIBEVENT AND MAKE AND INSTALL
curl -OL https://github.com/libevent/libevent/releases/download/release-2.0.22-stable/libevent-2.0.22-stable.tar.gz
tar -xvzf libevent-2.0.22-stable.tar.gz
cd libevent-2.0.22-stable
./configure --prefix=/usr/local