DigitalGeek Discussion Others

Synergy – use one mouse and keyboard for mac and windows

Synergy is a software download that shares one mouse and one keyboard between multiple computers. It combines your desktop devices together into one cohesive experience. You can even copy and paste between your computers. Synergy works on Windows, macOS, Linux, and Raspberry Pi. You only need a regular WiFi or Ethernet connection. Simply move your …

DevOps Discussion Others

How to make self-signed certification work in google chrome

In some cases, we are forced to use https even on local development server. We can use OpenSSL to issue SSL certification, which can be used with Apache, nginx or node server. Steps are as follows:1. generate key for rootCA2. create rootCA3. create key for serverCA4. create certification request for server (domain)5. create serverCA using …

Backend Discussion Laravel

Laravel logging

Laravel provides rich logging functionality. We can post messages to third party chatting platforms like slack using Laravel logging functionality. All of the configuration for your application’s logging system is housed in the config/logging.php configuration file. This file allows you to configure your application’s log channels, so be sure to review each of the available channels and …

Discussion NodeJS

Node schedule

Node Schedule is a flexible cron-like and not-cron-like job scheduler for Node.js. It allows you to schedule jobs (arbitrary functions) for execution at specific dates, with optional recurrence rules. It only uses a single timer at any given time (rather than reevaluating upcoming jobs every second/minute).https://github.com/node-schedule/node-schedule

React.js

Redux-Saga, Redux-Thunk

Redux-saga and redux-thunk are redux middleware libraries, that are designed to make handling side effects(asynchronous things like data fetching) easier to manage and better at handling failures. The difference of those 2 libraries stands on processing the data fetched from back-end api. Redux-thunk handles the data in a callback function and redux-saga uses async-await functions …

Discussion NodeJS

Fetching modules directly from git repository

Sometimes we need to fetch some modules directly from git repository like we install npm modules. For example, we need to use npm modules but with some modifications. In that case, we can fork or clone those repositories into our personal github and fetch it directly using url. The command is npm install git+<git repository …

Discussion Javascript

About JointJs

https://github.com/clientIO/joint The JointJS diagramming library lets you create fully interactive diagramming tools for all modern browsers, relying only on JavaScript and SVG. Its MVC (more MV) architecture separates graph, element and link models from their rendering, which makes it easy to plug JointJS to your backend application. JointJS is not trying to reinvent the wheel for technologies …