A ruby gem to send xmpp messages with a gtalk account
sudo gem install gtalk
#Gtalk | |
installation: | |
sudo gem install gtalk | |
setup: | |
vim ~/.bashrc | |
export GTALK_ME="me@gmail.com" | |
export GTALK_US="me@gmail.com,him@gmail.com" | |
export GTALK_HEADER="["`hostname`"] " |
vim /etc/apt/sources.list | |
#paste in | |
deb http://files.freeswitch.org/repo/deb/debian/ squeeze main | |
curl http://files.freeswitch.org/repo/deb/debian/freeswitch_archive_g0.pub | apt-key add - | |
apt-get update | |
apt-get install freeswitch freeswitch-lang-en freeswitch-sounds | |
ulimit -c unlimited | |
touch /etc/freeswitch/freeswitch.xml | |
freeswitch |
require "xm/version" | |
require 'xmpp4r' | |
require 'yaml' | |
module Xm | |
include Jabber | |
@@y = YAML.load_file(ENV['HOME']+'/.xm') | |
@@cl = Client.new(JID.new(@@y[:login])) | |
if @@y.has_key? :server | |
@@cl.connect(@@y[:server]) | |
else |
playing with ssml & "uplifting" adhearsion simon game
If you look at the example @ http://www.w3.org/TR/speech-synthesis/#edef_break "Press 1 or wait for the tone" We can assume space separation is the way to do this. However this doesn't requires us to use ssml so I add in http://www.w3.org/TR/speech-synthesis/#edef_prosody
[2013-04-17 00:54:56] INFO Adhearsion::Initializer: Adhearsion v2.3.1 initialized in "development"! | |
[2013-04-17 00:55:28] INFO Adhearsion::Router: Call bb418258-a6e8-11e2-9923-2dafca7e20c6 selected route "default" (AController) | |
[2013-04-17 00:55:28] DEBUG Adhearsion::Call: bb418258-a6e8-11e2-9923-2dafca7e20c6: Executing command #<Punchblock::Command::Accept headers_hash={}, target_call_id=nil, component_id=nil, target_mixer_name=nil, state_name=:new> | |
[2013-04-17 00:55:28] INFO Adhearsion::Call: bb418258-a6e8-11e2-9923-2dafca7e20c6: Executing controller #<AController call=bb418258-a6e8-11e2-9923-2dafca7e20c6, metadata={}> | |
[2013-04-17 00:55:28] INFO Adhearsion::Call: bb418258-a6e8-11e2-9923-2dafca7e20c6: Hanging up | |
[2013-04-17 00:55:28] DEBUG Adhearsion::Call: bb418258-a6e8-11e2-9923-2dafca7e20c6: Executing command #<Punchblock::Command::Hangup headers_hash={}, target_call_id=nil, component_id=nil, target_mixer_name=nil, state_name=:new> | |
[2013-04-17 00:55:28] DEBUG Adhearsion::Call: bb418258-a6e8-11e2-9923- |
Two awsome things were released yesterday :
Compare this to the pricing of : dropbox pro
# docker version
Client version: 0.6.4
Go version (client): go1.1.2
Git commit (client): 2f74b1c
Server version: 0.6.4
Git commit (server): 2f74b1c
Go version (server): go1.1.2
Last stable version: 0.6.5, please update docker