Skip to main content

Questions tagged [code]

A tag that includes questions about programming in general.

0 votes
1 answer
141 views

How do I find files by last day in a month? (or how to copy the latest file per month)

I know there is "find" and I use something like find "/backup.stats/30days" -mtime +30 -type f But I wanted to know if anyone knew of a way to pick out the oldest file by month; ...
RansuDoragon's user avatar
1 vote
1 answer
101 views

How do I change the default app for all programming-related files on MacOS

Recently switched over from Windows to Mac. First thing that I had to was some stats homework so I installed RStudio to finish that. After that, I installed VSCode for all my other programming-related ...
Keerthik M's user avatar
0 votes
0 answers
17 views

How do I refresh an page automatically every time an net::(ANY ERROR) is detected on the inspect console on Chrome?

So I have an question. The most annoying error I have in Chrome is the net::ERR_SSL_PROTOCOL_ERROR, which occurs for broken images. I used Codepal to help me make this script, but it does not work. I ...
Noah Walters's user avatar
0 votes
1 answer
365 views

sudo passwd for bash terminal

I am total newbie so excuse the lack of knowledge, but I recently created an Microsoft Azure account so it comes equipped with a bash terminal. I wanted to make sure it is up-to-date so I tried ...
AndromedaZdna's user avatar
-1 votes
1 answer
4k views

Fern Wifi Cracker dont work

I cant install the Wifi Cracker in Kali Linux. When I wanna start the Cracker this messages shows up: (Many people have the problem but none of the proposed solutions worked for me) └─$ sudo fern-wifi-...
LEO's user avatar
  • 1
1 vote
0 answers
66 views

Is it possible to separately run image magick commands on certain pages in a pdf documents, then combine it all into one pdf?

I'm a student and have exams coming up. I'm trying to remove solutions from some online resources I've found to study from. The solutions were all written in red text under Short Answer (SA) questions ...
Musa Khattak's user avatar
0 votes
0 answers
142 views

Remote Session + Remote Session from Inside first session = Smart SIzing not working

I've looked around a fair bit in search of an answer, but no luck so far. The issue I have, is that I have a work laptop and a personal desktop with 3 monitors. I remote into the work laptop from the ...
Jonathon Baker's user avatar
-1 votes
2 answers
1k views

TortoiseGit: How to show files with differences between branches before merging

Merging in TortoiseGit will automatically merge a file to the latest code if there are no conflicts. However, I'd like to choose some blocks to merge only (the files don't conflict). Is it possible to ...
Dan D.'s user avatar
  • 731
0 votes
1 answer
213 views

What does this mean in this email that I found my husband sending messages like this in Outlook

Email header: X-Gm-Locker: AGMme3PcxTL2JFWN0Vdo0Xv8oI15-23s21Gn1_0qY-R0TsVZqqcXLTtuCL-OtNgO17MIv-dOn8XFhhWLYefojvu6G-XQwFOFstP4D-...
Vicky R.'s user avatar
0 votes
0 answers
15 views

VS19 Create Visual Jpeg of Code

I want to create a jpeg image of my code with black bg and white/color font as seen in dark mode. This is to get it printed and framed for my wall but I'm having such a hard time figuring it out. I ...
Stefs's user avatar
  • 1
1 vote
1 answer
261 views

Trying to Understand How Multiple Percent Symbols are Processed Around Variables

@echo off set var1=hello set var2=var1 set var3=var2 echo on echo 2. %%var3%% echo. echo 3. %%%var3%%% I have echo on so I can try to make better sense of the batch processing, though it really ...
Mike Tompson's user avatar
0 votes
1 answer
85 views

Assign a FOR variable to an Argument/Parameter

Is it not possible to use a FOR variable, like %%a, and assign it to an argument/parameter, like so: for /L %%a in (0,1,5) do ( echo Argument#(%%a) is %~%%a )
Mike Tompson's user avatar
0 votes
0 answers
88 views

Trying to Echo Array Values by Referencing the Array.Length Variable

I'm trying to output the contents of an array index # by referencing the index # using the A1.length value. But since I still don't fully understand the expansion of variables, the most I get for ...
Mike Tompson's user avatar
0 votes
1 answer
60 views

Not getting the right answer when dividing

echo off title Numbers Part 3 color a goto input :input echo what to divide? set /p by= cls echo %by%? ping localhost -n 2 >nul cls echo Well, %by% by what? set /p with= pause cls echo Great ping ...
DLAND GAMES's user avatar
0 votes
2 answers
315 views

Single vs Multi Line: Different results after setting variables, and Only if parameters are passed from command

Why do these two sets of code-blocks give different results when everything is the same, except for the structure of the IF Statement? Interestingly, the only time the result fails is when I pass the ...
Mike Tompson's user avatar

15 30 50 per page
1
2 3 4 5
13