Update the system packages to the latest versions:
sudo apt-add-repository ppa:ondrej/php
sudo apt update && sudo apt upgrade
{ | |
"0": { | |
"descriptions": [ | |
"Compressed harddisk data" | |
] | |
}, | |
"1": { | |
"descriptions": [ | |
"Fax", | |
"Roff/nroff/troff/groff source for manual page" |
Extract .tar.gz Files using Linux Command Line ...
Let suppose I have two github accounts, https://github.com/rahul-office and https://github.com/rahul-personal. Now i want to setup my mac to easily talk to both the github accounts.
NOTE: This logic can be extended to more than two accounts also. :)
The setup can be done in 5 easy steps:
const winston = require('winston'); | |
const { format } = require('winston'); | |
const appRoot = require('app-root-path'); | |
const config = require('./config'); | |
const printf = (info) => { | |
if (typeof info.message === 'object') { | |
// eslint-disable-next-line no-param-reassign | |
info.message = JSON.stringify(info.message, null, 3); | |
} |
/* | |
* Type check | |
* */ | |
const Assertion = { | |
isFunction(x) { | |
return Object.prototype.toString.call(x) === '[object Function]' | |
}, | |
isString(x) { | |
return Object.prototype.toString.call(x) === '[object String]' | |
}, |
module.exports = { | |
root: true, | |
env: { | |
browser: true, | |
node: true, | |
}, | |
extends: [ | |
'eslint:recommended', | |
'plugin:vue/vue3-recommended', | |
'prettier' |