Keybase proof
I hereby claim:
- I am mpdude on github.
- I am mpdude (https://keybase.io/mpdude) on keybase.
- I have a public key ASAdscxl5DfSh-Nrq8J95UjzAg6e7bIgoSGKTdOzeB_8VAo
To claim this, I am signing this object:
I hereby claim:
To claim this, I am signing this object:
In most of my projects I need to run a few steps after I checkout the code from version control and before I can actually use (or work on) it. Examples include
composer
, npm
, yarn
, ... to fetch dependenciesgrunt
, gulp
or similar front-end build pipelines# .github/workflows/my-workflow.yml | |
# ... other config here | |
jobs: | |
build: | |
runs-on: ubuntu-18.04 | |
steps: | |
- uses: actions/checkout@v1 | |
- name: Setup SSH Keys and known_hosts | |
env: | |
SSH_AUTH_SOCK: /tmp/ssh_agent.sock |
parameters: | |
env(SECRETS_FILE): .secrets.php | |
services: | |
# default configuration for services in *this* file | |
_defaults: | |
autowire: true # Automatically injects dependencies in your services. | |
autoconfigure: true # Automatically registers your services as commands, event subscribers, etc. | |
bind: | |
$someSecret: '%env(key:KEY3:require:SECRETS_FILE)%' |
<code_scheme name="Project" version="173"> | |
<option name="RIGHT_MARGIN" value="150" /> | |
<PHPCodeStyleSettings> | |
<option name="ALIGN_KEY_VALUE_PAIRS" value="true" /> | |
<option name="ALIGN_PHPDOC_PARAM_NAMES" value="true" /> | |
<option name="ALIGN_PHPDOC_COMMENTS" value="true" /> | |
<option name="COMMA_AFTER_LAST_ARRAY_ELEMENT" value="true" /> | |
<option name="PHPDOC_BLANK_LINES_AROUND_PARAMETERS" value="true" /> | |
<option name="LOWER_CASE_BOOLEAN_CONST" value="true" /> | |
<option name="LOWER_CASE_NULL_CONST" value="true" /> |
diff --git a/lib/Doctrine/DBAL/Driver/Mysqli/MysqliStatement.php b/lib/Doctrine/DBAL/Driver/Mysqli/MysqliStatement.php | |
index 571f16232..bf823e56d 100644 | |
--- a/lib/Doctrine/DBAL/Driver/Mysqli/MysqliStatement.php | |
+++ b/lib/Doctrine/DBAL/Driver/Mysqli/MysqliStatement.php | |
@@ -87,10 +87,10 @@ class MysqliStatement implements \IteratorAggregate, Statement | |
protected $_values = []; | |
/** | |
- * Contains values from bindValue() that need to be sent | |
+ * Contains streams passed to bindValue() that need to be sent |
<?xml version="1.0" encoding="UTF-8"?> | |
<project version="4"> | |
<component name="PublishConfigData" serverName="wf-development-vm"> | |
<serverData> | |
<paths name="wf-development-vm"> | |
<serverdata> | |
<mappings> | |
<mapping deploy="/var/www" local="$PROJECT_DIR$/../" web="/" /> | |
</mappings> | |
</serverdata> |
#!/bin/bash -e | |
pushd . > /dev/null | |
INTERPRETER=/usr/bin/php | |
while [ "`pwd`" != "/" ]; do | |
if [ -x ./bin/php ]; then | |
INTERPRETER=`pwd`/bin/php | |
break | |
fi | |
cd .. | |
done |
#!/bin/bash | |
### BEGIN INIT INFO | |
# Provides: srsd | |
# Required-Start: $networking $local_fs $remote_fs $syslog | |
# Required-Stop: $networking $local_fs $remote_fs $syslog | |
# Should-Start: | |
# Default-Start: 2 3 4 5 | |
# Default-Stop: 0 1 6 | |
# Short-Description: SRS daemon |
#!/bin/bash | |
# Copyright 2013 Percona LLC and/or its affiliates | |
set -e | |
if [ -z "$3" ]; then | |
echo "rename_db <server> <database> <new_database>" | |
exit 1 | |
fi | |
db_exists=`mysql -h $1 -e "show databases like '$3'" -sss` | |
if [ -n "$db_exists" ]; then | |
echo "ERROR: New database already exists $3" |