superrorc

Activity Graph

Page 1 of 1

2016-03-24

[15:13:14] superrorc: *.net *.split

2016-03-23

[12:00:42] superrorc: has joined #RubyOnRails
[12:01:37] superrorc: Does Rails can act as a backend for Android or iOS app?
[12:03:25] superrorc: i need not only read data, but send some requests to write in DB
[12:03:35] superrorc: API can provide this?
[12:07:09] superrorc: Thanks a lot!

2016-03-22

[11:23:01] superrorc: Quit: ZNC - http://znc.in

2016-03-10

[09:13:18] superrorc: has joined #RubyOnRails
[09:13:54] superrorc: hi there! does rails have got some interface for mobile aps?

2016-03-03

[10:31:14] superrorc: has joined #ruby
[10:32:15] superrorc: i have a string, how can i print only words thats contain 3 letters ?
[10:33:49] superrorc: new_string = my_string.scan(\3w+\) like this ?

2015-10-22

[01:16:57] superrorc: Quit: ZNC - http://znc.in

2015-10-16

[00:08:49] superrorc: has joined #RubyOnRails
[00:08:59] superrorc: has joined #ruby

2015-10-01

[20:34:51] superrorc: Ping timeout: 240 seconds
[20:36:51] superrorc: has joined #ruby
[20:36:52] superrorc: has joined #RubyOnRails

2015-09-22

[22:06:05] superrorc: Ping timeout: 252 seconds
[22:08:22] superrorc: has joined #RubyOnRails
[22:08:22] superrorc: has joined #ruby

2015-09-18

[05:09:07] superrorc: has joined #RubyOnRails
[05:09:49] superrorc: can i define method in model.rb and than use it in controller.rb?
[05:09:54] superrorc: its bad idea?

2015-09-03

[04:48:34] superrorc: Ping timeout: 256 seconds
[05:38:22] superrorc: has joined #ruby
[05:42:25] superrorc: Max SendQ exceeded
[05:42:59] superrorc: has joined #ruby

2015-08-31

[10:08:50] superrorc: i need to get all files in some dir, what is the best structure so store it ? string ? array?
[10:09:05] superrorc: storing file names
[10:10:02] superrorc: next i will count md5 of this files
[10:10:37] superrorc: ok i got it, ty yorickpeterse

2015-07-29

[10:00:46] superrorc: *.net *.split
[10:01:20] superrorc: has joined #ruby

2015-07-22

[15:44:32] superrorc: Ping timeout: 256 seconds
[15:48:16] superrorc: has joined #ruby

2015-07-14

[19:54:00] superrorc: Ping timeout: 264 seconds
[19:55:59] superrorc: has joined #ruby

2015-07-07

[11:47:30] superrorc: has joined #ruby
[11:48:37] superrorc: i have string - [15:25:10] [INFO] retrieved: "nfive@mail.ru","d9b17a0af10e7b8a83b8ec04e57b9b78"
[11:49:03] superrorc: trying to select mail and hash like this " .scan(/"\d+\","\d+\"/) "
[11:49:10] superrorc: but it doesnt works
[11:52:54] superrorc: shevy: ow . that is i need! thanks a lot!
[11:53:34] superrorc: yea! and for what need 2d fiels?
[11:54:00] superrorc: like / reg ex / / here ?

2015-01-19

[06:33:12] superrorc: how can i puts variable like this - http://pastebin.com/raw.php?i=310PDXMQ
[06:35:03] superrorc: will read ip and mac from file
[06:35:14] superrorc: like this http://pastebin.com/raw.php?i=cQ07zWPz
[06:35:25] superrorc: what is best approach?
[06:44:52] superrorc: thanks a lot! will trying now
[09:23:11] superrorc: how this regex http://stackoverflow.com/questions/4260467/what-is-a-regular-expression-for-a-mac-address would be in Ruby?
[09:23:25] superrorc: ^([0-9A-F]{2}[:-]){5}([0-9A-F]{2})$
[09:23:29] superrorc: for mac addr
[09:24:08] superrorc: line.scan(^([0-9A-F]{2}[:-]){5}([0-9A-F]{2})$)
[09:24:34] superrorc: read_clients.rb:5: syntax error, unexpected ']', expecting ')'
[09:25:51] superrorc: no errors but no one matchs
[10:56:48] superrorc: How to run FOR loop for all elements array? help lps
[10:58:29] superrorc: will trying
[10:58:32] superrorc: ty for replay
[11:04:43] superrorc: its works, and how can i puts all 1st elements of pairs - like this - array.each.first . my array - [["192.168.3.117", "c8:14:79:7e:93:dd"], ["192.168.3.115", "98:fe:94:21:9c:74"],
[11:04:56] superrorc: need to get only all ipaddrs
[11:05:38] superrorc: puts array.each.first
[11:05:38] superrorc: array.each do
[11:05:51] superrorc: all times print 192.168.3.117
[11:16:09] superrorc: avril14th: thanks a lot dude! got it

2015-01-08

[08:30:01] superrorc: trying install gem, get this "sh: 1: make: not found" . gcc version 4.8.2
[08:32:08] superrorc: Ubuntu 14.04.1 LTS
[08:32:20] superrorc: ruby 1.9.3p484
[08:32:35] superrorc: what tools?
[08:33:26] superrorc: gcc - compiler
[08:34:47] superrorc: gem installed
[10:28:57] superrorc: i am writing ipaddrs with this " out_file.write(ips.uniq.join("\n")) " . how can i get this output "http://ipaddr1" and etc ... ???
[10:30:14] superrorc: something like this out_file.write("http://" + ips.uniq.join("\n"))
[10:38:36] superrorc: how can i add some string to all elements in array
[10:39:15] superrorc: [1 2 3] => [abc1 abc2 abc3]
[10:40:32] superrorc: will try now
[10:46:51] superrorc: shevy: dont work... or i do something wrong
[10:46:58] superrorc: http://pastebin.com/rAc2KuBs check this pls
[10:47:44] superrorc: i am not programmer =)
[10:49:27] superrorc: from in file with regx