brew install cloudflare/cloudflare/cloudflared
This file contains 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
git pull origin master | |
composer install --no-dev | |
php artisan migrate --force |
This file contains 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
// Future versions of Hyper may add additional config options, | |
// which will not automatically be merged into this file. | |
// See https://hyper.is#cfg for all currently supported options. | |
module.exports = { | |
config: { | |
// choose either `'stable'` for receiving highly polished, | |
// or `'canary'` for less polished but more frequent updates | |
updateChannel: 'stable', |
This file contains 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
{"lastUpload":"2020-07-25T04:19:59.517Z","extensionVersion":"v3.4.3"} |
This file contains 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
cd /magento2-root | |
git pull origin master | |
composer install | |
php bin/magento setup:upgrade | |
php bin/magento cache:flush | |
php bin/magento cache:clean | |
php bin/magento setup:di:compile | |
php bin/magento setup:static-content:deploy |
Basic Vue Router Example using Official Vue Router plugin
A Pen by Swapnil Bhavsar on CodePen.
This file contains 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
## Maximum Execution Time. | |
max_execution_time = 18000 | |
## Maximum Input Time. | |
max_input_time = 6000 | |
## Increase Memory Limit (Set more that 768M). | |
memory_limit = 1024M | |
## Increase Maximum size of post data. |
This file contains 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
<VirtualHost *:80> | |
DocumentRoot /var/www/magento2 | |
ServerName mage.dev | |
ServerAlias mage.dev | |
<Directory /var/www/magento2> | |
Options Indexes FollowSymLinks MultiViews | |
AllowOverride All | |
</Directory> | |
</VirtualHost> |
This file contains 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
upstream fastcgi_backend { | |
server unix:/var/run/php5-fpm.sock; | |
} | |
server { | |
listen 80; | |
## Ex. yourdomain.com | |
server_name mage.dev; | |
## Define project root | |
set $MAGE_ROOT /var/www/magento2; |
This file contains 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
<?php | |
/** | |
* Widget Name: Company WidgetName Widget | |
* Description: A sample widget. | |
*/ | |
class Company_WidgetName_Widget extends WP_Widget { | |
/** | |
* Register widget with WordPress. | |
*/ |
NewerOlder