https://preview.themeforest.net/item/appino-a-perfect-mobile-app-landing-page/full_screen_preview/20601547?_ga=2.176703333.1183745144.1624691820-125615860.1589778961
Saturday, 26 June 2021
Sunday, 20 June 2021
Ionic Storage
Store key for ionic async this.storage.get
Array Push After Creating Object JS
name: 'Angular',
};
let newCourse= Object.assign({}, course);
newCourse.name= 'React';
console.log(course.name); // writes Angular
console.log(newCourse.name); // writes React
For Nested Object we can use of 3rd party libraries, for deep copying objects. In case of lodash, use _.cloneDeep()let newCourse= _.cloneDeep(course);
https://stackoverflow.com/questions/39506619/angular2-how-to-copy-object-into-another-object/44199667Angular - Ionic. Enlarge Photo Viewer
https://stackblitz.com/edit/angular-bkosu5?file=src%2Fapp%2Fapp.component.css
https://morioh.com/p/6bd2fa8478c4
Wednesday, 16 June 2021
PHP-JWT
Note that, by default, Apache will not pass the HTTP_AUTHORIZATION header to PHP. The reason behind this is:
The basic authorization header is only secure if your connection is done over HTTPS, since otherwise the credentials are sent in encoded plain text (not encrypted) over the network which is a huge security issue.
I fully appreciate the logic of this decision. However, to avoid a lot of confusion, add the following to your Apache configuration. Then the code will function as expected. If you’re using NGINX, the code should function as expected:
RewriteEngine On
RewriteCond %{HTTP:Authorization} ^(.+)$
RewriteRule .* - [E=HTTP_AUTHORIZATION:%{HTTP:Authorization}]https://www.sitepoint.com/php-authorization-jwt-json-web-tokens/
Sunday, 13 June 2021
Format Date ( ) JS Functionalities
https://stackoverflow.com/questions/3552461/how-to-format-a-javascript-date
Thursday, 10 June 2021
Install Chocolatey and Update node.js
https://docs.chocolatey.org/en-us/choco/setup
choco install pythonchoco upgrade chocolatey