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 | |
// A class to help work with Sessions | |
// In our case, primarily to manage logging users in and out | |
// Keep in mind when working with sessions that it is generally | |
// inadvisable to store DB-related objects in sessions | |
class Session { | |
private $logged_in=false; |
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
diff --git a/Phergie/Plugin/Weather.php b/Phergie/Plugin/Weather.php | |
index c12d15e..531c8e7 100644 | |
--- a/Phergie/Plugin/Weather.php | |
+++ b/Phergie/Plugin/Weather.php | |
@@ -32,6 +32,7 @@ | |
* @license http://phergie.org/license New BSD License | |
* @link http://pear.phergie.org/package/Phergie_Plugin_Weather | |
* @link http://www.weather.com/services/xmloap.html | |
+ * @uses Phergie_Plugin_Cache pear.phergie.org | |
* @uses Phergie_Plugin_Command pear.phergie.org |
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
App.php | |
Autoload.php | |
Cache/Disk.php | |
Config.php | |
Dispatch.php | |
Helper.php | |
Model/Upload.php | |
Session.php | |
Vendor/Smarty/Config_File.class.php | |
Vendor/Smarty/internals/core.load_plugins.php |
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 | |
class Phergie_Plugin_Cache_Backend_SqLite extends Phergie_Plugin_Cache_Backend | |
{ | |
protected $db; | |
protected $prepareIsset; | |
protected $prepareFetch; | |
protected $prepareStoreUpdate; | |
protected $prepareStoreInsert; | |
protected $prepareExpire; |
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
def getSudoku(self): | |
sudoku = [[0] * 9 for x in range(9)] | |
for x, rows in enumerate(self.sudoku): | |
for y, cell in enumerate(rows): | |
if len(cell) == 1: | |
sudoku[x][y] = cell[0] | |
return sudoku |
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
phpunit --coverage-html ./phpunitCache/ Request/ | |
<html> | |
<head> | |
<style type="text/css"> | |
body { | |
font-family: monospace; | |
background-color: #F6FFE9; | |
} | |
#code_error td.title { | |
font-weight: bold; |
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
[core] | |
excludesfile = /path/to/ignoreFile/.gitignore_global | |
[color] | |
ui = auto | |
[alias] | |
br = branch | |
co = checkout | |
df = diff | |
lg = log -p | |
lgp = log --graph --pretty=format:'%Cred%h%Creset -%C(yellow)%d%Creset %s %Cgreen(%cr) %C(bold blue)<%an>%Creset' --abbrev-commit --date=relative |
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
279 elazar | |
74 Matthew Turland | |
47 Anthony Van de Gejuchte | |
31 dotEvan | |
29 James Logsdon | |
21 Evan Fribourg | |
17 Sean Coates | |
12 Dossy Shiobara | |
10 Graham Christensen | |
10 Nom4d3 |
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
[core] | |
excludesfile = /path/to/ignoreFile/.gitignore_global |
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
phpunit . | |
PHPUnit 3.5.14 by Sebastian Bergmann. | |
................................................................. 65 / 72 ( 90%) | |
....... | |
Time: 3 seconds, Memory: 9.75Mb | |
OK (72 tests, 157 assertions) |