[07:16] 492650 [09:26] Morning folks :) [10:09] elacheche, good morning my friend [10:09] How are you? [10:31] Good praisethemoon :) u? [10:31] I'm good as well :) [10:31] You didn't saw my nagios plugin to check docker stats? :D [10:31] Nope :3 [10:31] is it on github? [10:35] Here is a preview of the data from script to nagios then from nagios to grafana → http://i.imgur.com/K6LR9up.png [10:35] I'm pushing the code in a minute [10:36] I still have issues, didn't clean the cde yet, didn"t documented it yet, but I know that I should push it now otherwise I'll never do x) [10:40] praisethemoon nzoueid: so, here is my Q&D script https://github.com/elacheche/docker_check/blob/master/docker_check.py it's on github until I get my VPS and switch to my own git server [10:40] Y U GPL :( [10:42] I need contribs :p [10:42] FREEDOM :p [10:45] je recommande https://gitlab.com plus que github :p [10:46] nizarus: I'll migrate my repos to my VPS when I got it.. I'm just too lazy to go to the bank and pay for the VPS now :( [10:46] I'll go for gogs, or just gitweb on a containers.. I'll try to keep the VPS clean, with only Docker on it, and all the services inside containers.. [10:47] gitlab needs a lot of ressources [13:04] it's ruby based :( [13:04] not that it ain't cool [13:05] but it's entreprise oriented [13:05] or so I feel about it [13:14] I'm gonna give Taigaio an other shot, otherwise I4ll go for gogs or gitweb.. [13:14] and build PM based on other foss projects [14:10] From OSX to Ubuntu → https://nicolas.perriault.net/code/2016/from-osx-to-ubuntu/ [15:08] I saw the script elacheche! You did a good job \o/ :D [15:09] I need to fix some issues in there x) including docstrings and version check [15:11] Good luck [15:11] pavlushka: o/ [15:15] elacheche: you saw the reply of Dalila? What you think about the date? [15:19] I saw.. I'll answer here later.. I'm still checking the hosting & transportation thing, I guess it's kind a hard place to reach or find somewhere to stay in.. I'll answer here asap, after checking some facts.. [15:26] Alright [15:32] Going to there to have 3hours workshop isn't a good deal, same if wwe go there for a whole day but we don't find a way to go home or a place to stay [15:54] That moment when someone tries to install an obsolete package and you ask him to use the supported one, then he tells you that he managed to install the obsolete one.. You feel like o_O.. [15:56] Oh! [15:56] You're one of the ML admins!! x) [15:56] I can't see that! I'm not admin [15:57] ubuntulog: ignore the last 3 messages.. That's not supposed to be posted in here x) [15:59] hahaha :D [16:01] nzoueidi: o/ :) [16:02] And Hello everyone :) [16:03] I am here to praisethemoon :) [16:03] :p [16:03] Hey pavlushka [16:03] pavlushka, ahahah xD [16:03] How is it going? [16:06] Hey elacheche :) finally my fixed line is fixed ;) [16:06] praisethemoon: cold and slow but good :) [16:07] :) [16:07] yeah, we're all cold x) [16:08] lol, elacheche> ubuntulog: ignore the last 3 messages.. That's not supposed to be posted in here x) [16:09] x) [16:09] praisethemoon: I'm not :D [16:10] elacheche, yes you are. [16:10] nope :) I'm not affected by that bug :D [16:11] wassup pavlushka :D [16:12] praisethemoon: \o/ [16:13] Yo :D [16:13] How is it going? [16:16] nzoueidi: lots of small things :) [16:16] As usual :D wbu praisethemoon [16:16] pavlushka: samm things lead to a big one thing :D [16:16] s/samm/small/ [16:16] * pavlushka got that ;) [16:17] well, company moved to a new workplace [16:17] trying to get used to it [16:18] Cool :D [16:19] I need to find a specific type of file among different type with specific prefix and need to copy those preserving directory hierarchy in a single command. [16:19] * pavlushka got stuck because of being busy and lazy ;) [16:20] pavlushka: use find -type f -name '*.pattern' -exec cp [16:20] something like that [16:21] elacheche: make it specific for .txt type please [16:22] find -type txt -name '*.pattern' -exec cp destination [16:22] a bit confused on the pattern part. [16:23] not mike that [16:23] find -type f -name '*.txt' -exec cp {} destination \; [16:24] elacheche, who's mike? [16:24] pavlushka: find ~ -type f -name '*.txt' -exec cp {} destination \; [16:24] replace ~ with the needed path if it(s not ~ [16:24] praisethemoon: a typo :p [16:24] elacheche, I know [16:24] Y U NO SENSE OF HUMOR [16:25] you could i've said Mark Stallman xD [16:25] or Mark Suckerburg [16:25] \o/ [16:25] praisethemoon: I know mike, he lives next to roger. [16:25] XD [16:26] pavlushka, you never disappoint me XD [16:26] who's roger :o [16:28] * pavlushka still thinking clicking his finger [16:29] nzoueidi: you dont know roger seriously? [16:29] * pavlushka neither [16:30] xD [16:30] ahahahaha [16:31] XDD [16:32] Roger is a freedom fighter [16:32] currently works at facebook [16:34] roger that [16:36] * elacheche is back [16:36] pavlushka: worksN [16:36] ? [16:37] praisethemoon: I'm multitasking :p [16:38] elacheche, you only monotask when you drink coffee [16:38] elacheche: I am looking for the contents first, then apply the sequence, in a minute [16:43] elacheche: its working but there are files with same names in different directories which are different but of same name, how can I preserve that? [16:44] its repeatedly replacing the files in the process as the name is same [16:45] elacheche: I did a [ find irclogs.ubuntu.com/ -type f -name '*.txt' -exec cp {} txt \; ] [16:46] advised to ignore the square brackets [16:47] for files with same name you should create a more complicated script I guess.. [16:48] that checks if the file exists in the dest dir or not, if so, it'll copy it with an other name or something like that [16:49] elacheche: I did [ find irclogs.ubuntu.com/ -type f -name '*.txt' -exec cp --parents {} txt \; ], its working now \o/ [16:50] * pavlushka oops, secret revealed [16:52] good boy :D [16:55] I am actually trying to make the grep search faster with filtering only the txt logs :) [16:55] :) [16:56] pavlushka: instead of cp you can execute grep [16:57] kind of local data mining technique, with only txt files, grep will execute faster for any itemized search [16:59] for instance, for a specific nick or topic, if I run grep on only txt files, it will execute faster than on combined html files which is a bit more complicated and heavier. [17:00] so I am filtering the txt first then will mine data with faster grep execution speed :) [17:02] though I still need to master the scripting for that which I am procrastinating [17:02] :)