Questions tagged [code]

A tag that includes questions about programming in general.

Filter by
Sorted by
Tagged with
0
votes
1answer
27 views

Need help processing opened images in ImageJ

I've created a macro (based on different ones I've seen) that analyses particles areas in my picture, automatically copies the Area column in the results window to my clipboard and displays a window ...
0
votes
0answers
69 views

Security Onion 2.3 The IP being routed by Linux is not the IP address assigned to the management interface?

I have just installed Security Onion 2.3 and I faced some issue with network configuration, first of all I have 2 interface 1- Host Only for Management 2- Nat with internet connection but I receive ...
0
votes
0answers
47 views

How do I create a Code Snippet in MS Teams using a Keyboard Shortcut

In MS Teams, it is common to need to share code snippets quickly. Is there a keyboard shortcut that displays the code snippet editor?
0
votes
1answer
32 views

Change this code to send attachment as XLSX

I need to change this code to send a certain area as an xlsx attached in outlook and not as a pdf. Sub EnviarEmailPeloExcelAnexoPDF() Dim sPara As String Dim sMsg As String Dim ...
3
votes
2answers
79 views

MS Excel - Combine tables using M code

I have a file with 3 different tables on individual sheets. The tables all have a different number of columns and rows but they all have 1 column in common. I previously asked a simplified version of ...
0
votes
0answers
34 views

How to get Tcl formatting to work in VS Code

I am trying to enable the Document Formatting capability for Tcl source files and have installed the Tcl language support by bitwisecook, the top recommended Extension for "category:formatters ...
2
votes
1answer
33 views

BCEDIT not work in delete at remove UNETBOOTIN at error in install Ubuntu in Windows 10

BCDEDIT/DELETE {ed691510-03ba-11eb-b17b-c0e434ee9b0c} BCDEDIT/DELETE : The term 'BCDEDIT/DELETE' is not recognized as the name of a cmdlet, function, script file, or operable program. Check the ...
0
votes
0answers
43 views

What's the copyable code of ZWS-like strange symbols occurring in MS Word files

What's the copiable code of ZWS-like strange symbols occurring in MS Word files BUT they are NOT Zero Width Spaces!!!!! see the file sample here @harrymc I have already posted
0
votes
0answers
8 views

CLOC and Code formatting

Does cloc apply any kind of formatting when counting lines? I would assume it would be a good idea to do it because it makes a difference when comparing different code styles if(variable) return "...
0
votes
1answer
109 views

Two-Way Sync or Dynamic Leak Between 2 cell ranges

Below is code on a Dynamic Link or 2-Way Sync between two separate sheets and fields. However, I would like to change this to do a range of fields such as A4:A12 and B7:B15. Please help. Updated for a ...
2
votes
2answers
48 views

How to move an entire collapsed level to another place in Notepad++?

Given a document in Notepad++ with the following content: For the sake of overview all elements are collapsed, like so: When I want to move an entire <element1>...</element1 around, I first ...
0
votes
1answer
36 views

Keyboard with mind of it own (linux related?; Chromebook)?

I activated linux (beta) on my Chromebook (Google Chrome OS 85), and entered some text before installing Visual Studio Code and entering a very small amount of text. A day later, my keyboard is acting ...
0
votes
0answers
73 views

How to get the source code from the XLL file?

I have got a newly complied quantlib version and the question is how to decomplie it in order to get access to the source code to view the changes?
0
votes
0answers
40 views

Run Script Terminal Commands Orderly

how do i run the script below orderly ? (execute task after 1 task is done) Code 1 for i in *.mp4; do name=`echo "$i" | cut -d'.' -f1` echo "$name" ffmpeg -...
0
votes
2answers
68 views

How to conditionally concatenate a range with VBA?

In my work, every end of the month I have to review data saved in spreadsheets like the image. The only data that interests me is to check the value of L column and obtain the data in the BS column. ...
0
votes
1answer
26 views

Start a program(exe) when idle for set amount of time and then end program when no longer idle. Windows10

Tried to do this with task scheduler but it was a complete mess and never worked properly. Is there another way to do this?
0
votes
0answers
24 views

Spring State Machine is stucked in join state

I am using Spring State Machine current version. The flow is as below Fork -> Tasks (T1, T2, T3) -> Join. T1, T2, and T3 each has 2 end states along with initial state, and one of an end states ...
0
votes
2answers
210 views

How to add text to the end of every url in notepad++?

I have a big text file that contains urls that all begin with the same domain name but vary in the rest of the url. Is there any way to search for the line beginning with http://test.domain and insert ...
0
votes
0answers
35 views

Xcode Not Showing Output In Virtual Box Mac

I am learning to create an iOS apps. Last week my MacBook pro stopped working and its gonna take at least a week to get repaired. In the meantime, I have installed mac on virtual box in my windows PC ...
-2
votes
2answers
237 views

Why does this New-Item command work within powershell but not within a ps1 script?

Totally stuck here and have no idea what to do: I've got a multiple choice interactive Powershell script I'm putting together for the ops so they shave off a few minutes whenever they want to perform ...
0
votes
1answer
5k views

How to recover unsaved file (Visual Studio Code)?

my VSC crash without saving how to get back the code ? already tested appdata\roaming\code\backup i dont found the file
0
votes
1answer
47 views

How to record screen for showing code or design?

I'm looking to be able to make a video/gif like this https://dribbble.com/shots/4920325-Social-share-button I created some similar design with css. But now I don't how to get a video like that. I ...
0
votes
0answers
23 views

How to convert /export 360 mono to 180 mono using FFMPEG

my question is about creating 180 monoscopic versions of some 360 monoscopic videos. Nothing special with the final video format (4k H.264) and know i have to orientate so the 180 frame is the frame ...
1
vote
0answers
180 views

How do I enable scrolling in the integrated terminal in Visual Studio Code?

I'm trying to scroll with the integrated terminal and I'm getting a series of weird text that's showing up, like ^[[<64;57;24M]] and it's not scrolling. I'm on the most up to date mac with the most ...
0
votes
2answers
50 views

In what way can I still use an old, still functioning laptop since I bought a new one? [closed]

I recently purchased a new laptop and am not using the old one. I feel it is a waste for the old one to just be put away on my shelf collecting dust. It is an ASUS laptop with Intel Celeron 3060 with ...
2
votes
1answer
72 views

How do I get this randomised copy/paste/rename to work in my Win10 batch script?

I'm trying to force Windows 10 to change the logon/lockscreen pictures every so often with our own company ones (corporate branding). The following directory contains the Microsoft stock images: C:\...
0
votes
3answers
241 views

Powershell test-path issues

I am trying to use test-path to find if a path or path/file is valid. For example I can do: test-path -literalpath "c:\MyFolder\Study Setup.csv" This returns true when it is and false when ...
1
vote
1answer
90 views

remove local hosts from terminal on mac

I'm trying to instal adobe cloud, but it doesn't work because I believe some of it's servers are blocked in my terminal. How do I remove them? I know how to open terminal, but that's it. I'm not the ...
0
votes
2answers
27 views

Excel If Function with too many arguments

IT tells me that there are too many arguments, but I don't know how to make it less arguments for it to work cant seem to make this one work, =IF(ToFind<MyNumber,"Too low", IF(ToFind>MyNumber,...
1
vote
0answers
186 views

How to find the Position of Objects detected in a video on YOLO? [closed]

Hi First of all I'm a real noob to coding and all. I found this YOLO and wanted to do something with it. After downloading YOLO and running it by typing ./darknet detector demo cfg/coco.data cfg/...
0
votes
1answer
41 views

MatLab showing different plots on different zoom level

I ran this code on MatLab: function main fimplicit (@(x,y)f(x,y),[2 5]) end function fun = f(x,y) nc=1.45; %cladding nf=1.5; ns=1.4; %substrate h=5; %width of waveguide kappa=sqrt(x^2*nf^2-y.^...
0
votes
0answers
40 views

VBA code to make a cell mandatory on save if previous cell says Fail

I'm currently creating a document that would allow supervisors to audit their people. I'm looking for a way to prevent saving if cells I and J are not completed if the person failed the previous ...
1
vote
2answers
397 views

Move Files Into Correct Folder Batch File

I have a file directory called "Parts". Within that folder I have files that I need to run a batch file on to move to their correct folders. Example 12345 test.pdf 12345 test.jpg 12346 test.pdf ...
1
vote
0answers
115 views

Is there a VSCode extension for auto-validating brackets?

I'm looking for an extension for VScode that can auto-validate brackets in code or highlight mismatched or invalid bracket arrangements. I've seen extensions that colorize brackets, which is helpful, ...
0
votes
0answers
33 views

Visual Studio Code - navigation bar path

enter image description hereHow to set up this kind of navigation bar - where u can click on catalogs like in windows systems. Tis video and "GPS" icon on the top left: https://www.youtube.com/watch?...
0
votes
1answer
26 views

code in VBA excel

I need help with macro. The goal is to find specific text inside each sheet. If this text is found, macro continues with next codes. If the text is not found, macro skips to the next sheet and do the ...
0
votes
0answers
24 views

Is there any open technology for encryption all the code like an encrypt container?

Is there any open technology for encryption all the code ? You see the black frame, I want there is a technology like it to avoid source code come to light.
0
votes
0answers
42 views

Randomly selecting data from different columns into one column without duplicates

I have four columns of students. There is 1000 students in each column. The same students are in each of the four columns. I need to randomly select one student from each column to make groups of four....
0
votes
1answer
104 views

AutoHotKey: How do I set the starting value of the current loop iteration?

I've made a basic AHK script that adds unique metadata to each file on a system I use every day. The idea is to add _01 to the first file followed by _02 to the second file and going up forever until ...
1
vote
1answer
34 views

Problems using USB-ASP

I am trying to upload some code to my MCU ATMega 32a using an USB-ASP programmer and extreme burner software. I am just using some dummy code, but everytime I try to burn it, the extreme burner shows ...
0
votes
1answer
61 views

Create a batch project with game

I have a batch file for installing a game and changing the language. ISO file ISO [virtual drive mounted] (can be any letter D:\ E:\ F:\ etc...) AutoRun.inf (this run the .bat and .ico) Run.bat (...
0
votes
1answer
125 views

how to Achive this in visual studio (from visual vode extension)

so i want this feature(code) to get to here(visual studio) so i was wondering you can see in the first picture the first char of for if while(etc) has slight caligraphy in it? do anyone know how to ...
0
votes
2answers
777 views

How to stop a service without the full name in a batch file?

I am trying to stop multiple services remotely without using the full name using a wild card in a batch file. Something like this service* Here are a couple example commands I'm using for my need ...
4
votes
1answer
2k views

doxygen - what is working directory?

I've been working on doxygen these days, and I still have no idea about what is 'working directory.' Until now, I just made an empty folder at my D drive, and set it as my working directory. ...
0
votes
2answers
51 views

custom code in wordpress widget

I am editing a WordPress site that contains custom HTML in a widget. However, I am unfamiliar with this code as it appears to be code within code and I cannot locate where it originates. The widget "...
2
votes
0answers
428 views

How to pause system time on Windows? [closed]

I am intereseted in any method of making sure that functions such as the C++ now() return the same thing when called multiple times in a row. The ideal solution is reversible and works on a Windows ...
0
votes
1answer
438 views

Visual Studio Code - working with two sub-windows but making them not affect one another?

Visual Studio Code (VSCODE to all you coming here from search engines) allows splitting the current working window into two windows: When I type text in one, it appears in the other. I desire that ...
1
vote
1answer
52 views

How do I associate a filetype to open with a self developed application?

In .NET/WinForms/C# I wrote a small program for "viewing" PDF files. It just opens a real PDF viewer and does some more things (not important for the following problem). However, under Windows 10 I ...
1
vote
1answer
1k views

How do I get this simple ffmpeg command to work in Automator?

I'm having trouble getting a simple Automator shell script to work. I'm trying to get an ffmpeg command line to run a task on a file that is dropped onto the appliaction icon. This is what i've done: ...
0
votes
2answers
13k views

How to move partial text from one cell to another

I have a dilemma I am hoping someone might be able to help me with! I have exported a PDF file into excel that has a lot of information that populates into one cell. I need to split this information ...