-
glassfish_server:
- hostname: gf.localdomain
- ip: 192.168.1.200
-
apache_server:
- hostname: web.localdomain
- ip: 192.168.1.100
This file contains hidden or 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
[ | |
{ | |
"id": "ms-vscode.node-debug2", | |
"name": "node-debug2", | |
"publisher": "ms-vscode", | |
"version": "1.19.0" | |
}, | |
{ | |
"id": "Atishay-Jain.All-Autocomplete", | |
"name": "All-Autocomplete", |
This file contains hidden or 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
new |
This file contains hidden or 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
server { | |
listen 80; | |
listen [::]:80; | |
server_name www.domainName domainName; | |
return 301 https://domainName$request_uri; | |
} | |
server { | |
listen 443 ssl http2; # we listen on all ips at port 80 | |
listen [::]:443 ssl http2; | |
server_name domainName; # vhost domain name |
This file contains hidden or 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 | |
# Names of latest versions of PHP package | |
export VERSION_PHP=php-5.6.26 | |
# PHP mirror URL | |
export SOURCE_PHP=http://php.net/get/${VERSION_PHP}.tar.bz2/from/this/mirror | |
# Path to local build | |
export BUILD_DIR=/usr/local/src/php |
This file contains hidden or 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
" Credits goes to- Fatih Arslan | |
" Make sure to install vim-plug first using the following command | |
" curl -fLo ~/.vim/autoload/plug.vim --create-dirs https://raw.githubusercontent.com/junegunn/vim-plug/master/plug.vim | |
" Then Install The plugins with command :PlugInstall | |
call plug#begin() | |
Plug 'fatih/vim-go' | |
Plug 'AndrewRadev/splitjoin.vim' | |
Plug 'SirVer/ultisnips' | |
Plug 'ctrlpvim/ctrlp.vim' |
This file contains hidden or 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 | |
# Names of latest versions of PHP package | |
export VERSION_PHP="php-${1}" | |
export FPM="${2}" | |
# PHP mirror URL | |
export SOURCE_PHP=http://php.net/get/${VERSION_PHP}.tar.bz2/from/this/mirror | |
# Path to local build | |
export BUILD_DIR=/usr/local/src/php |
This file contains hidden or 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 | |
# Names of latest versions of each package | |
export VERSION_PCRE=pcre-8.39 | |
export VERSION_ZLIB=zlib-1.2.10 | |
export VERSION_LIBRESSL=libressl-2.4.4 | |
export VERSION_NGINX=nginx-1.11.8 | |
# Download nginx cache purge module to add it in compilation time | |
# git clone https://github.com/FRiCKLE/ngx_cache_purge |
This file contains hidden or 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/python2 | |
# require fabric python module | |
# install pip, then: pip install fabric | |
import sys | |
import subprocess | |
from fabric.api import * | |
try: | |
sys.argv[1] | |
except: |
This file contains hidden or 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 python | |
import smtplib | |
def send_email(sender, receivers, message): | |
sender = sender | |
receivers = receivers | |
message = message | |
smtplib.SMTP('localhost').sendmail(sender, receivers, message) |
NewerOlder