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:
| # Delete all branches already merged to current branch | |
| git checkout master; git branch --merged | grep -v "\*" | xargs -n 1 git branch -d | |
| # Sync local database of remote branchces | |
| git fetch -p |
| -- Update one label in custom enum type | |
| UPDATE pg_enum SET enumlabel = 'new_value' | |
| WHERE enumlabel = 'old_value' AND enumtypid = ( | |
| SELECT oid FROM pg_type WHERE typname = 'enum_type' | |
| ); | |
| -- Add new label in custom type avaliable since PostgreSQL 9.1 | |
| ALTER TYPE enum_type ADD VALUE 'new_value' BEFORE 'old_value'; | |
| ALTER TYPE enum_type ADD VALUE 'new_value' AFTER 'old_value'; |
| _gaq.push( | |
| ['_trackEvent', 'Category', 'Action', 'Label'], | |
| function() { | |
| window.location.href = '/'; | |
| } | |
| ); |
| #!/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 |
| require 'railsless-deploy' | |
| load 'path/to/script/deploy' |
| #!/usr/bin/env bash | |
| echo 'Enter host you want to ping:'; | |
| read PHOST; | |
| if [[ "$PHOST" == "" ]]; then | |
| exit; | |
| fi | |
| while true; |
| <?php | |
| class Base_Auth_Adapter_BcryptDbTable extends Zend_Auth_Adapter_DbTable | |
| { | |
| /** | |
| * @inheritdoc | |
| */ | |
| protected function _authenticateCreateSelect() | |
| { | |
| $dbSelect = clone $this->getDbSelect(); |
| package main | |
| import ( | |
| "fmt" | |
| ) | |
| func main() { | |
| var array [5]float64 | |
| array[0] = 98 |
| <?php | |
| /** | |
| * @dataProvider expressionsProvider | |
| */ | |
| public function testEvaluateReceiveCorrectExpression(Expression $expectedExpression) | |
| { | |
| $evaluator = $this->getMock(Evaluator::class); | |
| $evaluator->expects($this->once()) | |
| ->method('evaluate') |
I hereby claim:
To claim this, I am signing this object: