Source:
The steps for installing mongodb server, the PECL mongodb PHP extension (which is called mongodb
, not the legacy mongo
), xhprof need to be peformed on the docker container runnning php-fpm.
Source:
The steps for installing mongodb server, the PECL mongodb PHP extension (which is called mongodb
, not the legacy mongo
), xhprof need to be peformed on the docker container runnning php-fpm.
#!/usr/bin/env bash | |
set -o errtrace | |
set -o errexit | |
facter_version=$1 | |
puppet_version=$2 | |
target_volume=$3 |
If your Yii2 app is set up with Codeception and its [Yii2][1] module for automated tests, the regular log output of the app will show in the terminal when increasing the verbosity of codecept
(at least two levels: -vv
).
For example, if in a backend controller action MoveAction.php
I add
Yii::error("I am an error");
Yii::warning("I am a warning");
Yii::info("I am an info");
Yii::debug("I am a debug");
Yii::trace("I am a trace");
$ pwd
/Users/rija/Documents/projects/vuejs-karma-jasmine-web
$ tree .
.
├── src
│ ├── css
│ ├── html
│ │ └── index.html
│ └── js
#!/bin/bash | |
destination=".." | |
source_folder="Music" | |
for i in $source_folder/*.mp4; | |
do name=`echo "$i" | cut -d'.' -f1` | |
echo "$name" | |
echo "ffmpeg -i $i -c:a aac -c:b 128k -vn -f mp4 $destination/$name.m4a" |
Fix for the error during vagrant provision where git command failed to connect with github.com
the error message says:
```
error: while accessing https://github.com/yiisoft/yii.git/info/refs
fatal: HTTP request failed
```
develop
branch from which feature branch are created.develop
branch.#!/usr/bin/env bash | |
start_date=$(date "+%Y-%m-%d%:%H:%M:%S") | |
echo "hello world" | |
echo $start_date |
got these errors on Mac OS X Lion and Puppet 2.7.10: | |
/usr/bin/puppet:3:in `require': no such file to load -- puppet/util/command_line (LoadError) | |
from /usr/bin/puppet:3 | |
/usr/sbin/puppetd:3:in `require': no such file to load -- puppet/application/agent (LoadError) | |
from /usr/sbin/puppetd:3 | |