Search Results

Search: Posts Made By: stomp
76
Posted By stomp
You may start qpv in background with & suffix: ...
You may start qpv in background with & suffix:

qpv someimage.png &
qpv_pid=$!

# do_something here ...

kill $qpv_pid
Forum: Web Development 1 Week Ago
259
Posted By stomp
I see no problem in testing dynamic values coming...
I see no problem in testing dynamic values coming from whatever source. As long as you can grab the data all is fine.

And since you have example data, the data is obviously there... . If it helps...
411
Posted By stomp
Your task is pretty basic. You will find a lot of...
Your task is pretty basic. You will find a lot of examples if you...

... search google for "perl read from stdin" ...
... read the documentation for the functions, e. g. perldoc -f split

I do...
Forum: What is on Your Mind? 1 Week Ago
545
Posted By stomp
Yes. Very frustrating. I'm already thinking...
Yes. Very frustrating.

I'm already thinking about that. My thoughts on that:

What is the motivation of answering without encouraging ?

Possibly positive feedback from the Requester and a...
Forum: What is on Your Mind? 2 Weeks Ago
545
Posted By stomp
Discussion culture
I want to start a small thread about discussion culture. From the past experience in different fora, I have little hope that any will come out of it. But I'll try it anyway, hoping to contributing to...
Forum: Programming 2 Weeks Ago
3,453
Posted By stomp
Hi, short notice from my side: For a...
Hi,

short notice from my side:

For a current project I decided to use Perl. The platforms are Linux / Red Hat 5/6/7/+future Versions. The reason I chose it, where:

Available on all target...
Forum: Shell Programming and Scripting 3 Weeks Ago
803
Posted By stomp
I just read that yq is not a standalone script,...
I just read that yq is not a standalone script, but does only a data transition from YAML to JSON and then feeds the data into jq with the user-given jq-expression and thus relies on jq to be...
553
Posted By stomp
If you have logrotation in place you may want to...
If you have logrotation in place you may want to know if a log-switch happened. I did this by checking if the first line of a file is still the same. (Hopefully it's not an empty line ;-) ) ... like...
Forum: Shell Programming and Scripting 3 Weeks Ago
803
Posted By stomp
[TIP] Processing YAML files with yq
After the success of the jq - tool for parsing and manipulating JSON-Data someone wrote a tool called yq, which aims to be the same for YAML, what jq is for JSON. Seems to work fine. I'll definitely...
639
Posted By stomp
Since HTML is very similar to XML, you may use an...
Since HTML is very similar to XML, you may use an xml tool to parse your file.

Since your HTML-File is not fully standards compliant, the parser complains about it and the file has either be...
3,218
Posted By stomp
Hello psy, as you saw in the last post from...
Hello psy,

as you saw in the last post from Chubler and me, that we have different views on what is the preferred choice of coding. I hope this causes not too much confusion for you.

Global And...
3,218
Posted By stomp
It's nearly the same code as yours: If $used_net...
It's nearly the same code as yours: If $used_net is "testnet" set btcopts to "-testnet" otherwise set to empty value. A shorthand if-construct.

The return value of a variable assignment is always...
3,218
Posted By stomp
Your code is correct and works here as you...
Your code is correct and works here as you described it should. So I assume the variable $used_net never is set to the correct "testnet" value.

Check the variable value directly before the shown...
Forum: Cybersecurity 09-27-2019
1,482
Posted By stomp
It maybe fail2ban is configured properly, up and...
It maybe fail2ban is configured properly, up and running. That will definitely explain a rate below average. But f2b can be running without being configured to do blocking at all or not correctly...
Forum: Cybersecurity 09-27-2019
1,482
Posted By stomp
Same from receiving side. I also only just had a...
Same from receiving side. I also only just had a very quick read on your post.

Instead of one car crashing into a wall two cars crashing frontal into each other with the same speed do square...
Forum: Cybersecurity 09-27-2019
1,482
Posted By stomp
@Neo: Thanks for rephrasing and clarifying your...
@Neo: Thanks for rephrasing and clarifying your request!

Here's a script which calculates the FLAPM value:


#!/bin/bash

exit_with_message() { echo "$*" ; exit 1 ;}

type lastb >/dev/null...
3,218
Posted By stomp
bitcoin-cli -testnet sendmany ""...
bitcoin-cli -testnet sendmany "" "{\"n1yswZYByRv3okGDHs1oDaevq8gsDaYZzC\":"0.079319635", \"2NFafKRugHFdYEib7xVfkT6bvtkUKK8oShZ\":"0.079319635"}" 6 "Payments" "[\"n1yswZYByRv3okGDHs1oDaevq8gsDaYZzC\",...
3,218
Posted By stomp
Hello Psy, I suggest for now to only check...
Hello Psy,

I suggest for now to only check if the JSON you want to generate is ok and only after having this 100% correct then go on to build the complete program call.

Regarding the...
3,218
Posted By stomp
A short comment on debugging: To check if a...
A short comment on debugging:

To check if a function does what it should do, the easiest method is to simply put the function in a small extra program, call it with some valid test data and just...
1,734
Posted By stomp
tar (child): compress: Cannot exec: No such file...
tar (child): compress: Cannot exec: No such file or directory

As the slightly irritating message states: the compress utility is not found. You have to install it.

In Ubuntu the corresponding...
3,218
Posted By stomp
The mentioned line is the trickiest thing of all....
The mentioned line is the trickiest thing of all.

You need to know what that eval is actually for. Eval adds an additional evaluation round(so I get from content of $i which may be the number "3"...
3,218
Posted By stomp
My code is tested and works. But don't rely on...
My code is tested and works. But don't rely on that. Think/Learn how to know and test if the code is working correctly.

The error is that the call of your program is somehow wrong or not like the...
3,218
Posted By stomp
This thread needs way more time and energy than...
This thread needs way more time and energy than I'm willing to give. I'm out.
3,218
Posted By stomp
Correct Usage of quoting ;-)
Hello Psy,


Please don't full quote forum posts. Please only quote the short passage of text you're relating to. Refrain from full quoting because it adds redundant information and makes the...
3,218
Posted By stomp
Just use the function with the same var as in...
Just use the function with the same var as in your code:


mk_json... "$var" "${addr_arr[@]}"



That doesn't work. Single quotes do not execute variable substitution. You need double quotes...
Showing results 1 to 25 of 396

 

Featured Tech Videos

All times are GMT -4. The time now is 03:52 PM.
Unix & Linux Forums Content Copyright 1993-2019. All Rights Reserved.
Privacy Policy