For example, you want to set 40% alpha transparence to #000000
(black color), you need to add 66
like this #66000000
.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Ubuntu | |
************************* | |
If driver not found error then | |
-> If php version is 8.2, else you can change 8.2 to your preffered php version on server | |
-> Run below command. | |
sudo apt install php8.2-dev | |
sudo update-alternatives --set php /usr/bin/php8.2 | |
sudo update-alternatives --set php-config /usr/bin/php-config8.2 | |
sudo update-alternatives --set phpize /usr/bin/phpize8.2 | |
sudo pecl install -f sqlsrv |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Link - https://chatgpt.com/share/986db3e4-ec79-473e-a749-ee9e359b1f8f | |
------- | |
How to set up and run your Node.js application on an Ubuntu server using Apache and NVM, follow these steps: | |
1. Install NVM (Node Version Manager) | |
1.1 Install bash: | |
------- | |
curl -o- https://raw.githubusercontent.com/nvm-sh/nvm/v0.39.1/install.sh | bash | |
1.2 Source NVM: |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<!DOCTYPE html> | |
<html> | |
<head> | |
<meta charset="utf-8"> | |
<meta name="viewport" content="width=device-width, initial-scale=1"> | |
<title></title> | |
<link href="https://unpkg.com/[email protected]/dist/video-js.min.css" rel="stylesheet"> | |
<link href="https://unpkg.com/videojs-record/dist/css/videojs.record.min.css" rel="stylesheet"> | |
<script src="https://unpkg.com/[email protected]/dist/video.min.js"></script> |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Reference Link (https://medium.com/how-to-react/setup-multilingual-in-react-js-using-i18n-module-33b1bfbb57cd) | |
------- | |
1. Installation | |
npm install react-i18next i18next | |
npm i18next-browser-languagedetector //this is for autometic browser lang detactor | |
2. Create i18n.js file inside src. | |
** file code below attached. | |
3. now create a locales directory inside the src directory. Here we will keep our translation files in JSON format. | |
So after creating the directory create en and hn directory inside locales directory and then create translation.json file in | |
each directory. |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Ref Link: | |
https://jwt-auth.readthedocs.io/en/docs/laravel-installation/ | |
https://medium.com/@online-web-tutor/laravel-10-restful-apis-with-jwt-authentication-tutorial-9f5345e3cce6 | |
Add JWT Auth | |
====================================================== | |
=> composer require tymon/jwt-auth | |
=> Add below in your app.php file from /config folder. | |
'providers' => [ | |
... |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Full Doc to learn react | |
-------------------------------- | |
https://docs.google.com/document/d/1xlMUk6OMMF42X3w1ZG94BnKcmbGI7f5FoF1kCyCBC9Q/edit?usp=sharing | |
Installations + SSL React | |
https://medium.com/@poudel.01anuj/deploying-reactjs-project-on-the-linux-server-with-ssl-certificate-https-aa14bf2737aa | |
-------------------------------- | |
In react js you can store&use enviorment variable | |
- Create .env file in root of project |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Hello Everyone! | |
I will teach you that "How to Install XAMPP on windows (7/8/8.1/10) and | |
make it completely secured". Also "How to install SSL Certificates on multiple virtual hosts (vhosts) Free". | |
And also in this video you will find a lots of XAMPP Errors solutions. Follow the steps given below: | |
1). Download and Install XAMPP. (Latest Version) | |
Search Xampp and Run as administrator. | |
Click on Service tab -> Apache and Mysql -> it will install both service. | |
Then you can start APache and Mysql |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Ref Link | |
====================== | |
Free SSL windows | |
https://gist.github.com/jack2jm/0aebaea31f467581e0bc7b599a485a0a | |
youtube video | |
https://www.youtube.com/watch?v=YMMFfAad3y8 | |
https://www.youtube.com/watch?v=1p985k-sGoc | |
Enable IIS windows | |
https://help.claris.com/en/server-installation-configuration-guide/content/enabling-iis-windows.html | |
Add CGI module |
NewerOlder