sudo chmod -R 777 / var /www/html/wordpress
Read moreGo to your php.ini file
Read morefunction copyToClipboard ( elementId ) { var copyTextarea = document . getElementById ( elementId ); console . log ( copyTextarea ); copy…
Read morefunction getDateTime ( MatchTimeStamp ){ var date = new Date ( MatchTimeStamp ); var Hours = date . getHours () > 12 ? date . getH…
Read more//first get all the value by get option $saved_lisc_data = get_option ( 'lisc_settings' ); //then put the update the key and its value $saved_…
Read moreAPI response Value reponse is string type to convert into object use json_decode ( $results )
Read moreStep 1 - Generate SSH key first ssh-keygen -t ed25519 -C "your-github-email@email.com" Just press enter again press enter , now your key will g…
Read more1 . sudo apt install httrack webhttrack 2. httrack https://lunacreativity.com -O /tmp
Read moreIn 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. …
Read morelet Web3 = require ( 'web3' ); // console.log('first, ', Web3) //connection with local blockchanin server let Ganache = new Web3 ( …
Read morecss #container { display: flex; justify-content: space-between; background-color: lightyellow; } #container > div { width: 100px; height: 10…
Read morevar data = [ 1 , 9 ]; // console.log('data', data); var newdata = [ 1 , 2 , 3 , 9 ]; newdata . forEach (( item , index ) => { …
Read morevar olddata = [ { name : "string 1" , value : "this" , other : "that" }, { name : "string 2" , value…
Read moreInstall Ganache In Ubuntu
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…
Read more1. Craete nextapp npx create-next-app your-project-name 2. Craete nextapp with tailwind css and typescript npx create-next-app your-project-nam…
Read morerestore mongodb dataabse
mongorestore -d db_name dump/hello/
Read more{{API_URL}} /doctors?filters[$or][0][createdAt][$gte]=2022-03-04&filters[$or][0][createdAt][$lte]=2022-03-09
Read more$( window ). on ( "navigate" , function ( event, data ) { var direction = data. state . direction ; if (direction == 'back' ) {…
Read morein .eslintrc replace the existing code with { "extends": ["next/babel"] } Create file called .babelrc in your root directory and a…
Read morego to the schema for the particular content type and add "options" : { "draftAndPublish" : false },
Read more1 . install pusher npm i pusher 2 . inport pusher const Pusher = require ( "pusher" ); 3 . Initialize The pusher app details …
Read moremodule.exports = { index: async ctx => { // Get posted params // const params = JSON.parse(ctx.request.body); //if post raw object …
Read more{{API_LOCAL}} /patients?sort[0]=firstName:asc&sort[1]=updatedAt:desc
Read more// 'use strict'; /** * This is controller for `essential` */ module . exports = { async sendEmail ( ctx ) { try { let userResp…
Read moreChange Postgres Password
To change the the postgres user's password follow this steps Login into the psql: $ sudo -u postgres psql Then in the psql console change the passwo…
Read moreStrapi findOne Query Where Condition
//get logged in member id let response = await strapi . db . query ( 'api::doctor.doctor' ). findOne ({ …
Read moreuser.js
'use strict' ; /** * Auth.js controller * * @description : A set of functions called "actions" for managing `Auth`. */ /* eslint-d…
Read more