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
<!DOCTYPE html> | |
<html lang="en"> | |
<head> | |
<meta charset="utf-8"> | |
<title>Bootstrap, from Twitter</title> | |
<meta name="viewport" content="width=device-width, initial-scale=1.0"> | |
<meta name="description" content=""> | |
<meta name="author" content=""> | |
<!-- Le styles --> |
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
require 'prawn' | |
require "prawn/measurement_extensions" | |
f = File.open('repeater.pdf', 'w') | |
Prawn::Document.generate f, page_size: "A4", margin: [2.cm, 1.cm, 2.6.cm, 1.cm] do |pdf| | |
pdf.text "Some title" | |
pdf.text "x\n" * 40 | |
pdf.start_new_page |
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
class OfficeIVR < Adhearsion::CallController | |
before_call do | |
call.on_end do | |
@cdr.dialed_out_at = DateTime.now | |
end | |
end | |
def run | |
volunteer = metadata[:volunteer] | |
@cdr = metadata[:cdr] |
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
class OfficeIVR2 < Adhearsion::CallController | |
before_call do | |
call.on_end do | |
logger.info 'ON CALL END CALLBACK' | |
end | |
end | |
def run | |
dial_status = dial 'user/userb' | |
success = dial_status.result == :answer |
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
15:04:22 web.1 | {:TOTAL=>308775, :FREE=>58808, :T_OBJECT=>13816, :T_CLASS=>4965, :T_MODULE=>1035, :T_FLOAT=>9, :T_STRING=>129255, :T_REGEXP=>1876, :T_ARRAY=>49777, :T_HASH=>2356, :T_STRUCT=>367, :T_BIGNUM=>5, :T_FILE=>9, :T_DATA=>25618, :T_MATCH=>6, :T_COMPLEX=>1, :T_RATIONAL=>59, :T_NODE=>19596, :T_ICLASS=>1217} | |
15:04:22 web.1 | [9585] - Worker 9602 booted, phase: 0 | |
15:04:22 web.1 | {:TOTAL=>308777, :FREE=>58811, :T_OBJECT=>13815, :T_CLASS=>4965, :T_MODULE=>1035, :T_FLOAT=>9, :T_STRING=>129255, :T_REGEXP=>1876, :T_ARRAY=>49777, :T_HASH=>2356, :T_STRUCT=>367, :T_BIGNUM=>5, :T_FILE=>9, :T_DATA=>25618, :T_MATCH=>6, :T_COMPLEX=>1, :T_RATIONAL=>59, :T_NODE=>19596, :T_ICLASS=>1217} | |
15:04:22 web.1 | [9585] - Worker 9599 booted, phase: 0 | |
15:04:22 web.1 | {:TOTAL=>308770, :FREE=>58806, :T_OBJECT=>13814, :T_CLASS=>4965, :T_MODULE=>1035, :T_FLOAT=>9, :T_STRING=>129254, :T_REGEXP=>1876, :T_ARRAY=>49777, :T_HASH=>2356, :T_STRUCT=>367, :T_BIGNUM=>5, :T_FILE=>9, :T_DATA=>25618, :T_MATCH=>6, :T_COMPLEX=>1, : |
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
[2014-01-19 09:55:13,268: WARNING/Worker-7] [2014-01-19T09:55:00-07:00] INFO: Forking chef instance to converge... | |
[2014-01-19T09:55:00-07:00] INFO: *** Chef 11.6.2 *** | |
[2014-01-19T09:55:04-07:00] INFO: Run List is [recipe[deis], recipe[deis::runtime], recipe[deis::proxy]] | |
[2014-01-19T09:55:04-07:00] INFO: Run List expands to [deis, deis::runtime, deis::proxy] | |
[2014-01-19T09:55:04-07:00] INFO: Starting Chef Run for devvy-runtime-2 | |
[2014-01-19T09:55:04-07:00] INFO: Running start handlers | |
[2014-01-19T09:55:04-07:00] INFO: Start handlers complete. | |
[2014-01-19T09:55:07-07:00] INFO: Loading cookbooks [apt, deis, rsyslog, sudo] | |
================================================================================ |
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
[{ | |
"ID": "233fe8ada33b5e27fb0d089b044807b7e6766beae69e38c2e81d9eb5d9cf6d63", | |
"Created": "2014-01-31T19:54:02.599223453Z", | |
"Path": "/runner/init", | |
"Args": [ | |
"start", | |
"web" | |
], | |
"Config": { | |
"Hostname": "233fe8ada33b", |
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
Mixlib::ShellOut::ShellCommandFailed | |
------------------------------------ | |
Expected process to exit with [0], but received '1' | |
---- Begin output of docker run -d=true -e ETCD=192.168.61.100:4001 -e HOST=192.168.61.100 -e PORT=8000 -name deis-server -p 8000:8000 -P=false -rm=false -v /var/log/deis:/app/deis/logs -v /vagrant:/app/deis -v /vagrant/images/server/bin:/app/bin -v /vagrant/images/server/conf.d:/app/conf.d -v /vagrant/images/server/templates:/app/templates deis/server ---- | |
STDOUT: ffc6ebb4fc6386a0d1e8514611f15ae7f92225c42197c45f94d0c3493a3bacab | |
STDERR: 2014/02/04 00:18:51 Error: start: Cannot start container ffc6ebb4fc6386a0d1e8514611f15ae7f92225c42197c45f94d0c3493a3bacab: no such file or directory | |
---- End output of docker run -d=true -e ETCD=192.168.61.100:4001 -e HOST=192.168.61.100 -e PORT=8000 -name deis-server -p 8000:8000 -P=false -rm=false -v /var/log/deis:/app/deis/logs -v /vagrant:/app/deis -v /vagrant/images/server/bin:/app/bin -v /vagrant/images/server/conf.d:/app/conf.d -v /vagrant/ima |
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
[nathan@omega deis-dev]$ vagrant provision | |
[default] Running provisioner: shell... | |
[default] Running: inline script | |
stdin: is not a tty | |
Reading package lists... | |
Building dependency tree... | |
Reading state information... | |
curl is already the newest version. | |
0 upgraded, 0 newly installed, 0 to remove and 5 not upgraded. | |
Successfully installed etcd-0.0.6 |
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
vagrant@deis-controller:~$ sudo docker inspect deis-database | |
[{ | |
"ID": "c4e35ec14cb8a00be004e9606e5e64327a2b1212f3d6be25ffb506ec4d26ea1a", | |
"Created": "2014-02-04T22:15:13.680289035Z", | |
"Path": "/app/bin/boot", | |
"Args": [], | |
"Config": { | |
"Hostname": "c4e35ec14cb8", | |
"Domainname": "", | |
"User": "", |
OlderNewer