Skip to content

Instantly share code, notes, and snippets.


Alan Hartless alanhartless

View GitHub Profile
alanhartless /
Created Aug 15, 2019 — forked from BrizzleRocker/
Export Issues from Github repo to CSV (API v3)
Exports issues from a list of repositories to individual csv files.
Uses basic authentication (Github username + password) to retrieve issues
from a repository that username has access to. Supports Github API v3.
Forked from: unbracketed/
import argparse
import csv
from getpass import getpass
import requests
View gist:b7757a8cb7fefd3293b5
server {
# see:
# see:
listen 80;
root /app;
index index.html index.htm index.php;
error_page 404 /index.php;
# Make site accessible from
alanhartless / default
Created Dec 22, 2015 — forked from drmmr763/default
View default
server {
listen 80;
root /usr/share/nginx/html;
index index.html index.htm;
# Make site accessible from http://localhost/
server_name _;
location / {
alanhartless / cron.php
Last active Jul 11, 2016 — forked from escopecz/commands.php
Script to run Symfony commands from web
View cron.php
if (!isset($_GET['ILoveMauticReallyIDo'])) {
echo 'The secret phrase is wrong.';
$allowedTasks = array(
alanhartless / codeStyleSettings.xml
Last active Mar 15, 2019
PhpStorm Symfony Code Style
View codeStyleSettings.xml
<code_scheme name="Symfony">
<option name="RIGHT_MARGIN" value="150" />
<option name="ALIGN_KEY_VALUE_PAIRS" value="true" />
<option name="ALIGN_PHPDOC_PARAM_NAMES" value="true" />
<option name="ALIGN_PHPDOC_COMMENTS" value="true" />
<option name="ALIGN_ASSIGNMENTS" value="true" />
<option name="CONCAT_SPACES" value="false" />
<option name="COMMA_AFTER_LAST_ARRAY_ELEMENT" value="true" />
<option name="PHPDOC_BLANK_LINES_AROUND_PARAMETERS" value="true" />
alanhartless / cron.php
Created Aug 31, 2015
Script to run Symfony commands from web
View cron.php
require_once __DIR__.'/app/bootstrap.php.cache';
require_once __DIR__.'/app/AppKernel.php';
use Symfony\Bundle\FrameworkBundle\Console\Application;
use Symfony\Component\Console\Input\ArgvInput;
use Symfony\Component\Console\Output\BufferedOutput;
try {
You can’t perform that action at this time.