Skip to content

Instantly share code, notes, and snippets.

Avatar

Victor Mwenda victormwenda

View GitHub Profile
@victormwenda
victormwenda / stroustrup_advice.md
Created Mar 20, 2020 — forked from mdminhazulhaque/stroustrup_advice.md
The C++ Programming Language - Bjarne Stroustrup
View stroustrup_advice.md

The C++ Programming Language Bjarne Stroustrup, 3rd edition

Chapter 1 - Notes to the reader

When you program, you create a concrete representation of the ideas in your solution to some problem. Let the structure of the program reflect those ideas as directly as possible:

  1. If you can think of "it" as a separate idea, make it a class.
  2. If you can think of "it" as a separate entity, make it an object of some class.
  3. If two classes have a common interface, make that interface an abstract class.
View Activate Office 2019 for macOS VoL.md

Activate MS Office 2019/2016 for macOS - Microsoft_Office_2019_VL_Serializer

Office 2019 above

2019-06-03

Note that Office2019 DO NOT support activate via simple copy/paste plist license file which is the simplest way to activate Office 2016. Fortunately, you can also use the VL Serializer tool, just install Office 2019 and Serializer, then run Serializer to activate.

Ref

@victormwenda
victormwenda / 01_pkcs12-cacerts-workaround.sh
Created Jun 20, 2018 — forked from mikaelhg/01_pkcs12-cacerts-workaround.sh
Workaround for java.security.InvalidAlgorithmParameterException: the trustAnchors parameter must be non-empty
View 01_pkcs12-cacerts-workaround.sh
# Ubuntu 18.04 and various Docker images such as openjdk:9-jdk throw exceptions when
# Java applications use SSL and HTTPS, because Java 9 changed a file format, if you
# create that file from scratch, like Debian / Ubuntu do.
#
# Before applying, run your application with the Java command line parameter
# java -Djavax.net.ssl.trustStorePassword=changeit ...
# to verify that this workaround is relevant to your particular issue.
#
# The parameter by itself can be used as a workaround, as well.