-
Get the signing key of the chrome repo
curl -fSsL https://dl.google.com/linux/linux_signing_key.pub | gpg --dearmor | sudo tee /usr/share/keyrings/google-chrome.gpg > /dev/null
-
Add the repo to the list of repos
echo deb [arch=amd64 signed-by=/usr/share/keyrings/google-chrome.gpg] http://dl.google.com/linux/chrome/deb/ stable main | sudo tee /etc/apt/sources.list.d/google-chrome.list
-
Update repo list
sudo apt-get update
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
<input type="text" value="<?php date('Y-m-d') ?>" placeholder="<?php date('Y-m-d') ?>"/> |
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
// Available variables: | |
// - Machine | |
// - interpret | |
// - assign | |
// - send | |
// - sendParent | |
// - spawn | |
// - raise | |
// - actions |
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
<?php | |
namespace App\Http\Livewire; | |
use App\Http\Livewire\Concern\EmitsLaravelEvents; | |
use Livewire\Component; | |
use Weble\LaravelEcommerce\Cart\CartManager; | |
use Weble\LaravelEcommerce\Cart\Event\CartItemAdded; | |
class AddToCart extends Component |
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
SELECT tmp.*, base_component_price + components_price) as product_price | |
FROM( | |
SELECT | |
products.*, | |
base_components.*, | |
SUM(components.price) as components_price, | |
base_components.price as base_component_price, | |
FROM products | |
LEFT JOIN base_components ON products.base_component_code = components.code | |
LEFT JOIN products_components ON products.code = products_components.product_code |
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
<?php | |
return [ | |
// Unique module name, replace with your child theme name | |
'name' => 'yootheme/{child_theme}', | |
// Bootstrap code, executed when module is loaded | |
'main' => function () { | |
// Executed when child theme is active |
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
<?php | |
// load zoo | |
require_once(JPATH_ADMINISTRATOR.'/components/com_zoo/config.php'); | |
$zoo = App::getInstance('zoo'); | |
// New Item? alternatively you load using $zoo->table->item->load($id); | |
$item = new Item(); | |
foreach ($item->getElements() as $element ) { | |
$element->bindData($data); | |
} |
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
(function($){ | |
var Plugin = function(){}; | |
$.extend(Plugin.prototype, { | |
name: 'REPLACE_NAME', | |
initialize: function(element, options){ | |
var $this = this; |
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
<?php | |
/** | |
* @package Parking | |
* @copyright Copyright (C) 2011 Weble | |
* @license GNU GPLv3 <http://www.gnu.org/licenses/gpl.html> | |
* @link http://www.weble.it | |
*/ | |
/** | |
* Database Locatable Behaviour |
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
<?php | |
/** | |
* @copyright Copyright (C) 2011 Weble | |
* @license GNU GPLv3 <http://www.gnu.org/licenses/gpl.html> | |
* @link http://www.weble.it | |
*/ | |
/** | |
* Controller Uploadable Behavior | |
* |