We had a complicated PDF that was a CAD design for a mine site.
We needed it converted to a bitmap as part of thumbnail generation for Alfresco CMS running on a Windows platform.
Unfortunately, ImageMagick's convert would call Ghostscript gswin32 which then hung forever, maxing out one of the cores of the server.
Read More About Fix for ImageMagick/Ghostscript hanging when converting PDF to bitmap »
We had a Windows application that started slowly due to initial database activity. We've just moved the database to a cloud server at ZettaGrid . I wanted to report to the vendor the actual amount of data loaded from the database on start-up in bytes . But how?
Install NetBalancer from https://netbalancer.com/ .
Read More About How to measure the total downloaded data for a single Windows process »
The H2 database can be used in MySQL compatibility mode to enable unit testing of MySQL-targeted applications:
jdbc:h2:mem:test; MODE=MYSQL ;DB_CLOSE_ON_EXIT=FALSE
However, if you have any database fields declared as "not null", then H2 will insert a default value for these fields and won't fail as you might expect! From the H2 docs :
"When inserting data, if a...
Read More About Solution for H2 not failing when inserting NULL into NOT NULL column in MYSQL compatibility mode »
How to fix the problem when you can't push large commits to gitlab.
$ git push -u origin master
Counting objects: 961, done.
Delta compression using up to 4 threads.
Compressing objects: 100% (919/919), done.
Writing objects: 100% (961/961), 114.64 MiB | 6.81 MiB/s, done.
Total 961 (delta 222), reused 0 (delta 0)
error: RPC failed; result=22, HTTP code =...
Read More About Solution for gitlab - error: RPC failed; result=22, HTTP code = 503 »
Let's say you've got a Java Applet that's locked up your browser, but you're also running other Java processes (like Eclipse) that you want to keep and don't want to just kill every java.exe process. You can kill just the applet!
1. Find the process ID of the applet
Use the " jps " command from JDK7+ to list all the Java processes and their command line arguments:
Read More About How to kill a frozen Java applet on Windows »
Showing 1 - 5 of 60 results.