Discussion

MacOS Terminal to automate your process to run project

iTerm2 is a replacement for Terminal and the successor to iTerm. I think the most important feature for us is to split panes. We can split panes into multiple sections and run separate command in each pane. itermocil is to create pre-defined window/pane layouts and run commands in iTerm. We can automate our process to …

Discussion NodeJS

Winston logger

winston is designed to be a simple and universal logging library with support for multiple transports. A transport is essentially a storage device for your logs. Each winston logger can have multiple transports (see: Transports) configured at different levels (see: Logging levels). For example, one may want error logs to be stored in a persistent remote location (like a database), …

Frontend HTML jQuery

International Telephone Input

We can use the following widget to implement the telephone input. https://github.com/jackocnr/intl-tel-input Features Automatically select the user’s current country using an IP lookup Automatically set the input placeholder to an example number for the selected country Navigate the country dropdown by typing a country’s name, or using up/down keys Handle phone number extensions The user …

Discussion

npm packages – react-copy-to-clipboard and object-to-formdata

react-copy-to-clipboard is a simple npm package which provides copy to clipboard functionality. We can do this in pure javascript but it only copies the selected text of a input tag. This this npm package, we can copy any text which is passed to the component as props. object-form-data is a npm package which converts JSON …