see https://pnpm.io/installation
$ pnpm --versioncorepack will NOT be distributed with Node.js v25>= https://nodejs.org/docs/latest-v24.x/api/corepack.html
see https://pnpm.io/installation
$ pnpm --versioncorepack will NOT be distributed with Node.js v25>= https://nodejs.org/docs/latest-v24.x/api/corepack.html
| #!/bin/sh | |
| sudo yum install -y https://dev.mysql.com/get/mysql57-community-release-el7-11.noarch.rpm | |
| sudo yum install -y mysql-community-client |
| module.exports = | |
| { | |
| globals: { | |
| __DEV__: true, | |
| }, | |
| verbose: false, // Enable verbose error logging. Sometimes useful when debugging test configuration. | |
| collectCoverage: true, // Enable code coverage in Jest | |
| collectCoverageFrom: [ | |
| '<rootDir>/src/**/*.{vue}', // a list of filename patterns to consider for code coverage | |
| ], |
I created a new htaccess generator for angular apps that makes it easier for you to create the optimal htaccess file: https://julianpoemp.github.io/ngx-htaccess-generator/
The goal of this generator is to create the optimal .htaccess file for Angular apps easily. By default the generator creates an .htaccess file that solves the route redirection issue. To make it easier for you I created a kind of interview mode with some questions. As an additional feature the generator supports adding exclusions for example if you have installed a blog in a subdirectory of your web application and more!
The generator 😁: https://julianpoemp.github.io/ngx-htaccess-generator/
The project: https://github.com/julianpoemp/ngx-htaccess-generator
| window.Clipboard = (function(window, document, navigator) { | |
| var textArea, | |
| copy; | |
| function isOS() { | |
| return navigator.userAgent.match(/ipad|iphone/i); | |
| } | |
| function createTextArea(text) { | |
| textArea = document.createElement('textArea'); |
By: @BTroncone
Also check out my lesson @ngrx/store in 10 minutes on egghead.io!
Update: Non-middleware examples have been updated to ngrx/store v2. More coming soon!
Table of Contents
| <?php | |
| JUri::current();// It's very strange, but without this line at least Joomla 3 fails to fulfill the task | |
| $router = JSite::getRouter();// get router | |
| $query = $router->parse(JUri::getInstance()); // Get the real joomla query as an array - parse current joomla link | |
| $url = 'index.php?'.JUri::getInstance()->buildQuery($query); | |
| // or | |
| $currentUrl = JUri::getInstance()->toString(); |
Visit the new improved script here! Smooth scroll to top of page (Improved!)
If you need a plain JavaScript function to add a smooth scrolling back to the top of the page, you can use this script.
<body> tag. Like this: <body id="top">onclick function to the link. Like this: <a href="#top" onclick="scrollToTop(); return false">Back to Top ↑</a>