If this happens and if you ping www.site.com and get ping request could not find host than you should add A record to dns zone. You will have: Record Type: A Name: www Content nameserver or ip TTL: auto
Acces denied for windows image for hyper-v
When you can’t start machine because of the permissions(access denied for….) first you need to find out the id of the virtual machine created in hyper-v. You can do that using: Get-VM ‘Your_VM_name’ | Select-Object VMID You will get somethinf like VMId —- 9bof4bbb-9565-42a4-8b13-c4f63e5813a7 After this you need to grant access to your file(windows image… Continue reading Acces denied for windows image for hyper-v
React-native and Redux Toolkit
First of all create a new project using the following command: npx react-native init ReactReduxToolkit After the project is created, go inside the project by changing the directory using cd command: cd ReactReduxToolkit Once you are inside the project folder you need to install Redux Toolkit npm install @reduxjs/toolkit
TypeError: cli.init is not a function
If you get this error when trying to create a react native project it means that the react cli is not installed globaly. You need to unistall react-native-cli using the following command: npm uninstall -g react-native-cli After that reinstall react-native-cli and react-native globaly using the commands: npm install -g react-native-cli npm install -g react-native When… Continue reading TypeError: cli.init is not a function
Authorization header not received in php
If you are not getting the authorization header to take your bearer token or other values you should know it is happening in apache. The solution is quite simple. You need to add to your htaccess SetEnvIf Authorization .+ HTTP_AUTHORIZATION=$0
Backup and restore mysql database in linux
Not once you will need to make a backup and restore mysql database in linux. Is quite easy to do this. For the backup you will need to use mysqldump.
Where can I find free courses?
If you want to learn programming languages we will help you find good tutorials or courses on the web.
Cron jobs in linux
Today we will talk about cron jobs. You can run cron jobs once a day, once a week, one a month or even a few minutes. Next we will see how to install the cron job. First you have to run # crontab -e
Where or in codeigniter php
Hello, Today I will tell you how to use where or in codeigniter. There are 2 ways to resolve this problem.
Dates in php
Get current date in PHP | Date format parameters | How to format a certain date in php Today we will talk about dates in php language with some examples. Get current date in PHP To get the current dateĀ you can write this code date(); If you want to format the date in a… Continue reading Dates in php