Deploying a WAR file gives me a 404 Status Code on Tomcat?

Assuming that you have full privileges with the Tomcat installation, try going to http://localhost:8080/manager/html/, if you don’t know the password to get into that area, look for the tomcat-users.xml file in your ${tomcat-installation}/conf directory, and that should have it. If it has no entries in it then you will want to add an entry like … Read more

.NET Core – how does the ‘dotnet publish’ command work?

Per the documentation -o|–output <OUTPUT_DIRECTORY> Specifies the path for the output directory. If not specified, it defaults to ./bin/[configuration]/[framework]/publish/ for a framework-dependent deployment or ./bin/[configuration]/[framework]/[runtime]/publish/ for a self-contained deployment. dotnet publish -c Release -r win-x64 –output ./MyTargetFolder MySolution.sln

The type initializer for ‘CrystalDecisions.CrystalReports.Engine.ReportDocument’ threw an exception

Here is what worked for me: If you are installing on a 64-bit machine, make sure the application properties under the Build tab have “Any CPU” as the platform target, and unselect the check box for “Prefer 32-bit” if you have the option. Crystal is very touchy about 32/64 bit assemblies, and makes some pretty … Read more

Develop Tampermonkey scripts in a real IDE with automatic deployment to OpenUserJs repo

I found my way to it, so it’s not official or anything. And it’s easier than it looks, I just wanted to be thorough. We are just instructing the browser and Tampermonkey (TM) to load the script in our file system, which we’ll then edit directly. Coding to instant updates 👨‍💻 Go to Chrome => … Read more

Create Windows Installer for Java Programs [closed]

From here: Open Source Installers Generators in Java IzPack IzPack is an installers generator for the Java platform. It produces lightweight installers that can be run on any operating system where a Java virtual machine is available. Depending on the operating system, it can be launched by a double-click or a simple ‘java -jar installer.jar’ … Read more

From virtualenv, pip freeze > requirements.txt give TONES of garbage! How to trim it out?

That is one thing that has bugged me too quite a bit. This happens when you create a virtualenv without the –no-site-packages flag. There are a couple of things you can do: Create virtualenv with the –no-site-packages flag. When installing apps, dont run pip install <name> directly, instead, add the library to your requirements.txt first, … Read more