Install htttrack in Ubuntu
1 . sudo apt install httrack webhttrack 2. httrack https://lunacreativity.com -O /tmp
1 . sudo apt install httrack webhttrack 2. httrack https://lunacreativity.com -O /tmp
In order to deploy the React app on Shared hosting we need to replace this local address with your domain name. Replacing localhost with domain name. Adding Domain in package.json In package.json file of your react app add a new property “homepage”:”http://yourdomainname.com” In order to deploy react App on Shared hosting we need to build the app. 2.Building the app using npm run …
let Web3 = require(‘web3’); // console.log(‘first, ‘, Web3) //connection with local blockchanin server let Ganache = new Web3(new Web3.providers.HttpProvider(“HTTP://127.0.0.1:7545”)); // console.log(‘Ganache’, Ganache) //frtch balance from a block // let Balance = Ganache.eth.getBalance(“0x8E7ab97a7caBaFC57c2E528c3F55f670Dc4c8F09”).then(console.log); let Balance = Ganache.eth.getBalance(“0x8E7ab97a7caBaFC57c2E528c3F55f670Dc4c8F09”).then((result)=>{console.log(Ganache.utils.fromWei(result,‘ether’))}); console.log(‘balance’ , Balance); //output is 100 //trnasfer some ether one account to lanother let result = Ganache.eth.sendTransaction({from:“0x3D5169af2C5E753724d2590a02de07F882917808” , to …
css #container { display: flex; justify-content: space-between; background-color: lightyellow; } #container > div { width: 100px; height: 100px; border: 2px dashed red } HTML <div id=”container”> <div></div> <div></div> <div></div> </div> http://jsfiddle.net/o5dyoqrx/235/
var data = [1 ,9]; // console.log(‘data’, data); var newdata = [1 ,2 ,3,9]; newdata.forEach((item, index)=>{ if(data.indexOf(item) == –1 ) { console.log(‘not found ‘, item); } })
var olddata= [ { name:“string 1”, value:“this”, other: “that” }, { name:“string 2”, value:“this”, other: “that” } ]; var newdata = [ { name:“string 1”, value:“this”, other: “that” }, { name:“string 5”, value:“this”, other: “that” }, { name:“string 4”, value:“this”, other: “that” } ]; newdata.forEach((items, index)=>{ if( olddata.findIndex(item => item.name === items.name) == –1){ …
Get Unique Object Data From two array of objects in Javascript Read More »
1. Download ganache from the official Site 2 . open terminal and type sudo chmod a+x ganache-2.5.4-linux-x86_64.AppImage 3. now double click the file to open ganche
1. Craete nextapp npx create-next-app your-project-name 2. Craete nextapp with tailwind css and typescript npx create-next-app your-project-name –typescript -e with-tailwindcss 3. Craete nextapp with tailwind css only npx create-next-app your-project-name -e with-tailwindcss 4. Craete nextapp with typescript only npx create-next-app your-project-name –typescript
mongorestore -d db_name dump/hello/
{{API_URL}}/doctors?filters[$or][0][createdAt][$gte]=2022-03-04&filters[$or][0][createdAt][$lte]=2022-03-09