Disable Windows Error Reporting

Here is a small REGISTRY file which disables Windows Error Reporting.

This will disable the “Checking for solutions” popup.

 

Windows Registry Editor Version 5.00

[HKEY_CURRENT_USER\Software\Microsoft\Windows\Windows Error Reporting]
"Disabled"=dword:00000001

Advertisements

Simple SSL configuration for Apache-Tomcat

For the official instructions (Tomcat 8), read this page

The following instructions are for development servers only:

Step 1: Create a keystore file to store the server’s private key and self-signed certificate:

For Windows:

"%JAVA_HOME%\bin\keytool" -genkey -alias tomcat -keyalg RSA

For Unix/Linux:

$JAVA_HOME/bin/keytool -genkey -alias tomcat -keyalg RSA

You will be asked for various information. Remember the password you typed at this step.

At the end of the procedure, keytool will create a file named “.keystore” to your home directory. By default it is hidden. This file should be moved to Apache-Tomcat home directory and can be renamed (eg to “keystore”).

Step 2: Disable APR:

Edit server.xml and comment out the following line:

<!--
    Listener
    className="org.apache.catalina.core.AprLifecycleListener"
    SSLEngine="on"
/-->

Step 3: Activate the SSL connector

Edit server.xml and add (or uncomment and modify) the following lines:

<Connector 
    port="8443" 
    SSLEnabled="true" 
    protocol="org.apache.coyote.http11.Http11NioProtocol"
    maxThreads="150" 
    scheme="https" 
    secure="true"      
    keystoreFile="keystore" 
    keyAlias="tomcat"
    keystorePass="12345678"
    clientAuth="false" 
    sslProtocol="TLS" />

You will have you replace “12345678” with your password.

You will also have to replace “keystore” with the full path to the keystore file generated at Step 1.

Step 4: Restart Tomcat

Do not forget to restart Apache-Tomcat

 

 

Audio staggering in Windows 10

Before upgrading to Windows 10, check if there are drivers written for your hardware specifically for Windows 10. You should definitely check that drivers exists for your network card and your audio card.

One reason is that Windows 10 suffer from the same (and important) problem Windows 8 suffer: High DPC (deferred procedure call) latency. If the drivers do not work properly you may have high DPC latency, which may result to audio staggering, lag, clicks, drop outs even if your CPU does not reach 100%. This means that there is a high chance you won’t be able to playback movies flawlessly while using the network card! What a break dealer!!! Continue reading Audio staggering in Windows 10

Recommended settings for 802.11n

Here are the official recommended settings for Wifi 802.11n from Intel:

Property Value
802.11n channel width for band 2.4 Auto (not in 20 MHz only)
802.11n channel width for band 5.2 Auto (not in 20 MHz only)
802.11n mode Enabled
Fat channel intolerant Disabled
Roaming aggressiveness Medium (or less)
Throughput enhancement Disabled
Transmit power Highest
Wireless mode 802.11a/b/g
HT mode VHT mode

On the wireless router, check the following options:

Property Value
Auto channel scan Enable
802.11 mode Use 802.11n only
Channel width 40 MHz

References:

https://www.intel.com/content/www/us/en/support/network-and-i-o/wireless-networking/000005544.html

Give your cat liquid medicine, the easy way

Verify that your cat does not health problems that prevent her from consuming milk.

If she is cannot or does not like to drink milk then you can do the same with tuna juice. You should use 100% real fish, packed in water and not oil..

You need:

  1. a plastic cup
  2. white milk / tuna juice
  3. scissors

 

Step 1: Get a plastic cup:

maxcups_c_maxvalu_pk50_maxvalue_plastic_cup_180ml_clear

Step 2: Cut the cup with scissors. Keep the base of the cup with 1cm approx height:

Clipboard02

Step 3: Fill the cup with the milk/tuna juice, leave about 2mm empty

Step 4: Pour the medicine inside the cut cup.

Step 5: Stir

Step 6: Give it to the cat!

Done 🙂