Closed. This question does not meet Stack Overflow guidelines. It is not currently accepting answers.
This question does not appear to be about a specific programming problem, a software algorithm, or software tools primarily used by programmers. If you believe the question would be on-topic on another Stack Exchange site, you can leave a comment to explain where the question may be able to be answered.
Closed 8 years ago.
Improve this question
I've been trying to open Ruby source code on my Windows machine but a black box appear for less than a second and then close without showing anything, I've tried to open it with "command prompt with ruby" using File.open method but it keeps showing an error:
File.open is not recognized as an internal or external command, operable program or batch file.
You just need to use command type.
C:\> type ruby_program.rb
Just go into the directory, where your .rb file lives. And then do as above.
Read this What is the Windows equivalent of the Unix command cat?.
normally you can use every normal text editor, like notepad or ultra edit.
But the source can be encrypted, then you will see many bit's.
Related
Closed. This question does not meet Stack Overflow guidelines. It is not currently accepting answers.
This question does not appear to be about a specific programming problem, a software algorithm, or software tools primarily used by programmers. If you believe the question would be on-topic on another Stack Exchange site, you can leave a comment to explain where the question may be able to be answered.
Closed 5 years ago.
Improve this question
Why Atom uses more memory and takes more time to start as compare to sublime text editor ?
From Atom's FAQ (Hint: Try searching before asking):
Atom isn't designed to be a tiny native-code editor. If the ultimate in speed is what you're after, Atom probably isn't what you're looking for at least for now ... and possibly not ever depending on what you're expecting.
Atom is an Electron application.
Electron uses Chromium source as base.
Chrome/Chromium are known to be memory hogs.
Why then would anyone use it?
Well, the homepage states it on its headline:
A hackable text editor
for the 21st Century
Some of us like the idea of hacking every aspect of our work environment using common tools as javascript or CSS.
Closed. This question does not meet Stack Overflow guidelines. It is not currently accepting answers.
This question does not appear to be about a specific programming problem, a software algorithm, or software tools primarily used by programmers. If you believe the question would be on-topic on another Stack Exchange site, you can leave a comment to explain where the question may be able to be answered.
Closed 6 years ago.
Improve this question
First StackOverflow question ever.
Just installed OmniPascal extension into VSCode. Now ".dproj" and ".dpr" files are no longer associated with Embarcadero Delphi.
This seems non-trivial to fix. Can anyone suggest a fix short of reinstalling Embarcadero?
Thanks in advance.
Right click on any .dproj or .dpr files
Select Open with... and then click Choose default program
Find and choose bds.exe(Embarcadero Rad Studio)
Selec the Always use the selected program to open this kind of file check box, and then click OK.
See Change the program that opens a type of file
Closed. This question does not meet Stack Overflow guidelines. It is not currently accepting answers.
This question does not appear to be about a specific programming problem, a software algorithm, or software tools primarily used by programmers. If you believe the question would be on-topic on another Stack Exchange site, you can leave a comment to explain where the question may be able to be answered.
Closed 6 years ago.
Improve this question
I am using window OS. I have a folder named as myFolder which contains many files, I need to convert that myFolder to myFolder.tar file. Anyone please suggest how to do it?
If Python is installed, then you can use the tarfile module:
import tarfile
with tarfile.open('myFolder.tar', 'w') as tar:
tar.add('myFolder/')
or if you want a compressed file, then do:
import tarfile
with tarfile.open('myFolder.tar.gz', 'w:gz') as tar:
tar.add('myFolder/')
Links
https://www.scribd.com/doc/521235/Python-Tutorial-tarfile-module
https://docs.python.org/2/library/tarfile.html#examples
I'd get some form of tool (like 7zip) to do this - Google has alternatives and demos. Otherwise you'll need to do something like scp it to a linux server and tar it up via command line.
http://unxutils.sourceforge.net/ has ported the majority of Unix tools to the Win32 API, including tar.
Closed. This question does not meet Stack Overflow guidelines. It is not currently accepting answers.
This question does not appear to be about a specific programming problem, a software algorithm, or software tools primarily used by programmers. If you believe the question would be on-topic on another Stack Exchange site, you can leave a comment to explain where the question may be able to be answered.
Closed 4 years ago.
Improve this question
Everytime I print a page or a blank one, my printer prints 3 pages. The first page is:
Microsoft World - Document1
NWORD.EXE
6:291:87
27/2/4
The other 2 pages are blank. This has happened since a few days.
I already checked in Options->Display->PrintDocumentSettings and it's unchecked!
Anyone have an idea?
It is because of the default template it is using.
The default template is named Normal.dotm in Word 2010
C:\Users\<username>\AppData\Roaming\Microsoft\Templates.
The AppData folder is hidden so you need to show hidden files and folders in Windows Explorer in order to see it.
Exit Word.
Move Normal.dotm to some other folder (save it somewhere else).
Restart Word - Document should be blank now.
Closed. This question does not meet Stack Overflow guidelines. It is not currently accepting answers.
This question does not appear to be about a specific programming problem, a software algorithm, or software tools primarily used by programmers. If you believe the question would be on-topic on another Stack Exchange site, you can leave a comment to explain where the question may be able to be answered.
Closed 9 years ago.
Improve this question
Is there any software available to compare two text files for the differences between them. I have two CSS text files with me that i want to compare for the difference.
On Linux or Mac OS, use diff on the command line:
man diff
On windows, try this:
http://www.prestosoft.com/edp_examdiff.asp
araxis.
Also check Visual Studio Extension Code Compare
WinMerge works well too for comparing text files and source code as well. And its free!