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
RUN apt update \ | |
&& apt -y install gcc make autoconf \ | |
&& mkdir ~/xdebug \ | |
&& cd ~/xdebug \ | |
&& wget http://xdebug.org/files/xdebug-2.7.2.tgz \ | |
&& tar -xvzf xdebug-2.7.2.tgz \ | |
&& cd xdebug-2.7.2 \ | |
&& phpize \ | |
&& ./configure \ | |
&& make \ |
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 | |
# Recursive file convertion windows-1251 --> utf-8 | |
# Place this file in the root of your site, add execute permission and run | |
# Converts *.php, *.html, *.css, *.js files. | |
# To add file type by extension, e.g. *.cgi, add '-o -name "*.cgi"' to the find command | |
find ./ -name "*.php" -o -name "*.html" -o -name "*.css" -o -name "*.js" -o -name "*.md" -o -name "*.ru" -o -name "*.en" -type f | | |
while read file | |
do |
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
# echo "==> Colored prompt" | |
echo "force_color_prompt=yes" >> /home/vagrant/.bashrc | |
echo "color_prompt=yes" >> /home/vagrant/.bashrc | |
echo "PS1='\t \[\033[02;32m\]\u@\H:\[\033[02;34m\][\w]\$\[\033[00m\] '" >> /home/vagrant/.bashrc |
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 | |
######################################################### | |
# | |
# Bootstrap script v1.0.0 for Vagrant scotch/box 3.5.0 (Ubuntu 16.04.2 LTS) | |
# Purpose: Nginx + PHP7.0-FPM | |
# | |
######################################################### | |
echo "========== Uninstalling Apache & Installing Nginx ==========" |
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
{ | |
"name": "loans-form", | |
"version": "1.0.0", | |
"description": "", | |
"scripts": { | |
"test": "echo \"Error: no test specified\" && exit 1", | |
"build": "gulp" | |
}, | |
"repository": { | |
"type": "git", |
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
// Gulp plugins | |
var gulp = require('gulp'), | |
minifyCSS = require('gulp-csso'), | |
merge = require('merge-stream'), | |
sass = require('gulp-sass'), | |
concat = require('gulp-concat'), | |
sourcemaps = require('gulp-sourcemaps'), | |
uglify = require('gulp-uglify'), | |
stripDebug = require('gulp-strip-debug'); |
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
# -*- mode: ruby -*- | |
# vi: set ft=ruby : | |
######################################################### | |
# | |
# Vagrant file v1.0.0 for scotch/box | |
# Vagrant version: 2.0.0 and later | |
# | |
######################################################### |
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
// Gulp plugins | |
var gulp = require('gulp'), | |
minifyCSS = require('gulp-csso'), | |
concat = require('gulp-concat'), | |
sourcemaps = require('gulp-sourcemaps'), | |
uglify = require('gulp-uglify'), | |
stripDebug = require('gulp-strip-debug'); | |
// env variables | |
var front_folder = 'web', |
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 | |
######################################################### | |
# | |
# Bootstrap script v1.0.0 for Vagrant scotch/box 3.5.0 (Ubuntu 16.04.2 LTS) | |
# Purpose: PHP 7.1 | |
# | |
######################################################### | |
echo "================== Installing PHP 7.1 =====================" |
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 | |
######################################################### | |
# | |
# Bootstrap script v1.0.1 for Vagrant scotch/box 3.5.0 (Ubuntu 16.04.2 LTS) | |
# Purpose: PHP 7.0 | |
# | |
######################################################### | |
echo "==================== Set up php vars ======================" |
NewerOlder