Skip to content

Instantly share code, notes, and snippets.

View jmoren's full-sized avatar

Jorge jmoren

  • Buenos Aires - Argentina
View GitHub Profile

Keybase proof

I hereby claim:

  • I am jmoren on github.
  • I am jmoren (https://keybase.io/jmoren) on keybase.
  • I have a public key ASBeg_3v-1rqp6huxQb55-JFdZrBYmFOq6uQ7fqytprnMAo

To claim this, I am signing this object:

@jmoren
jmoren / final.cpp
Last active February 16, 2016 23:49
while(!feof(f1)){
Enemigo e;
fscanf(f1, "%i, %i, %f, %i", &e.posx, &e.posy, &e.fuerza, &e.radio );
if(feof(f1)){ break;}
enemigos.push_back(e);
}
while(!feof(f2)){
Personaje p;
p.ciclos = 0;
@jmoren
jmoren / vimrc
Created December 26, 2013 15:13
"avoiding annoying CSApprox warning message
let g:CSApprox_verbose_level = 0
"necessary on some Linux distros for pathogen to properly load bundles
filetype on
filetype off
"load pathogen managed plugins
call pathogen#infect()
Matriz clave:
| 39 | 17 | 38 |
| 40 | 34 | 10 |
| 18 | 36 | 33 |
El determinante modulo 41 es = 25
Inversa:
| 26 | 3 | -6 |
| -5 | 28 | 1 |
| 36 | -21 | 37 |
ivr_test:
adapter: mysql
database:
username: root
password:
host: db.smrtouch.com
ivr_development:
adapter: jdbc
uri: jdbc:mysql://db.smrtouch.com/ivr_dev?user=root&password=
@jmoren
jmoren / gist:6936296
Created October 11, 2013 15:07
playing sounds
[2013-10-11 12:08:06] ERROR Adhearsion::Call: e97770b8-3286-11e3-9ff3-b3b1568482fd@192.168.33.10: <Adhearsion::CallController::Output::PlaybackError> Output failed due to #<Adhearsion::Error: : #<Punchblock::Component::Output target_call_id="e97770b8-3286-11e3-9ff3-b3b1568482fd", target_mixer_name=nil, component_id="output-4", domain="192.168.33.10", transport=nil, voice=nil, interrupt_on=nil, start_offset=nil, start_paused=false, repeat_interval=nil, repeat_times=nil, max_time=nil, renderer="native", render_documents=[#<Punchblock::Component::Output::Document target_call_id=nil, target_mixer_name=nil, component_id=nil, domain=nil, transport=nil, url=nil, content_type="application/ssml+xml", value=<speak version="1.0" xml:lang="en-US" xmlns="http://www.w3.org/2001/10/synthesis"><audio src="http://(ext=wav,nohead=true)s3.amazonaws.com/ivr_dev/audio_13.wav?AWSAccessKeyId=AKIAJ2OZRV2LWG5L5DBQ&amp;Expires=1381504386&amp;Signature=jLgRLGIAwV3xDeWPBYinI6lO1VM%3D"/></speak>>]>>
/home/vagrant/.rbenv/versions/
source 'https://rubygems.org'
#gem "punchblock", :path => "/opt/punchblock"
#gem "adhearsion", :path => "/opt/adhearsion"
#gem "punchblock", :git => "git://github.com/krakatoa/punchblock.git", :branch => "1.9.4_fixes_157"
#gem "adhearsion", "~> 2.3.5"
gem "punchblock", "~> 2.0.0"
gem "adhearsion", "~> 2.4.0"
GIT
remote: git@github.com:krakatoa/ahn_riemann.git
revision: 8a40cac214add2715ca065322add8b2b7b2c5f07
specs:
ahn_riemann (0.0.1)
activesupport (>= 3.0.10)
adhearsion (~> 2.3)
celluloid (~> 0.14)
riemann-client (>= 0.2.1)
timers (>= 1.1.0)
└─ (~/facultad/datos-servetto/tps/tp_1):(archivo_bloques↑9f8ee) > src/test/./test_main
holacomoestas
l

Tamanio del Bloque: 512
Espacio libre inicial498
Espacio libre luego de la 1ra insercion: 479
Cant. de Registros: 1
Espacio libre luego de la 2da insercion: 474
Cant. de Registros: 2
AHN> [2013-10-04 11:48:05] INFO RubyFS::Stream: Client socket closed due to (EOFError) End of file reached!
[2013-10-04 11:48:05] INFO Adhearsion::Process: Transitioning from running to booting with 0 active calls due to reset event.
[2013-10-04 11:48:05] FATAL Adhearsion::PunchblockPlugin::Initializer: Connection lost. Connection retry attempts exceeded.
[2013-10-04 11:48:05] INFO Adhearsion::Process: Transitioning from booting to stopped with 0 active calls due to stop event.
WARN ::: Shuting down ahn
shuting down in 0...
shuting down in 1...
shuting down in 2...
shuting down in 3...
shuting down in 4...