Nebular is a UI libary from Akveo company for Angular. It can be customized for meeting your needs and has many components and visual themes. It also has authenticate and security modules. NgxAdmin is an admin dashboard built based on Nebular. NgxAdmin is also customizable. Key tip: I use isGranted() of NbAccessChecker from Nebular’s security package, canLoad and canActivate directive from Angular framework to achieve features inside this article. I
read moreModern web systems often require users to login first and then allow those, who are login successfully, start to use. If these systems are built with concept of single page application, it’s good to try Cypress for automatic UI end-to-end testing. The login is first one need to be solved for Cypress testing. Notice: The content of this article has been tested at cypress version 5.6.0, 6.2.0, angular version 6.1.10,
read moreMerge two sorted linked lists and return it as a sorted list. The list should be made by splicing together the nodes of the first two lists. Example 1: Input: l1 = [1,2,4], l2 = [1,3,4] Output: [1,1,2,3,4,4] Example 2: Input: l1 = [], l2 = [] Output: [] Example 3: Input: l1 = [], l2 = [0] Output: [0] Constraints: The number of nodes in both lists is in the range [0, 50].
read moreI have taken three weeks for reminding myself and learning again React.js with three playlists on YouTube since tail part of last February. I recommend the video channel: The Net Ninja. Following video contents are helpful for me and easy to understand concept of React. Hands-on projects are also easy to follow up by myself. These videos clarify questions, which are existing in my mind, and lower bar for learning
read moreMosquitto starts to support OCSP stapling since version 1.6(20190417). Online Certificate Status Protocol(OCSP) can be used to query a certicate from client to server whether it is still valid or be revoked. OCSP is an alternative way for Certificate Revoke List(CRL). One of pros of OCSP is no need to maintain large list same as CRL. Most part of cons is that few programs support it. Some well-known programs such
read moreI want to update some settings of mosquitto MQTT broker without stop running. There is a way to meet the goal. First, you need to setup pid_file setting of mosquitto.conf. pid_file setting will set pid content such as process identifier in the file under assigned path. And then I can setup a setting that I want process execution of mosquitto to reload configurations, for example acl_file. After I confirming a
read more