Skip to main content
4 votes
2 answers
135 views

For background, I am working to create a version of minesweeper that runs in the terminal to become more familiar with coding bigger projects in c. I am coding in VScode, to run on a Linux server (...
Librarian of Stars's user avatar
4 votes
2 answers
175 views

Consider this example, a script named test.ps1 function MyTestFunction { [CmdletBinding()] param () try { [bool]$functionBool= $null } catch {throw $_} Get-...
Paul π's user avatar
  • 585
2 votes
2 answers
99 views

I have a powershell command that I want to execute and direct the verbose output to a text file. Compress-Archive -Path $currentLogDir_TempPathString -DestinationPath $currentLogDir_ArchiveFileName -...
WKNav4997's user avatar
1 vote
1 answer
66 views

I need to take an integer input value, assign it to a variable, and then use that variable as a column name to get data from a pandas DataFrame. Data: 1 10 20 30 2 40 50 60 Steps: Assign input to ...
madhu chatim's user avatar
1 vote
0 answers
52 views

When I use (Morton.morton_statetest) in another script, It gives me 0, and even if I put a print in Morton script and If I put an print in the other script, it gives me two values different, wit out ...
Withoutsleep_dev's user avatar
-2 votes
1 answer
62 views

Is it possible to have the units argument for the timedelta function be defined by a variable? To elaborate, is this possible? Time_Unit = "days" Time_Increment = 1 Time2 = Time1 + ...
Jon S's user avatar
  • 55
3 votes
0 answers
149 views

I have been trying to build a shopping cart with PHP and MySQL as a learning experiment. I am stuck at passing the ordered items from catalogue to the shopping cart. After many experiments I figured ...
AzAzar's user avatar
  • 31
3 votes
1 answer
148 views

Let's say I have an array_1 containing a string which is a name of another array_2. And now I would like to convert the array index into a variable containing the array_2. I have the following working ...
Jimski's user avatar
  • 1,040
-2 votes
2 answers
81 views

I'm trying to understand how functions work, I defined my function with length and area parameters. Here is the problem: I want to write if area is less than a # then print a string of text. def ...
mt.297's user avatar
  • 9
0 votes
1 answer
78 views

How to define CH, if both basic and list variables are included in the model, there is an error as below: The entity (class com.app.planner.domain.Machine) has both basic and list variables and cannot ...
heyif's user avatar
  • 41
0 votes
1 answer
147 views

How can I make an array of variables generated using the values passed through a while loop ? I am using osclass for a uni project and I find no way whatsoever to make a list os usable variables from ...
Rob Wall's user avatar
1 vote
2 answers
123 views

I'm trying to read 2 lines into two bash variables but those lines contain spaces. Here is how those two lines are generated : $ url=https://www.youtube.com/watch?v=c5U4D-Hn5Vg $ yt-dlp --no-config --...
SebMa's user avatar
  • 4,965
1 vote
1 answer
90 views

I tried to figure out how to replace a string variable to '*' a="bamtools/*/*bam_metric.summary.tsv" ## not working echo ${a/*\*/} I would like to see bam_metric.summary.tsv after ...
Jack Z's user avatar
  • 33
1 vote
2 answers
127 views

I am writing a program, that will divide my students into groups. Lets say the groups are A, B, C and D. In each group there can be only so many students. Those numbers I have in a global variable: &...
trinarSK's user avatar
0 votes
0 answers
93 views

When I cfdump the variables scope, I want to know the query metadata in all queries while debugging a huge project. This snip seems to be working, but is there a more direct call or attribute in ...
gordon's user avatar
  • 1,192

15 30 50 per page
1
2 3 4 5
3593