This file contains hidden or 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
| [ | |
| { | |
| "action": "conversation", | |
| "name": "audio_delay_2", | |
| "startOnEnter": true, | |
| "record": true | |
| } | |
| ] |
This file contains hidden or 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
| <nop> | |
| <action> | |
| <exec play_pcap_audio="rtp_opus.pcap"/> | |
| </action> | |
| </nop> |
This file contains hidden or 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 | |
| USERNAME="" | |
| REALM="" | |
| PASSWORD="" | |
| METHOD="REGISTER" | |
| DIGEST_URI="" | |
| NONCE="" | |
| EXPECTED="" |
This file contains hidden or 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
| fixtures: | |
| repositories: | |
| symlinks: | |
| "mymodule": "#{source_dir}" | |
| "stdlib": "/etc/puppet/modules/stdlib" |
This file contains hidden or 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 'rubygems' | |
| require 'puppetlabs_spec_helper/rake_tasks' | |
| require 'puppet-lint/tasks/puppet-lint' | |
| PuppetLint.configuration.send('disable_80chars') | |
| PuppetLint.configuration.ignore_paths = ["spec/**/*.pp", "pkg/**/*.pp"] | |
| desc "Run all RSpec code examples" | |
| RSpec::Core::RakeTask.new(:rspec) do |t| | |
| t.rspec_opts = File.read("spec/spec.opts").chomp || "" | |
| end |
This file contains hidden or 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
| LASTCOMMIT=$(git rev-parse --short HEAD) | |
| CONFVERSION=$LASTCOMMIT | |
| TAG=$(git show-ref --tags -d | grep ^${LASTCOMMIT} | sed -e 's,.* refs/tags/,,' -e 's/\^{}//') | |
| if [ "$TAG" != "" ] | |
| then | |
| CONFVERSION=$TAG | |
| fi |
This file contains hidden or 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
| # As root | |
| apt-get update | |
| apt-get upgrade | |
| apt-get autoremove | |
| adduser gvacca | |
| gpasswd -a gvacca sudo | |
| # change ssh port and PermitRootLogin (to no) |
This file contains hidden or 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
| var ws_cfg = { | |
| ssl: true, | |
| port: 8080, | |
| ssl_key: '/path/to/ssl.key', | |
| ssl_cert: '/path/to/ssl.crt' | |
| }; | |
| var processRequest = function(req, res) { | |
| console.log("Request received.") | |
| }; |
This file contains hidden or 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
| (function(){ | |
| "use strict"; | |
| var fs = require('fs'); | |
| // you'll probably load configuration from config | |
| var cfg = { | |
| ssl: true, | |
| port: 8080, |
This file contains hidden or 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
| gvacca@my_vm:/home/gvacca/docker/nodejs_ws$ docker build -t gvacca/nodejs_ws . | |
| Sending build context to Docker daemon 3.584 kB | |
| Sending build context to Docker daemon | |
| Step 0 : FROM ubuntu:14.04 | |
| ---> c4ff7513909d | |
| Step 1 : MAINTAINER Giacomo Vacca "giacomo.vacca@gmail.com" | |
| ---> Using cache | |
| ---> 3f2b9c40e974 | |
| Step 2 : ENV REFRESHED_AT 2015-01-19 | |
| ---> Using cache |