$ 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 | |
set -o errtrace | |
set -o errexit | |
facter_version=$1 | |
puppet_version=$2 | |
target_volume=$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
```
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.
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
OlderNewer