Is there a way in VSCode remote to confirm before auto download-on-click in explorer's file list? - download

In remote-ssh projects, there may be some large binary files (e.g., model.onnx). Currently if you click them by accident, VSCode will start to download them without confirmation, and you can never cancel the downloading.
Is there a way to confirm before downloading large files? Or is there a config to decide what are binary files that should not be auto-downloaded?
Need a way to prevent downloading large files

Related

Warn user for creating file with same filename in same directory but also include sub directories

I'm looking for a solution that checks for the same filename when I'm downloading files, specifically through Firefox on Windows 10. I know that this feature comes standard when it comes to files in the same directory, but as the volume of files scales up, it's getting harder and harder to find what I'm looking for out of the files I've downloaded.
But since Firefox doesn't have an option to scan sub directories when saving files (nor can I find an add-on for Firefox that does something like it), I'm looking for any alternative solutions that would achieve what I'm looking for in the end: something that will notify me that I'm attempting to download (or have just downloaded) a file whose name already exists in the sub directory of a given folder, whether that be via an add-on, or some kind of application or script that can run in the background. Preferably, I would like it to check the folders inside of those sub folders as well.
My memory is terrible, so I opted to keep everything in the same folder so I would immediately get the warning when attempting to download a file I'd already downloaded. But said folder now contains far too many files for me to realistically glean through to find a particular file that I'm looking for.
I would like to be able to sort these files into sub folders of the folder I'm currently storing my downloaded files while keeping the functionality of being able to immediately tell whether or not I'm about to download something I've already downloaded. All I need is a check to see if the same filename exists upon trying to create a file (which is already a feature) - but in the sub directories as well. I do not need any functionality to actually view all the files in each sub folder in the same window.

VB.NET file has become an unreadable format

So the images below were originally a vb files. I have just opened it and it looks like this and the compiler won't run it. I am unsure whether this is a compiler error or whether it may have become corrupt because the project is stored on an external drive. It is just these two forms that have broken like this; I have one other form and a module in the same project that are okay but the project can't run because of the two that are broke.
Broken Login Form
Broken Diary Form
If it changes anything, the designer files for the forms are intact it is just the scripting for the forms elements that is broken.
Also, if I can't identify the cause, is there a way to revert it back to the last working version in visual studio to get my code back? Just because I put a lot of time into it.
The data in those files is most likely gone.
IMPORTANT: Do not write anything to that disk drive unless you find that you cannot recover those files.
If you are using a version control system then you can revert to an earlier version.
If you are using Windows 10 and you happen to have stored those files in a location included in what File History saves, you can recover them from that.
If you use some other form of backup, retrieve the files from that.
If you have a separate disk drive with at least as much free space as the one with the corrupted files, you could try running file recovery software as it might be that the zeroed-out file was written to a different place on the HDD.
TinTnMn pointed out in a comment that if you previously compiled the code, you should have executable files in the "obj" and "bin" folders that can be decompiled to recover most of your work
It could be quicker to re-write the code while it is still fresh in your mind.

Turbo Studio virtualization

I'm in the process of building a program that has several external libraries and extensions outside of the main program files. My projects total size is 134.2 MB. I would like to make a portable version of it with Turbo Studio, but I face one glaring problem; After capturing the files and building the project I'm left with a 138.9MB executable. The program does run, but I don't want it to be so bloated.
I would like to bundle the bulk of the data as a separate .dat payload (or equivalent) but I can't seem to find any means of doing this with Turbo Studio. VMware ThinApp and Cameyo both do this automatically after the project exceeds a certain size, but it would appear that Turbo Studio doesn't.
Any help with is greatly appreciated.
There was a hack I had discovered some time ago that did exactly what you were asking.
It appears that the site that described it is not online anymore so read on.
Install your application while monitoring with TurboStudio.
If there are multiple entry points (e.g., a suite like office may have
shortcuts for excel, word etc) then make sure there are shortcuts for those entry points in the Start Menu. If there are not, then click Start, right click on All Programs, then Open All Users. Make sure you create in that folder shortcuts for all your desired entry points (e.g., one shortcut for word, one for excel etc.)
Capture and Diff with TurboStudio. Set your virtualization settings as desired.
Click Output File-->Browse, and select "All files(.)" in the Save as type list. Then enter a filename with the extension .dat
Build your app. You will now get a .dat file instead of an .exe
In the next step you must use ExeBuilder.exe. This file was originally hosted in csgotwisted.com. Do a google search for "2 utilities for spoon studio exebuilder" and it will most likely be the first result. Unfortunately, the link is dead now when I click it. So I uploaded the file to NitroFlare. You can find it here. Put it in the same folder as the .dat file and run it. It will create a shortcut with your executable. Sometimes it misses the icon, but it gives you the option to locate it manually.
I use TurboStudio often and I have found this way to be the most quick and reliable in allowing me to generate small executables and storing the virtual filesystem and registry in a .dat file. In addition, it has the advantage that it can get you multiple entry points and not only one, just like Thinapp does.

How to overwrite an asset (PNG image) file in TFS 2010

first question I've asked so please go easy, also an absolute newbie with TFS (within Visual Studio 2010 in this context).
I have spent some time seeking an answer to this question both via SA and further afield, pretty shocked at how unintuitive this process seems to be given how fundamental it is. Slightly embarrassing.
In short: Three assets are shown in Source Control (three icons). I've now created three replacement icons via GIMP that I wish to use in the project, but I can't work out how to overwrite the old ones and put my new ones up.
I have read that I should 'check out' the existing three, which I have done, but I still can't then right-click on their containing folder in TFS and choose 'Add Items to Folder' - it complains that files with these names already exist with no option to overwrite.
edit - I don't have the ability to install any add-ons or other software on my machine :(
As you have discovered, TFS defines adding files as creating new files in source control. For files that exist in source control, you simply wish to edit them.
Once you have the files checked out, simply copy the files into place in Windows Explorer or from the command-line. You can then check the files in.

"mrt.exe._p" and "mrstub.exe" files

I'm using window 8 and I found "mrt.exe._p" file and "mrstub.exe" file other than the drive in which window is installed and it disppear after few minutes. Is it harmful or not?
Thankyou
The files "mrt.exe._p" and mrtstub.exe (72KB) are related to Malicious Software Removal Tool. You can download it from here
It probably isn't a virus, but to be safe search for the files on your computer look into Hidden Folders & Files, right-click go to properties and see if it has the Microsoft Signatures. The most likely reason of it disappearing is because after every scheduled scanning by Malicious Software Removal Tool, the files are suppose to be deleted.
You should also check your logs to determine the last scan performed by MRT.
Ctrl + R (open Run dialog) type: %systemroot%\debug
you probably have a file named, MRT.log. Open it in notepad then check the last time it performed a scan.
If you find that it didn't scan your computer during the period that you found the files, then it could be a virus/malware.
I advice you to install a free anti-virus program, since you don't have an extensive knowledge of how to determine if a file/pc is infected.
You can upload these files to VirusTotal and check them with a lot of different antiviruses.

Resources