Posts by gmdutra • 35 points
6 posts
-
1
votes1
answer385
viewsQ: remove files from the container after build. Can I do this?
How to delete files after build? I am "building" an image with a google cloud key, so I can’t leave this key inside the container, for security reasons. The problem is that if I don’t get it, the…
-
0
votes2
answers172
viewsQ: how to ignore a line in dockerfile using dockerignore?
I need to ignore a line on dockerfile using dockerignore or anything that helps me solve a problem. I am sending print of the errors that happened. I need to ignore the following line in…
-
0
votes1
answer371
viewsQ: How to set up a regex?
I’m assembling a bot for rocketchat to turn machines on and off in google cloud, I need to assemble a regex that covers the words Turnon and turnoff. Someone could help me with this?
-
1
votes1
answer147
viewsQ: Show only lines that appear more than x times. (shell script)
I am analyzing a log file and I wanted to filter only lines that appear more than 10 times inside the file. Only I’m not finding a way to make this filter.…
-
1
votes1
answer272
viewsQ: How to insert only elements that do not exist?
I have a script in python that searches elements of a database and saves in another, so when I run the script it is duplicating the data. sql = "INSERT INTO `alarm` (`data`, `seconds`, `culprit`,…
-
0
votes3
answers833
viewsA: I’m trying to get a C on file, but the code won’t let me enter the address
You cannot register a CPF as an integer, even if it is without points, since it would return a large integer. You could even use an unsigned long int, but in case your system is 32-bit. A buffer…