Skip to main content

All Questions

Tagged with
Filter by
Sorted by
Tagged with
2 votes
0 answers
88 views

Ruby script for automating software install on a brand new Linux OS

I have some scripts to automate software install, apply some configurations and so on after installing a new system. I used to have them as bash scripts but it was generally a poor idea. I have ...
reducing activity's user avatar
4 votes
1 answer
209 views

Memory efficient Log Parser

I wrote this together for a test I'm doing that parses the Heroku access log. What I'm mainly interested is if this code follow common best practices and if there are any improvements I can make in ...
dan-klasson's user avatar
3 votes
1 answer
79 views

Logging the load balance

I created a load balancing server at work and have to keep track of which server it adds the user to, so I wrote a little Ruby script that will do just that. I'm looking for any critique of my work, ...
Bam's user avatar
  • 147
5 votes
2 answers
2k views

Logging to a File vs UDP

I'm trying to understand where my ruby implementation of this fails and hoping for an expert to shed some light on this situation. I've tried to make this a very simple example with the idea that ...
Anthony's user avatar
  • 439
7 votes
1 answer
1k views

Automatic flowchart generator

I wanted to see graphically what my programme was doing so I wrote this automatic flowchart generator: ...
Caridorc's user avatar
  • 28.1k
0 votes
1 answer
1k views

Ruby singleton for logging

I currently have a logging setup that looks like this: ...
Anthony's user avatar
  • 439
12 votes
3 answers
848 views

Pretty way of keeping sensitive info out of a logged command string in Ruby?

I have a long command that I am building with shovels (<<), with the intention of eventually running system(command). I'd ...
CHK's user avatar
  • 221
3 votes
1 answer
630 views

GZip archiver for log files

It compiles, works well, solves my problem of zipping old or big log files and removes them from a hard drive. However, following this answer, I would like to know what was wrong with the code. ...
Jackie Chan's user avatar