Skip to content

Instantly share code, notes, and snippets.

View avantassel's full-sized avatar
💯

Andrew Van Tassel avantassel

💯
View GitHub Profile
@avantassel
avantassel / MNMP.sh
Created July 10, 2013 22:49 — forked from camshaft/MNMP.sh
#!/bin/bash
# vars
PHP_VERSION="5.3.6"
NGINX_VERSION="1.0.4"
MONGO_VERSION="1.8.1"
MEMCACHED_VERSION="1.4.5"
DIRECTORY=$(cd `dirname $0` && pwd)
PHP_DIR=$DIRECTORY/lib/php/$PHP_VERSION/
@Radamanf
Radamanf / Ghost - Demonize anything
Last active January 6, 2020 16:04
This is an initialization script "/etc/init.d/ghost" file which helps you to start, stop, status executable or java -jar file.jar with nohup and & - background option, this is pretend way make a daemon, but maybe will be interested to someone. It uses PID file and checks if the process is running before every start or stop. Once it's configured …
#!/bin/bash
# Licence: GPLv3, MIT, BSD, Apache or whatever you prefer; FREE to use, modify, copy, no obligations
# Description: Bash Script to Start the process with NOHUP and & - in background, pretend to be a Daemon
# Author: Andrew Bikadorov
# Script v1.5
# For debugging purposes uncomment next line
#set -x
version: '3'
services:
redis:
image: redis
container_name: redis
postgres:
image: 'postgres'
container_name: postgres
@miazga
miazga / howto.md
Last active March 23, 2024 16:59
Expo + Android TV