mallu

Activity Graph

Page 1 of 4 | Next »

2016-04-29

[18:50:47] mallu: has joined #ruby
[18:51:22] mallu: I'm looking for a way to covert pkcs12 to pem file. Has anyone done anything like that?
[18:53:26] mallu: ironcamel: hoping there is a better way to in Ruby
[18:53:35] mallu: a class or something
[19:19:34] mallu: Ping timeout: 250 seconds

2016-03-24

[01:26:09] mallu: has joined #ruby
[02:41:39] mallu: Quit: http://www.kiwiirc.com/ - A hand crafted IRC client

2016-03-23

[03:02:33] mallu: has joined #ruby
[05:18:38] mallu: Quit: http://www.kiwiirc.com/ - A hand crafted IRC client
[14:28:16] mallu: has joined #ruby
[23:04:08] mallu: Quit: http://www.kiwiirc.com/ - A hand crafted IRC client

2016-03-22

[00:18:40] mallu: Quit: http://www.kiwiirc.com/ - A hand crafted IRC client
[11:33:02] mallu: has joined #ruby
[13:59:07] mallu: Quit: http://www.kiwiirc.com/ - A hand crafted IRC client
[14:31:22] mallu: has joined #ruby
[16:02:25] mallu: Quit: http://www.kiwiirc.com/ - A hand crafted IRC client
[16:45:57] mallu: has joined #ruby
[21:53:47] mallu: Quit: http://www.kiwiirc.com/ - A hand crafted IRC client

2016-03-21

[14:06:41] mallu: has joined #ruby

2016-03-20

[00:22:35] mallu: has joined #ruby
[00:24:12] mallu: Client Quit
[00:31:23] mallu: has joined #ruby
[00:32:36] mallu: Client Quit
[00:49:36] mallu: has joined #ruby
[00:50:36] mallu: Client Quit
[00:50:45] mallu: has joined #ruby
[00:52:59] mallu: Client Quit
[01:09:53] mallu: has joined #ruby
[01:11:09] mallu: Client Quit
[01:12:34] mallu: has joined #ruby
[01:14:17] mallu: Client Quit
[05:12:10] mallu: has joined #ruby
[06:53:20] mallu: Quit: http://www.kiwiirc.com/ - A hand crafted IRC client
[19:53:03] mallu: has joined #ruby
[20:57:27] mallu: Can someone please tell me the correct regex for replace this AMI id in this line "ImageId" : "ami-1ec6257e"
[21:00:01] mallu: apeiros: I want to replace that to "ImageId" : "aim-new"
[21:00:59] mallu: apeiros: I have json file and one of the line is "ImageId" : "ami-1ec6257e" I want to search for that line and change it to "ImageId" : "ami-something"
[21:02:16] mallu: apeiros: ok thanks
[21:08:06] mallu: apeiros: I am getting this "ImageId" : "aim-new. Missing " after new
[21:10:17] mallu: apeiros: can you please explain this to me [^"]*"
[21:12:33] mallu: apeiros: ok thanks
[21:15:54] mallu: apeiros: this will add trailing "? (/ami-[^"]*"/, "ami-new\"")
[21:59:24] mallu: Quit: http://www.kiwiirc.com/ - A hand crafted IRC client

2016-03-19

[01:33:11] mallu: has joined #ruby
[01:34:15] mallu: Client Quit
[01:34:32] mallu: has joined #ruby
[03:22:52] mallu: Quit: http://www.kiwiirc.com/ - A hand crafted IRC client
[21:00:51] mallu: has joined #ruby
[22:49:30] mallu: can you please tell me why I am getting out 'true" instead of the parameter I passed in? https://gist.github.com/anonymous/59934caf63b090b82e55
[22:57:13] mallu: adaedra: that didn't work
[22:58:15] mallu: ./aws_start_instance.rb -a ami-c11d1 -n 1
[22:59:04] mallu: adaedra: -n is returning 'true'
[22:59:20] mallu: so both -a and -n returning 'true'
[23:01:04] mallu: adaedra: why do I have to do -a AMI?
[23:01:58] mallu: oh I see.. thank you
[23:45:26] mallu: Quit: http://www.kiwiirc.com/ - A hand crafted IRC client

2016-03-18

[14:47:34] mallu: has joined #ruby
[22:45:48] mallu: Quit: http://www.kiwiirc.com/ - A hand crafted IRC client

2016-03-17

[14:32:21] mallu: has joined #ruby
[17:00:17] mallu: Quit: http://www.kiwiirc.com/ - A hand crafted IRC client

2016-03-16

[01:52:27] mallu: has joined #ruby
[02:29:41] mallu: Quit: http://www.kiwiirc.com/ - A hand crafted IRC client
[14:39:23] mallu: has joined #ruby
[16:07:21] mallu: Quit: http://www.kiwiirc.com/ - A hand crafted IRC client
[16:14:19] mallu: has joined #ruby
[17:01:23] mallu: Quit: http://www.kiwiirc.com/ - A hand crafted IRC client
[17:01:39] mallu: has joined #ruby
[18:03:00] mallu: Quit: http://www.kiwiirc.com/ - A hand crafted IRC client
[18:14:35] mallu: has joined #ruby
[23:36:49] mallu: Quit: http://www.kiwiirc.com/ - A hand crafted IRC client

2016-03-15

[03:24:24] mallu: has joined #ruby
[04:58:44] mallu: Quit: http://www.kiwiirc.com/ - A hand crafted IRC client
[15:16:17] mallu: has joined #ruby
[20:28:53] mallu: Quit: http://www.kiwiirc.com/ - A hand crafted IRC client
[20:36:07] mallu: has joined #ruby
[21:07:54] mallu: Quit: http://www.kiwiirc.com/ - A hand crafted IRC client
[22:07:11] mallu: has joined #ruby
[23:25:01] mallu: Quit: http://www.kiwiirc.com/ - A hand crafted IRC client

2016-03-14

[03:21:34] mallu: has joined #ruby
[05:41:58] mallu: Quit: http://www.kiwiirc.com/ - A hand crafted IRC client
[14:26:14] mallu: has joined #ruby
[14:55:04] mallu: Ping timeout: 264 seconds
[15:29:54] mallu: has joined #ruby
[20:26:13] mallu: Quit: http://www.kiwiirc.com/ - A hand crafted IRC client
[20:43:57] mallu: has joined #ruby
[23:06:29] mallu: Quit: http://www.kiwiirc.com/ - A hand crafted IRC client

2016-03-13

[01:28:08] mallu: Quit: http://www.kiwiirc.com/ - A hand crafted IRC client
[01:28:32] mallu: has joined #ruby
[03:16:33] mallu: Quit: http://www.kiwiirc.com/ - A hand crafted IRC client
[03:31:45] mallu: has joined #ruby
[04:23:24] mallu: has left #ruby: ()
[04:23:34] mallu: has joined #ruby
[04:25:07] mallu: count = ARGV[0]
[04:25:08] mallu: I am getting " bad value for range (ArgumentError)"
[04:25:08] mallu: count_array = [*1..count]
[04:25:52] mallu: but in irb irb(main):001:0> count = 10
[04:25:53] mallu: => [1, 2, 3, 4, 5, 6, 7, 8, 9, 10]
[04:25:53] mallu: irb(main):002:0> array_new = [*1..count]
[04:26:05] mallu: so what am I doing wrong?
[07:16:07] mallu: can someone please help me with this? https://gist.github.com/anonymous/f42470a7caf379f8c480
[07:24:26] mallu: can someone please help me with this? https://gist.github.com/anonymous/f42470a7caf379f8c480
[07:25:48] mallu: mozzarella: thank you
[07:26:18] mallu: Ox0dea: thanks but that gives not just environment value
[07:28:27] mallu: Ox0dea: yes I do and thank you very much
[07:43:43] mallu: mozzarella: Ox0dea is there a better way to do this? https://gist.github.com/anonymous/6c8c32fbec082b99ddf6
[07:44:11] mallu: some of them doesn't have Environments
[07:44:36] mallu: im in 2.1
[07:47:29] mallu: Ox0dea: the unless condition I have works too though.. how is this better than unless? Not arguing .. just trying to understand
[07:53:11] mallu: Ox0dea: .. was 'thinking' but I think I got it
[07:53:29] mallu: thank you both Ox0dea toretore
[08:13:24] mallu: Quit: http://www.kiwiirc.com/ - A hand crafted IRC client
[19:30:01] mallu: has joined #ruby
[19:45:17] mallu: can someone please tell me why count is not incrementing? https://gist.github.com/anonymous/9a751e030975f88c8fce
[19:47:29] mallu: never mind... +=
[20:13:13] mallu: I'm new to ruby/programming trying to create multiple methods. If I remove methods this scripts work. I'm getting "aws_snapshot.rb:27:in `snapshot_description': undefined local variable or method `resp' for main:Object (NameError)"
[20:13:24] mallu: https://gist.github.com/anonymous/63cc4b73d4e8c35a2ff6
[20:14:04] mallu: how do I pass resp variable from one method to another?
[20:50:40] mallu: so I have 'counting' working but snapshot_list is not working. How do I return n.xxxx to snapshot_list? https://gist.github.com/anonymous/6af3eb7bf72798d15627
[20:57:21] mallu: hanmac: so in snapshot_description .. I call snapshot_list(n) ?
[21:00:54] mallu: hanmac: sorry to bother.. something like this? https://gist.github.com/anonymous/01c382eb7c17f777feee
[21:09:11] mallu: snap.snapshot_list how do I pass arguments for snapshot_list?
[21:09:11] mallu: hanmac: thank you but when I call snap = Snapshot.new
[21:19:26] mallu: from aws_snapshot.rb:67:in `<main>"
[21:19:26] mallu: hanmac: this is the error "`snapshot_list': wrong number of arguments (0 for 1) (ArgumentError)
[21:25:52] mallu: can someone please tell me how I can fix this error `snapshot_list': undefined local variable or method `n' for #<Snapshot:0x007ffeebb5cc68> (NameError) https://gist.github.com/anonymous/a02ff5677b7f5aeb76c5
[21:31:21] mallu: adam|: correct.. how do I pass n from snapshot_description to snapshot_list?
[21:31:58] mallu: adam|: I want to be able to list snapshots from snapshot_description method
[21:35:48] mallu: adam|: Can you please tell me how do you make it better? I was hoping not to repeat the code
[21:48:50] mallu: adam|: thank you
[21:56:56] mallu: Quit: http://www.kiwiirc.com/ - A hand crafted IRC client

2016-03-12

[00:37:39] mallu: has joined #ruby
[01:35:50] mallu: Quit: http://www.kiwiirc.com/ - A hand crafted IRC client
[23:31:43] mallu: has joined #ruby
[23:31:45] mallu: Client Quit
[23:32:19] mallu: has joined #ruby

2016-03-11

[00:13:29] mallu: Quit: http://www.kiwiirc.com/ - A hand crafted IRC client
[02:59:59] mallu: has joined #ruby
[03:51:09] mallu: Quit: http://www.kiwiirc.com/ - A hand crafted IRC client
[04:14:51] mallu: has joined #ruby
[04:34:52] mallu: Quit: http://www.kiwiirc.com/ - A hand crafted IRC client
[13:59:02] mallu: has joined #ruby
[13:59:05] mallu: Client Quit
[14:45:20] mallu: has joined #ruby
[14:52:04] mallu: Quit: http://www.kiwiirc.com/ - A hand crafted IRC client
[15:40:05] mallu: has joined #ruby
[21:25:00] mallu: Quit: http://www.kiwiirc.com/ - A hand crafted IRC client
[21:39:09] mallu: has joined #ruby
[22:57:24] mallu: Quit: http://www.kiwiirc.com/ - A hand crafted IRC client

2016-03-10

[00:01:39] mallu: Quit: http://www.kiwiirc.com/ - A hand crafted IRC client
[05:02:08] mallu: has joined #ruby
[05:02:12] mallu: Client Quit
[05:02:49] mallu: has joined #ruby
[06:20:14] mallu: Quit: http://www.kiwiirc.com/ - A hand crafted IRC client
[15:23:55] mallu: has joined #ruby

2016-03-09

[03:58:20] mallu: has joined #ruby
[03:58:34] mallu: Client Quit
[03:58:47] mallu: has joined #ruby
[04:12:20] mallu: Quit: http://www.kiwiirc.com/ - A hand crafted IRC client
[04:12:50] mallu: has joined #ruby
[04:18:02] mallu: Quit: http://www.kiwiirc.com/ - A hand crafted IRC client
[15:17:55] mallu: has joined #ruby

2016-03-08

[00:10:11] mallu: Quit: http://www.kiwiirc.com/ - A hand crafted IRC client
[04:23:29] mallu: has joined #ruby
[05:57:22] mallu: Quit: http://www.kiwiirc.com/ - A hand crafted IRC client
[15:36:02] mallu: has joined #ruby
[19:19:18] mallu: Quit: http://www.kiwiirc.com/ - A hand crafted IRC client
[19:41:04] mallu: has joined #ruby
[19:41:40] mallu: Client Quit

2016-03-07

[04:10:48] mallu: has joined #ruby
[04:10:51] mallu: Client Quit
[04:11:21] mallu: has joined #ruby
[05:26:05] mallu: Quit: http://www.kiwiirc.com/ - A hand crafted IRC client
[15:26:42] mallu: has joined #ruby

2016-03-05

[00:51:52] mallu: Quit: http://www.kiwiirc.com/ - A hand crafted IRC client

2016-03-04

[01:18:28] mallu: Quit: http://www.kiwiirc.com/ - A hand crafted IRC client
[03:22:31] mallu: Client Quit
[03:22:31] mallu: has joined #ruby
[03:22:47] mallu: has joined #ruby
[03:47:55] mallu: Quit: http://www.kiwiirc.com/ - A hand crafted IRC client
[04:08:26] mallu: has joined #ruby
[06:55:13] mallu: Quit: http://www.kiwiirc.com/ - A hand crafted IRC client
[15:28:49] mallu: has joined #ruby

2016-03-03

[00:11:54] mallu: Quit: http://www.kiwiirc.com/ - A hand crafted IRC client
[15:06:23] mallu: has joined #ruby

2016-03-02

[23:39:47] mallu: has joined #ruby
[23:44:58] mallu: Can someone please help me ? http://pastebin.com/fc6tau9D
[23:56:10] mallu: Ox0dea: Can you please elaborate on zip?
[23:57:52] mallu: Ox0dea: I am trying to tag unique ID for each elements in an array

2015-12-30

[16:24:18] mallu: Quit: Page closed

2015-12-29

[18:43:13] mallu: has joined #ruby
[18:43:43] mallu: can someone please tell me how to convert date 8/11/2015 to milliseconds?
[18:44:31] mallu: p DateTime.strptime("08/11/2015" '%Q') ArgumentError: invalid date
[18:45:21] mallu: shevy: ok let me try that
[18:47:59] mallu: Ox0dea: yes
[18:51:54] mallu: Ox0dea: thank you
[19:01:52] mallu: Ox0dea: thanks
[21:03:36] mallu: I'm using Net::HTTP::Delete.new(location) to delete some file. How can I get the response to see if it was sucessful?
[21:04:04] mallu: resp = Net::HTTP::Delete.new(location) puts resp gives me #<Net::HTTP::Delete:0x007f868500d1c0>
[21:11:04] mallu: domgetter: resp.body is empty
[21:15:31] mallu: anyone knows how I can get the response for Net::HTTP::Delete.new(location)
[21:22:01] mallu: isn't this sending the request to the server? Net::HTTP::Delete.new(location)
[21:22:18] mallu: location = https://....
[21:23:49] mallu: domgetter: ok.. that make sense.. thanks
[21:24:48] mallu: Ox0dea: ok thanls
[21:51:56] mallu: can you please tell me why I am getting this error? https://gist.github.com/anonymous/de831a6565c9047a5440
[21:56:21] mallu: i just want to delete this file https://artifactory.test.com/artifactory/api/storage/libs-snapshot-local/com/3.5.2-SNAPSHOT/av-shared-3.5.2-20140811.181542-9.pom
[21:57:50] mallu: I thought this would delete it https://gist.github.com/anonymous/de831a6565c9047a5440#file-art-rb-L8-L12
[22:00:28] mallu: aegis3121: hmm.. ok

2015-12-16

[04:49:28] mallu: has joined #ruby
[04:50:17] mallu: what is that method for repeating whatever you pass n times?
[04:50:44] mallu: lets say I want to repeat 'hi' 4 times
[04:50:55] mallu: hi.times(4)?
[04:51:58] mallu: jhass: thanks
[04:53:16] mallu: Client Quit
[04:56:15] mallu: has joined #ruby
[05:05:30] mallu: Quit: http://www.kiwiirc.com/ - A hand crafted IRC client

2015-12-09

[04:52:31] mallu: has joined #ruby
[05:23:25] mallu: Ping timeout: 252 seconds

2015-12-07

[15:11:44] mallu: has joined #ruby
[20:59:58] mallu: Quit: http://www.kiwiirc.com/ - A hand crafted IRC client

2015-12-06

[20:59:14] mallu: has joined #ruby
[21:39:24] mallu: Quit: http://www.kiwiirc.com/ - A hand crafted IRC client

2015-12-05

[01:31:28] mallu: Quit: http://www.kiwiirc.com/ - A hand crafted IRC client

2015-12-04

[21:41:36] mallu: has joined #ruby
[22:19:44] mallu: join #artifactory
[22:20:39] mallu: shevy: sure

2015-12-02

[05:24:53] mallu: or mem_alert
[05:30:15] mallu: baweaver: I'm using ruby snap.. here is the whole script https://gist.github.com/anonymous/009aae8bf7452e6e6c43
[05:32:29] mallu: I'm going to comment out rescue and see if it works
[05:35:17] mallu: getting some error .. which is much better.. "Check failed to run: undefined local variable or method `totalMemory' for #<CheckSNMP:0x0000000282b408>, ["./check-snmp-mem.rb:58:in `used_memory'", "./check-snmp-mem.rb:76:in `run'"
[05:44:57] mallu: baweaver: ok..
[05:46:39] mallu: baweaver: so this is what I have so far... https://gist.github.com/anonymous/05b9399ae761bf51b330
[14:46:33] mallu: Quit: http://www.kiwiirc.com/ - A hand crafted IRC client
[15:32:38] mallu: has joined #ruby
[15:36:31] mallu: *.net *.split
[15:41:40] mallu: has joined #ruby
[15:52:49] mallu: *.net *.split
[16:47:55] mallu: has joined #ruby
[20:40:35] mallu: Quit: http://www.kiwiirc.com/ - A hand crafted IRC client