Skip to content

Instantly share code, notes, and snippets.

View scottx611x's full-sized avatar

Scott Ouellette scottx611x

View GitHub Profile
@martinlindhe
martinlindhe / Behat3Test.php
Last active October 30, 2018 23:39
run Behat 3 tests as a phpunit script (to include behat in code coverage count)
<?php
use Symfony\Component\Console\Input\ArrayInput;
use Symfony\Component\Console\Output\ConsoleOutput;
use Behat\Behat\ApplicationFactory;
class BehatTest extends TestCase
{
/**
* @group Behat
@GrahamDumpleton
GrahamDumpleton / gist:b380652b768e81a7f60c
Last active May 18, 2024 03:35
Setting environment variables for Apache/mod_wsgi hosted Python application.

Django documentation says to use:

WSGIScriptAlias / /path/to/mysite.com/mysite/wsgi.py
WSGIPythonPath /path/to/mysite.com

<Directory /path/to/mysite.com/mysite>
<Files wsgi.py>
Require all granted
@lordofthelake
lordofthelake / .gitignore
Created June 21, 2013 18:39
.gitignore for Maven, Intellij, Eclipse
# Eclipse
.classpath
.project
.settings/
# Intellij
.idea/
*.iml
*.iws