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
#get root access | |
$su - | |
$ cd /tmp | |
#Remove old Ruby | |
$ yum remove ruby | |
# Install dependencies | |
$ yum groupinstall "Development Tools" | |
$ yum install zlib zlib-devel |
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
# Encrypt the repository | |
# Remove/modify this line if the repository is meant to be open-source | |
*.* filter=git-crypt diff=git-crypt | |
.gitattributes !filter !diff | |
# These files are text and should be normalized (Convert crlf => lf) | |
*.php text | |
*.phtml text | |
*.twig text | |
*.css text |
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 | |
namespace AppBundle\Menu; | |
use Knp\Menu\FactoryInterface; | |
class Builder | |
{ | |
/** | |
* @var FactoryInterface |
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
Remove osxfuse if installed via homebrew: | |
> brew uninstall osxfuse | |
Install osxfuse binary and choose to install the MacFUSE compatibility layer: | |
http://sourceforge.net/projects/osxfuse/files/latest/download?source=files | |
Reboot (optional but recommended by osxfuse) | |
Install ntfs-3g via homebrew: | |
> brew update && brew install ntfs-3g |
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/sh | |
# | |
# Run the hook command. | |
# Note: this will be replaced by the real command during copy. | |
# | |
CONTAINER="php" | |
ROOT_DIR="/var/www/app" | |
GIT_USER=$(git config user.name) | |
GIT_EMAIL=$(git config user.email) |
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
#!/usr/bin/env php | |
<?php | |
if (isset($argv[1]) && ($argv[1] == '--help' || $argv[1] == '-h')) { | |
echo sprintf( | |
"Usage: \n [igbinary-serialized data] | %s\n", | |
basename(__FILE__) | |
); | |
exit(); | |
} |
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
const addContext = (report, screenshots, videoUrl) => { | |
const getTests = t => t.tests | |
const getSuites = t => t.suites | |
const addSuiteContext = (suite, previousTitles = []) => { | |
const titles = suite.title ? previousTitles.concat(suite.title) : previousTitles | |
getTests(suite).forEach(test => { | |
test.timedOut = false // for some reason this is dropped | |
const context = [ | |
{ |
OlderNewer