Problem:
java.security.NoSuchProviderException: no such provider: BC
Solution:
1. Download Bouncy Castle JAR, e.g.: bcprov-jdk15on-157.jar
2. In the code, add:
... and Thoughts
Problem:
java.security.NoSuchProviderException: no such provider: BC
Solution:
1. Download Bouncy Castle JAR, e.g.: bcprov-jdk15on-157.jar
2. In the code, add:
$ setarch i386 ./config -m32 --prefix=... --openssldir=...
Problem:
403 Access Denied on Tomcat manager page: http://localhost/manager/html
Solution:
1. Go to /path/to/tomcat/webapp/manager/META-INF
2. Edit file context.xml, and remove/comment-out the following lines:
3. Save context.xml
4. Restart Tomcat.
Source code must be compiled with option -g
Command:
$ valgrind --leak-check=full --tool=memcheck --error-limit=no --log-file=val.log /usr/bin/httpd -f /etc/httpd.conf -DFOREGROUND
1. Right click on the Windows icon and select "Search".
2. Input "gpedit.msc". Right click on the gpedit.msc icon and select "Run as administrator".
3. The "Local Group Policy Editor" is loaded.
3.1. On its left panel, expand "Computer Configuration / Administrative Templates / Network", and then select "SSL Configuration Settings".
3.2. On the right panel, double click on "SSL Cipher Suite Order" to open "SSL Cipher Suite Order" dialogue.
3.3. At the top left side of the dialogue, select "Enabled" radio box.
3.4. At the lower left side of the dialogue, in the "Options" box, change the value of "SSL Cipher Suites".
3.5. Click the OK button to save the changes.
4. Restart the computer.
1. Right click on the xx.bat file and copy.
2. Right click on the destination fold and select "Show more options" -> "Paste shortcut" to create a shortcut of the xx.bat file.
3. Right click on the newly created shortcut and select "Properties".
4. In the Properties dialog, change the Target field to:
cmd /c "...../xx.bat"
where the highlighted part is the original Target value. Click OK to save it.
5. Now, right click on the updated shortcut and you can see the "Pin to Start" item.
On Linux, PDF files can be opened and edited by LibreOffice Draw.
However, depending on how the PDF is generated, the formatting of the file can be a mess when it is opened by LibreOffice Draw.
If that happens, we can use a PDF reader to open it first and print it into a SVG image file.
After that, use LibreOffice Draw to open the SVG file and edit it.
After the edit, LibreOffice Draw can export the modified image into a new PDF file.
Some Windows applications require Administrator account to install.
To force the applications to run as a normal user, set the following first:
set __COMPAT_LAYER=RunAsInvoker
Note: there are two underscore (_) characters at the prefix.
For example, if you want to run SteamSetup.exe as a regular user, create a run.bat file and put the following 2 lines in:
set __COMPAT_LAYER=RunAsInvoker
Start SteamSetup
Save and run run.bat.