I hereby claim:
- I am s7anley on github.
- I am s7anley (https://keybase.io/s7anley) on keybase.
- I have a public key ASC4tQjNQ_pwK0zrQJQbuvmOEoSTs20Qaoo3xNjkQIqoEgo
To claim this, I am signing this object:
#!/usr/bin/env bash | |
$(git diff-index --quiet HEAD $1) > /dev/null | |
FILE_CHANGED=$? | |
if [ $FILE_CHANGED -eq 1 ];then | |
COMMIT=$(git log -n 1 --pretty=format:%H -- $1) | |
git add $1 | |
git commit --fixup=$COMMIT | |
git rebase --interactive --autosquash $COMMIT^ | |
fi |
import pytest | |
def populate_tables(tables): | |
pass | |
def truncate_tables(tables): | |
pass |
I hereby claim:
To claim this, I am signing this object:
<?php | |
/** | |
* @dataProvider expressionsProvider | |
*/ | |
public function testEvaluateReceiveCorrectExpression(Expression $expectedExpression) | |
{ | |
$evaluator = $this->getMock(Evaluator::class); | |
$evaluator->expects($this->once()) | |
->method('evaluate') |
package main | |
import ( | |
"fmt" | |
) | |
func main() { | |
var array [5]float64 | |
array[0] = 98 |
<?php | |
class Base_Auth_Adapter_BcryptDbTable extends Zend_Auth_Adapter_DbTable | |
{ | |
/** | |
* @inheritdoc | |
*/ | |
protected function _authenticateCreateSelect() | |
{ | |
$dbSelect = clone $this->getDbSelect(); |
#!/usr/bin/env bash | |
echo 'Enter host you want to ping:'; | |
read PHOST; | |
if [[ "$PHOST" == "" ]]; then | |
exit; | |
fi | |
while true; |
require 'railsless-deploy' | |
load 'path/to/script/deploy' |
#!/bin/bash | |
PROJECTROOT="$( cd "$( dirname "${BASH_SOURCE[0]}" )" && pwd )/" | |
FIXER=php-cs-fixer.phar | |
if [ ! -e ${PROJECTROOT}${FIXER} ]; then | |
echo "PHP-CS-Fixer not available, downloading to ${PROJECTROOT}${FIXER}..." | |
curl -s http://cs.sensiolabs.org/get/$FIXER > ${PROJECTROOT}${FIXER} | |
echo "" | |
fi |
_gaq.push( | |
['_trackEvent', 'Category', 'Action', 'Label'], | |
function() { | |
window.location.href = '/'; | |
} | |
); |