View onecount user data
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
Array | |
( | |
[Users] => Array | |
( | |
[PartnerId] => 100 | |
[Demo] => Array | |
( | |
[2] => gbelsky@gmail.com | |
[3] => 123%@%321 | |
[11] => gbelsky@gmail.com |
View gist:4aebb1b3d4869eb350d2aeb34480198f
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
[Questions] => Array | |
( | |
[0] => stdClass Object | |
( | |
[Id] => 1 | |
[Text] => | |
[Type] => 0 | |
[Alias] => | |
) |
View Frontline save screenshots on error
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
<?php | |
/** | |
* @file | |
* Provides code to handle failures in circleci. | |
*/ | |
use Behat\Behat\Hook\Scope\AfterStepScope; | |
use Behat\Mink\Driver\Selenium2Driver; | |
use Behat\MinkExtension\Context\RawMinkContext; |
View Frontline build.sh
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 | |
# Start mysql and create database. | |
sudo service mysql start | |
mysql -uroot -e "CREATE DATABASE circle_test" | |
set -ex | |
# Install the required node modules. | |
npm install |
View Frontline circleci.yml
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
# Set defaults to use for each job. | |
# https://circleci.com/docs/2.0/workflows/#using-workspaces-to-share-data-among-jobs | |
# To update the docker image, change the docker file in this repo: https://github.com/chrisroane/frontlinedocker | |
# Here is the docker hub repo: https://hub.docker.com/r/chrisroane/frontlinedocker/ | |
defaults: &defaults | |
docker: | |
- image: chrisroane/frontlinedocker:latest | |
working_directory: ~/medstat | |
environment: | |
TZ: "/usr/share/zoneinfo/America/New_York" |
View build.sh
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 | |
# Start mysql and create database. | |
sudo service mysql start | |
mysql -uroot -e "CREATE DATABASE circle_test" | |
set -ex | |
# Install the required node modules. | |
npm install |
View config.yml
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
# Set defaults to use for each job. | |
# https://circleci.com/docs/2.0/workflows/#using-workspaces-to-share-data-among-jobs | |
defaults: &defaults | |
docker: | |
- image: chrisroane/frontline-docker-image:0.0.31 | |
working_directory: ~/medstat | |
environment: | |
TZ: "/usr/share/zoneinfo/America/New_York" | |
version: 2 |
View medstat.conf
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
ServerName localhost | |
Listen 8080 | |
<VirtualHost *:8080> | |
DocumentRoot /root/medstat/build | |
ServerName medstat.local | |
DirectoryIndex index.php index.html | |
<Directory /root/medstat/build> | |
Options FollowSymLinks |
View Docker File
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
# Set the base image | |
FROM ubuntu:16.04 | |
MAINTAINER Chris Roane <chris.roane@fourkitchens.com> | |
# This was started from the docker file here: | |
# https://hub.docker.com/r/fauria/lamp/~/dockerfile/ | |
RUN DEBIAN_FRONTEND=noninteractive | |
# Replace shell with bash so we can source files. | |
RUN rm /bin/sh && ln -s /bin/bash /bin/sh |
View gist:1d7a21d5373273f8238c03cb63db909f
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
# Set the base image | |
FROM ubuntu:16.04 | |
MAINTAINER Chris Roane <chris.roane@fourkitchens.com> | |
# This was started from the docker file here: | |
# https://hub.docker.com/r/fauria/lamp/~/dockerfile/ | |
RUN DEBIAN_FRONTEND=noninteractive | |
# Replace shell with bash so we can source files. | |
RUN rm /bin/sh && ln -s /bin/bash /bin/sh |
NewerOlder