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
#!/bin/bash | |
#################### | |
# | |
# Script: Checking process and if it is not running will start that process | |
# | |
#################### | |
#*** CONFIG *** |
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
## docker-compose : Makefile | |
ENV_FILE_PATH = ./docker/.env | |
DOCKER_COMPOSE_FILE_PATH = ./docker/docker-compose.yml | |
start: | |
docker-compose --env-file $(ENV_FILE_PATH) -f $(DOCKER_COMPOSE_FILE_PATH) build && docker-compose --env-file $(ENV_FILE_PATH) -f $(DOCKER_COMPOSE_FILE_PATH) up -d | |
logs: | |
docker-compose --env-file $(ENV_FILE_PATH) -f $(DOCKER_COMPOSE_FILE_PATH) logs -f --tail 20 |
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
#!/usr/bin/env bash | |
TMUX_VERSION=3.3 | |
sudo apt-get update | |
sudo apt-get install -y libevent-dev libncurses-dev make | |
wget "https://github.com/tmux/tmux/releases/download/${TMUX_VERSION}/tmux-${TMUX_VERSION}.tar.gz" | |
tar xvzf "tmux-${TMUX_VERSION}.tar.gz" | |
cd "tmux-${TMUX_VERSION}/" | |
./configure && make | |
sudo make install |
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
#!/usr/bin/env bash | |
git clone https://github.com/vim/vim.git | |
cd vim | |
git pull | |
cd src | |
make distclean # if you build Vim before | |
make | |
sudo make install |
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
#!/usr/bin/env bash | |
JAVA_VERSION=jdk1.8.0_05 | |
JAVA_FILE_NAME="jdk-8u5-linux-i586.tar.gz" | |
sudo tar xvzf "${JAVA_FILE_NAME}" -C /usr/java | |
JAVA_HOME="/usr/java/${JAVA_VERSION}/" | |
sudo update-alternatives --install /usr/bin/java java ${JAVA_HOME%*/}/bin/java 20000 | |
sudo update-alternatives --install /usr/bin/javac javac ${JAVA_HOME%*/}/bin/javac 20000 |
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
#!/usr/bin/env bash | |
VERSION=2.37.3 | |
curl -o git.tar.gz "https://mirrors.edge.kernel.org/pub/software/scm/git/git-$VERSION.tar.gz" | |
tar -zxf git.tar.gz | |
cd "git-$VERSION" | |
make prefix=/usr/local all | |
sudo make prefix=/usr/local install |
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
" Don't try to be vi compatible | |
set nocompatible | |
" Helps force plugins to load correctly when it is turned back on below | |
filetype off | |
" TODO: Load plugins here (pathogen or vundle) |
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
# INCLUDES | |
# -------- | |
# Local/Private config goes in the include | |
[include] | |
path = ~/.gitconfig.local | |
[core] | |
editor = /usr/bin/vim | |
excludesFile = ~/.gitignore | |
longpaths = true |
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
<!-- Build Script for ANT --> | |
<project basedir="." default="" name="Build Script"> | |
<property name="username" value="username"/> | |
<property name="passwd" value="passwd"/> | |
<property name="keyfile-path" value="/path-to-private-key"/> | |
<property name="applicationFolder" value="/var/www/html/"/> | |
<property name="sandboxRoot" value="${basedir}"/> |
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
<!-- Build Script for ANT --> | |
<project basedir="." default="" name="Build Script"> | |
<property name="username" value="username"/> | |
<property name="passwd" value="passwd"/> | |
<property name="keyfile-path" value="/path-to-private-key"/> | |
<property name="applicationFolder" value="/var/www/html/"/> | |
<property name="sandboxRoot" value="${basedir}"/> |