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
{ | |
"name": "ultimate-load-speed", | |
"version": "1.0.0", | |
"description": "The guideline for better websites.", | |
"main": "webpack.mix.js", | |
"scripts": { | |
"dev": "npm run development -- --env.bundle load && npm run development -- --env.bundle rest", | |
"development": "cross-env NODE_ENV=development node_modules/webpack/bin/webpack.js --progress --hide-modules --config=node_modules/laravel-mix/setup/webpack.config.js", | |
"prod": "npm run production -- --env.bundle load && npm run production -- --env.bundle rest", | |
"production": "cross-env NODE_ENV=production node_modules/webpack/bin/webpack.js --progress --hide-modules --config=node_modules/laravel-mix/setup/webpack.config.js" |
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 if($_COOKIE['enable_ga'] && $_COOKIE['enable_ga']!='never'){ ?> | |
<script type="text/javascript"> | |
jQuery( document ).ready(function($) { | |
function useAnalytics(); | |
}); | |
</script> | |
<?php | |
}elseif($_COOKIE['enable_ga']!='never'){ ?> | |
<div class="letus-use-cookies-for-ga" style=" | |
position: fixed; |
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 | |
class JRegistry extends \Joomla\Registry\Registry {} | |
class JRegistryFormat extends \Joomla\Registry\AbstractRegistryFormat {} | |
class JRegistryFormatIni extends \Joomla\Registry\Format\Ini {} | |
class JRegistryFormatJson extends \Joomla\Registry\Format\Json {} | |
class JRegistryFormatPhp extends \Joomla\Registry\Format\Php {} | |
class JRegistryFormatXml extends \Joomla\Registry\Format\Xml {} | |
class JStringInflector extends \Joomla\String\Inflector {} | |
class JStringNormalise extends \Joomla\String\Normalise {} |
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
rabbitmqctl add_user test test | |
rabbitmqctl set_user_tags test administrator | |
rabbitmqctl set_permissions -p / test ".*" ".*" ".*" |
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
Windows Registry Editor Version 5.00 | |
[HKEY_CURRENT_USER\Software\Microsoft\Windows\CurrentVersion\CloudStore\Store\Cache\DefaultAccount\$$windows.data.bluelightreduction.bluelightreductionstate] | |
[HKEY_CURRENT_USER\Software\Microsoft\Windows\CurrentVersion\CloudStore\Store\Cache\DefaultAccount\$$windows.data.bluelightreduction.bluelightreductionstate\Current] | |
"Data"=hex:02,00,00,00,54,83,08,4a,03,ba,d2,01,00,00,00,00,43,42,01,00,10,00,d0,0a,02,c6,14,b8,8e,9d,d0,b4,c0,ae,e9,01,00 |
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
[Xdebug] | |
zend_extension="/usr/lib/php/20151012/xdebug.so" | |
xdebug.idekey="PHPSTORM" | |
xdebug.remote_enable = 1 | |
xdebug.remote_autostart = 0 | |
xdebug.remote_connect_back = on | |
xdebug.remote_host = 10.0.2.2 | |
xdebug.renite_enable = 1 | |
xdebug.max_nesting_level = 1000 | |
xdebug.remote_port = 9000 |
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 | |
define('JPATH_BASE', __DIR__); | |
define('EXTRACT_DIRECTORY', JPATH_BASE.DIRECTORY_SEPARATOR.'tmp/composer'); | |
use Composer\Json\JsonFile; | |
if(!(file_exists(JPATH_BASE.'/libraries/composer.lock') && file_exists(JPATH_BASE.'/libraries/composer.phar') && file_exists(JPATH_BASE.'/libraries/composer.json'))){ | |
die("Seems like composer at joomla isn't initiated, so no need to sync."); | |
} | |
if (file_exists(EXTRACT_DIRECTORY.'/vendor/autoload.php') !== true) { |
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 | |
$reflectionAppClass = new ReflectionClass($this->app); | |
$reflectionAppClassProperty = $reflectionAppClass->getProperty('template'); | |
$reflectionAppClassProperty->setAccessible(true); | |
$reflectionAppClassProperty->setValue($this->app, $template); |
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 | |
/** | |
* @package Joomla.Site | |
* @subpackage com_users | |
* | |
* @copyright Copyright (C) 2005 - 2016 Open Source Matters, Inc. All rights reserved. | |
* @license GNU General Public License version 2 or later; see LICENSE.txt | |
*/ | |
defined('_JEXEC') or die; |
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 /** | |
* Method to get the starting number of items for the data set. | |
* | |
* @return integer The starting number of items available in the data set. | |
* | |
* @since 12.2 | |
*/ | |
public function getStart() | |
{ | |
$store = $this->getStoreId('getstart'); |
NewerOlder