This file contains hidden or 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
class IndexController extends AbstractActionController | |
{ | |
public function indexAction() | |
{ | |
return $this->forward()->dispatch('Application\Controller\Index', array('action' => 'test')); | |
} | |
public function testAction() | |
{ | |
$x = new ViewModel(); |
This file contains hidden or 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 | |
/** | |
* Script to update all remotes in a Git repo to use a new access token -- run from within the repository you wish to update. | |
*/ | |
$username = $argv[1] ?? null; | |
$token = $argv[2] ?? null; | |
if (empty($token)) { | |
die("Usage: {$argv[0]} [username] [new GitHub token]\n"); | |
} |
This file contains hidden or 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 | |
/** | |
* Guide Recommendations Module | |
* | |
* PHP version 7 | |
* | |
* Copyright (C) Villanova University 2010. | |
* | |
* This program is free software; you can redistribute it and/or modify |