Skip to content

Instantly share code, notes, and snippets.

@CooleyTukey
CooleyTukey / CMake_3_20_Ubuntu_18_04.md
Created June 20, 2023 10:28 — forked from bmegli/CMake_3_20_Ubuntu_18_04.md
CMake 3.20 in Ubuntu 18.04 (reversible way)

Motivatation

  • modern CMake is required for building a lot of new software
  • CMake is dependency for many packages (e.g. ROS related)
  • we don't want to remove CMake (which would remove packages that depend on it)
  • we want safe procedure to update CMake that can be reversed easily

Current version in OS

Check current version

@CooleyTukey
CooleyTukey / letsencrypt-jetty.sh
Created March 22, 2018 07:34 — forked from xkr47/letsencrypt-jetty.sh
How to use Letsencrypt certificate & private key with Jetty
# input: fullchain.pem and privkey.pem as generated by the "letsencrypt-auto" script when run with
# the "auth" aka "certonly" subcommand
# convert certificate chain + private key to the PKCS#12 file format
openssl pkcs12 -export -out keystore.pkcs12 -in fullchain.pem -inkey privkey.pem
# convert PKCS#12 file into Java keystore format
keytool -importkeystore -srckeystore keystore.pkcs12 -srcstoretype PKCS12 -destkeystore keystore.jks
# don't need the PKCS#12 file anymore
12-20 07:10:41.829 575-575/system_process V/KeyguardServiceDelegate: onStartedWakingUp()
12-20 07:10:41.831 575-599/system_process I/DisplayPowerController: Blocking screen on until initial contents have been drawn.
12-20 07:10:41.832 575-599/system_process V/KeyguardServiceDelegate: onScreenTurnedOn(showListener = com.android.server.policy.PhoneWindowManager$2@5078cdd)
12-20 07:10:41.844 656-656/com.android.systemui W/FingerprintManager: isFingerprintHardwareDetected(): Service not connected!
12-20 07:10:41.846 181-181/? D/SurfaceFlinger: Set power mode=2, type=0 flinger=0x7afc230d80
12-20 07:10:41.846 181-181/? D/hwcomposer: hwc_blank: display 0: unblank
12-20 07:10:41.846 181-181/? D/hwcomposer: hwc_blank_display: display 0: [1 -> 0]
12-20 07:10:41.846 181-181/? D/hwcomposer: Display 0 layer clip is 1536 x 2048
12-20 07:10:41.846 181-181/? D/hwcomposer: Display 0 device clip is 1536 x 2048
12-20 07:10:41.849 575-597/system_process I/DisplayManagerService: Display device changed state: "Built-in Screen", ON