- Install deps
sudo apt install chromium-browser chromium-codecs-ffmpeg
and specify flags and path
const browser = await puppeteer.launch({
headless: true,
executablePath: '/usr/bin/chromium-browser',
const object = { | |
"customer.firstname": "raj", | |
"customer.lastname": "sharma", | |
"kop.shak.rap": 99, | |
"kop.shak.saip": 99, | |
simon: "regular", | |
}; | |
function convertPathObjectToObject(object: any) { | |
function injectInChild(arr: any, val: any, obj: any = {}, k: any = 0) { |
#docker setup | |
echo "deb [arch=amd64] https://download.docker.com/linux/ubuntu focal stable" | sudo tee /etc/apt/sources.list.d/docker.list | |
curl -fsSL https://download.docker.com/linux/ubuntu/gpg | sudo apt-key add - | |
sudo apt update | |
sudo apt install docker-ce docker-ce-cli containerd.io pigz | |
#execution permission | |
sudo usermod -aG docker $USER | |
#docker compose |
import 'package:flutter/widgets.dart'; | |
class Responsive { | |
bool get isXl => width >= 1200; | |
bool get isLg => width >= 992 && width < 1200; | |
bool get isMd => width >= 768 && width < 992; | |
bool get isSm => width >= 576 && width < 768; |