Where can I find itext.dtd? - itext

We were using http://www.ujihara.jp/iTextdotNET/itext.dtd as our DOCTYPE in all our XML files which is actually a bad practice. We did not know it until our PDF generations failed since the site went down for some reason.
Any suggestions on where I could find the same dtd file? We would need to download and locally host it. Tried Google search caches, but could not find the dtd file.

OK, I've gone through my archives (you gave me quite some work) and I found a version of the itext.dtd
I've placed it here: http://lowagie.com/itext.dtd
Please download it and use it if you must. I've written this DTD more than 10 years ago, and frankly: it wasn't my best work. I have no idea why you'd still want use it.
As soon as I see your acceptance of this message, I'll assume you've downloaded the DTD and I'll remove it form lowagie.com.
Update: the file was removed from lowagie.com.

Related

The greyed-out file might have an impact on the program

For a while, I have noticed that my config.js file is grey, compared to most other files in the editor. I also have an issue where, other than text/html and image/x-icon, the MIME type of static assets cannot be established. I am wondering whether the two issues are related.
Aside from setting up the server, the config file serves a base Url along with NodeJS global variables to be interpolated into placeholders in the HTML document. While I don't see any reason for there to be an associated problem, I am perplexed why the file is grey and not the same colour as the other .js files.
I have tried to find information on the problem, but I cannot describe the problem well enough to find answers to the issue browser searching. I have tried to find a VSCode forum, but there isn't one where I could make enquiry, even if I were able to articulate my problem.
If anyone has answer to why the file is greyed-out I would appreciate it.

Find project files in RubyMine not working

Every time I look for a file using the files finder console the file does not show up as a result of the search despite its existence in the project.
At certain point this feature was working but I may have change some configuration in Rubymine involuntary. Any help it's welcome!
That's a known issue already fixed: https://youtrack.jetbrains.com/issue/IDEA-266391
Builds with the fix will be added to that issue so you can follow it.
As a workaround, please try invoking File - Invalidate Caches (still the issue might come back).

Decompiling APK: Changing Server URL

I have the following problem: three years ago, I did an android project which was working fine until now. I used a MongoDB server on mLab, missed the deadline and now it does not work anymore. So the plan is to migrate the data to my own VServer, which is not a problem.
However: I lost the android project. The only thing I have is the APK and I need to change a single URL to something else. I decompiled the APK, tried to find the URL in it, but no luck. I cannot find the string "ds125502.mlab.com" anywhere in the project and I do not really understand why this is the case. The decompiled APK consists of ".smali" and ".xml" files and i dont think there is any binaries inside which might have the URL(still unreadable and therefore not changeable) in them.
So basically: I need to change the URL which is somewhere in the APK file and wonder if this even is possible.
I am pretty desperate and do not expect very much from this post but well..I need a solution. Otherwise I'll have to redo the whole project which is not THAT much work but still 30 hours or so.

Tool to download files (including files without direct link) from website?

I have been trying to find a solution to download files from URL such as: https://.com//. I learned about wget and tried quite many options, but realized it does not download any files that does not have direct link in index file or any sort.
For example, I'd like to download everything from https://somesites.com/myfolder/myfiles/.
Let's say there is an index.html under "myfiles" directory, and many html files and couple directories that are all referenced and linked in index but also couple of other html files such as sample123.html and sample456.html.
wget command successfully downloads all, but sample123.html and sample456.html with pretty much most of the common and well known options.
Is there any other tools that will grab ALL files that are located in https://somesites.com/myfolder/myfiles/ regardless with or without direct link?
I also tried lftp against the http URL, but download result was much fewer files that wget.
I looked through stack overflow for this, but recommended commands are the ones that only downloads files with direct link (by wget).
What you want to do is not possible and could be a security problem. Imagine that someone has, for example, a file with some sensitive data inside the folder and that file is not listed anywhere. You are asking for a tool that would also download that file.
So as said, is not possible, that's why it's always a good suggestion to disable directory listing in HTTP servers as a security option, to prevent exactly what you want to do.

What to do with XML Files generated by my Application

I am making an application that persists several different user settings. The way I have done it is just to serialize my collections (with the settings in them) to XML files.
As they are changed I update the saved file so that when the user runs again, the settings are saved.
As I get going with this style of persistence, I am finding that I have a lot of XML files.
Is this normal? Is it ok to litter my installed directory with configuration xmls files?
Is there a way to hide these files? Maybe a trick to save them as a resource under one file name?
This is not a really urgent issue. It does not really bug me to have the XML files there, but I thought I would ask.
I am using C# and VS 2008.
Can you not at least put them in their own folder? "/App_Data" for example? Beyond that... If you are getting a lot of files, what are the chances of being able to switch to a database? (SQLLite or something along those lines)