$ dm -D create --driver digitalocean --digitalocean-access-token $DO_TOKEN --digitalocean-region "sgp1" staging
Creating SSH key...
Creating Digital Ocean droplet...
Created droplet ID 6514054, IP address 128.199.153.11
Error getting machine state: Get https://api.digitalocean.com/v2/droplets/6514054: net/http: TLS handshake timeout
Error getting machine state: Get https://api.digitalocean.com/v2/droplets/6514054: net/http: TLS handshake timeout
Error getting machine state: Get https://api.digitalocean.com/v2/droplets/6514054: net/http: TLS handshake timeout
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
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 | |
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
#!/usr/bin/env bash | |
start_date=$(date "+%Y-%m-%d%:%H:%M:%S") | |
echo "hello world" | |
echo $start_date |
- The upstream project has a
develop
branch from which feature branch are created. - Feature branches can be long lived
- I have not commit right on any branch on the upstream project
- I forked the upstream form Github web interface
- I have clone my fork on my local development envirnment
- To submit my changes I create a Pull Request for the upstream
develop
branch.
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
```
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 | |
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" |
$ pwd
/Users/rija/Documents/projects/vuejs-karma-jasmine-web
$ tree .
.
├── src
│ ├── css
│ ├── html
│ │ └── index.html
│ └── js
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");
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
#!/usr/bin/env bash | |
set -o errtrace | |
set -o errexit | |
facter_version=$1 | |
puppet_version=$2 | |
target_volume=$3 |
OlderNewer