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 | |
echo 'Yay 2.0'; | |
?> |
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 | |
Class Increment extends CodeBench | |
{ | |
public $description = 'Comparision of $i++ to ++$i'; | |
public $loops = 10000; | |
public $subjects = array( | |
// Kinda sporadic jumps, but show a noticeable gap as value increases |
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 | |
class page_Core | |
{ | |
static $title = ''; | |
static $heading = ''; | |
static $stylesheets = array(); | |
static $scripts = array(); |
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/bash | |
# Simple script for looping unit test runs | |
# Relies on a phpunit.xml config being in the cwd | |
# Author: [email protected] | |
for(( ; ; )); do clear; echo -e "`phpunit`"; sleep 10; done |
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
[LD] e.debug | |
../external/out.debug/lib/libpcre.a(pcre_tables.o):(.rodata+0x0): multiple definition of `_pcre_OP_lengths' | |
.objs.debug/cx_pcre_tables.o:(.rodata+0x0): first defined here | |
../external/out.debug/lib/libpcre.a(pcre_tables.o):(.rodata+0x70): multiple definition of `_pcre_utf8_table1' | |
.objs.debug/cx_pcre_tables.o:(.rodata+0x70): first defined here | |
../external/out.debug/lib/libpcre.a(pcre_tables.o):(.rodata+0x88): multiple definition of `_pcre_utf8_table1_size' | |
.objs.debug/cx_pcre_tables.o:(.rodata+0x88): first defined here | |
../external/out.debug/lib/libpcre.a(pcre_tables.o):(.rodata+0x8c): multiple definition of `_pcre_utf8_table2' | |
.objs.debug/cx_pcre_tables.o:(.rodata+0x8c): first defined here | |
../external/out.debug/lib/libpcre.a(pcre_tables.o):(.rodata+0xa4): multiple definition of `_pcre_utf8_table3' |
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
jQuery.fn.limitMaxlength = function(options){ | |
settings = jQuery.extend({ | |
attribute: "maxlength", | |
onInit: function(){}, | |
onLimit: function(){}, | |
onEdit: function(){} | |
}, options); | |
// Event handler to limit the textarea |
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
colorscheme twilight |
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
body { background: #f1f8db !important; } | |
#Body { | |
margin: 15px 0 0 !important; | |
overflow: visible !important; | |
padding: 0 15px !important; | |
position: relative !important; | |
width: auto !important; | |
} |
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
matt@matt-laptop:~$ tree /usr/share/php/PHPUnit/ | |
/usr/share/php/PHPUnit/ | |
├── Autoload.php | |
├── Extensions | |
│ ├── Database | |
│ │ ├── AbstractTester.php | |
│ │ ├── Constraint | |
│ │ │ ├── DataSetIsEqual.php | |
│ │ │ └── TableIsEqual.php | |
│ │ ├── DataSet |
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
# ~/.bashrc: executed by bash(1) for non-login shells. | |
# see /usr/share/doc/bash/examples/startup-files (in the package bash-doc) | |
# for examples | |
# If not running interactively, don't do anything | |
[ -z "$PS1" ] && return | |
# don't put duplicate lines in the history. See bash(1) for more options | |
# ... or force ignoredups and ignorespace | |
HISTCONTROL=ignoredups:ignorespace |
OlderNewer