Instantly share code, notes, and snippets.

View set-locale_en_US.UTF-8.sh
#! /bin/sh
# author: Aysad kozanoglu
#
# quick launch script:
#
# wget -O - https://git.io/fpbwk | sh
export LC_ALL=en_US.UTF-8
export LANG=en_US.UTF-8
View simple_chat_network.sh
# replace 192.168.x.x with your ip
# apt install mawk
# the server
mawk -W interactive '$0="Aysad: "$0' | nc -l -p 9000 192.168.x.x
# the clients
mawk -W interactive '$0="clientUser1: "$0' | nc 192.168.x.x 9000
View dialog_percentage.sh
# apt install dialog
echo 40 | dialog --title " PANEL installer" --gauge "installing needed packages - please wait..." 8 50
View Quick_autoInstaller_scripts.txt
# Author: Aysad Kozanoglu
# Email: aysadx@gmail.com
one liner auto installer scripts for debian Jessie (jessie LTS until 2020) (and derivates like ubuntu)
MariaDB singler Server installation
# source: https://gist.github.com/AysadKozanoglu/d485de4d7b6492cb0c478c098b4c63c6#file-mariadb_debian_jessie_install-sh
wget -O - https://git.io/fpuj6 | bash
nginx threads,iao, stream, ssl compile installation
View MariaDB_Debian_jessie_install.sh
#author: Aysad Kozanoglu
#email: aysadx@gmail.com
# QUICK LAUNCH script
# wget -O - https://git.io/fpuhU | bash
#
apt-get -y -qq install software-properties-common
apt-key adv --recv-keys --keyserver keyserver.ubuntu.com 0xcbcb082a1bb943db
View data.json
// Author: Aysad Kozanoglu
externData = [
{
"name": "cola",
"epreis": "1.50"
},
{
View php7.2 install debian_jessie
#!/bin/sh
#author: Aysad Kozanoglu
#email: aysadx@gmail.com
#
# QUICK launch script
# wget -O - https://git.io/fpuND | bash
#
View nginx.conf
#
# CORS header support
#
# One way to use this is by placing it into a file called "cors_support"
# under your Nginx configuration directory and placing the following
# statement inside your **location** block(s):
#
# include cors_support;
#
# As of Nginx 1.7.5, add_header supports an "always" parameter which
View nginx0_trmp_live_stream.sh
apt-get -y install build-essential libpcre3 libpcre3-dev libssl-dev unzip
wget http://nginx.org/download/nginx-1.14.1.tar.gz
wget https://github.com/sergey-dryabzhinsky/nginx-rtmp-module/archive/dev.zip
unzip dev.zip
tar zxvf nginx-1*
cd nginx-1*
./configure --sbin-path=/usr/local/sbin --user=www-data --group=www-data --with-stream --with-threads --with-file-aio --add-module=../nginx-rtmp-module-dev
View nginx_compile_install.sh
#!/bin/sh
#author: Aysad Kozanoglu
#email: aysadx@gmail.com
# QUICK LAUNCH script
# wget -O - https://git.io/fpuAV | bash
#
# check before running this script if nginx is running or apache is installed
# if yes then remove/disable them