Install Google APIs Client Library for PHP
for more info check https://github.com/googleapis/google-api-php-client
1 |
composer require google/apiclient:"^2.0" |
Authentication
Install Google APIs Client Library for PHP
for more info check https://github.com/googleapis/google-api-php-client
1 |
composer require google/apiclient:"^2.0" |
Authentication
C:\wamp64\bin\php\php7.1.9
folderphp.ini
and find this line:;curl.cainfo
Change it to:
curl.cainfo = "C:\wamp64\bin\php\php7.1.9\cacert.pem"
Make sure you remove the semicolon at the beginning of the line.
Save changes to php.ini
, restart WampServer, and you’re good to go!
if laravel url is working like index.php/user but not working in /user
1 2 |
// run this command sudo a2enmod rewrite |
1 2 |
// run this command * * * * * php /path/to/artisan schedule:run >> /dev/null 2>&1 |
1 2 3 4 5 |
$(document).ready(function() { $('.carousel').mouseover(function(){ $(this).carousel('next'); }); }); |
It might be related to corruption in Angular Packages or incompatibility of packages.
Please follow the below steps to solve the issue.
Update
ASP.NET Boilerplate suggests here to use yarn because npm has some problems. It is slow and can not consistently resolve dependencies, yarn solves those problems and it is compatible to npm as well.
HTML
1 2 3 4 5 6 7 |
<div class="col-md-12 col-sm-12"> <div class="form-group"> <label>Upload Image</label> <input name="image" type="file" id="fileName" accept=".jpg,.jpeg,.png,.webp" onchange="validateFileType()"> <div class="gallery"></div> </div> </div> |
JS
Build for production
1 |
ng build --prod=true |
Build for dev
1 |
ng build --env=cbdev --aot=true --output-hashing all |
Run project using different port
1 |
ng serve --port 4401 |
Create component
1 |
ng generate component name |
Create module
1 |
ng generate... |