Questions tagged [parameters]
In computer programming, a parameter is a type of variable that refers to a piece of data used as input in a query to a database or other data-storage table.
108
questions
0
votes
1
answer
179
views
Change subtitle font size with ffmpeg
I’m able to change the FontName when hardcoding subtitles with ffmpeg:
ffmpeg -y -i temp.mp4 -vf subtitles=subtitles.srt:force_style='FontName=Roboto-Condensed-Bold' output.mp4
but unable to change ...
0
votes
0
answers
66
views
using scp or echo in zsh with alias parameter print 'No such file or directory'
here zsh on MacOSX.
I would like to point out that I have tried several ways, with and without quoting, single or double quoting, with and without brackets, with/out $variables. But I receive ever ...
1
vote
0
answers
278
views
How to properly escape in windows command shell - even the asterisk?
By following good (though sometimes conflicting) advice such as
Quotes, Escape Characters, Delimiters - Windows CMD - SS64.com or
Escape character – Wikipedia, section 2.6 Windows_Command_Prompt or ...
0
votes
0
answers
83
views
Power Query SQL bring in cell contents for the where statement
I am trying to build a flexible sql where statement so that my power query can pull the exact data the user specifies. I have an excel worksheet with about 18 cells that the user populates. I use ...
1
vote
1
answer
161
views
zsh-syntax-highlighting writes parameter expansion in black
I have installed zsh-syntax-highlighting. This works well, except of one oddity: When I type a parameter expansion as a command argument, i.e.
foo $PWD
as soon as I type the $P, the parameter ...
-1
votes
2
answers
563
views
Windows Command Line Scripting - Prompt for value
I have a windows script that simply moves and renames files from one directory in to a series of subdirectories. I would like to have the script prompt the user for the date of the files. Currently I ...
0
votes
1
answer
1k
views
Booting from a persistent live usb on MX linux and enabling systemd?
I have created a Live USB with persistent storage using MX Linux since they offer a few tools which makes it easier.
After booting and installing a bunch of applications I was not able to enable the ...
5
votes
1
answer
3k
views
How to create ECDSA keypair based on OpenSSL config file?
When generating CSRs based on RSA key-pairs I'm using the OpenSSL req command for convenience:
openssl req -new -noenc -config 'server.cert.conf' -keyout 'private/server.key.pem' -out 'server.csr.pem'
...
1
vote
0
answers
11
views
Run one of two scripts based on the outcome of a check?
I have two GPO scripts that, in a nutshell:
Close any existing instances of Chrome.
Open a new instance of Chrome.
Navigate to a webpage.
The only thing is that one script checks the location of ...
0
votes
1
answer
172
views
how to handle complex bash parameters?
How can I consume parameters as complex as the "Terminology example" from the bash-hackers wiki, which doesn't cover it after presenting.
mybackup -x -f /etc/mybackup.conf -r ./foo.txt ./bar....
0
votes
1
answer
447
views
how to pass argument in powershell function
Why does this code not work, how do you have to pass the parameters? what am I doing wrong:
cls
function __main{
param(
$apiEndpoint = $pathApi
)
write-host $apiEndpoint
}
...
0
votes
1
answer
1k
views
SSH - quoting error when composing command line with ProxyCommand (bash)
I would like to use the ssh command in a bash script running on srcHost to remotely execute a command on a range of hosts (targetHostX). Some of those remote hosts are only reachable via a jump host (...
0
votes
1
answer
231
views
Need to use Encrypted Authorization code from http response & use it further in the code
I want to decrypt the below field "_id" from HTTP Request/Response (present in both) , parameterize it & use in my scripts below -
set-cookie: _id=s%...
1
vote
0
answers
687
views
How should I adjust my monitor display timing parameters to achieve a horizontal offset?
I have a 2560x1440 31.5" monitor that recently stopped displaying in the rightmost 4" of the display. This corresponds to ~320 pixels of dead space, so I am trying to create a custom ...
0
votes
1
answer
805
views
What are the command line parameters (options) for Microsoft's CMTRACE tool?
The CMTRACE tool is included in Microsoft's System Center 2012 R2 Configuration Manager Toolkit.
It's a reasonably good tail tool. One of its downsides, however, is that it can take a very long time ...