Picking the right architecture = Picking the right battles + Managing trade-offs
- Clarify and agree on the scope of the system
- User cases (description of sequences of events that, taken together, lead to a system doing something useful)
- Who is going to use it?
- How are they going to use it?
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| <?php | |
| namespace app\controllers; | |
| use yii\web\Controller; | |
| class DocPreviewController extends Controller | |
| { | |
| public function actionPreview($path) | |
| { |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| import javax.crypto.*; | |
| import javax.crypto.spec.*; | |
| import java.security.*; | |
| /** | |
| * Decrypt passwords stored in Oracle SQL Developer. | |
| * This is intended for password recovery. | |
| * | |
| * Passwords are stored in ~/.sqldeveloper/system2.1.1.64.39/o.jdeveloper.db.connection.11.1.1.2.36.55.30/connections.xml | |
| */ |
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:
- If you can think of "it" as a separate idea, make it a class.
- If you can think of "it" as a separate entity, make it an object of some class.
- If two classes have a common interface, make that interface an abstract class.
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.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| # 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. |