File/folder name | Description | Details |
---|---|---|
name_of_the_mod | Main file. | The main PHP |
ule.php | file should | |
have the same | ||
name as the | ||
module's root | ||
folder. For | ||
instance, for | ||
the BlockCMS |
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
/** | |
* Open file.csv and read all lines | |
**/ | |
var fs = require('fs'); | |
var casper = require('casper').create({ | |
verbose: true, | |
logLevel: 'error', | |
pageSettings: { |
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
metrics: | |
services: | |
label: "Appels du Container de Services" | |
matching_calls: | |
php: | |
- callee: | |
selector: "=Symfony\Component\DependencyInjection\Container::get" | |
argument: { 1: "^"} | |
tests: |
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 | |
/** | |
* 2007-2018 PrestaShop | |
* | |
* NOTICE OF LICENSE | |
* | |
* This source file is subject to the Open Software License (OSL 3.0) | |
* that is bundled with this package in the file LICENSE.txt. | |
* It is also available through the world-wide-web at this URL: | |
* https://opensource.org/licenses/OSL-3.0 |
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 Fatal error: Uncaught Error: Call to undefined method Symfony\Bundle\FrameworkBundle\Console\Application::setCommandLoader() in /home/dev/Projects/PrestaShop/vendor/symfony/symfony/src/Symfony/Bundle/FrameworkBundle/Console/Application.php:162 | |
Stack trace: | |
#0 /home/dev/Projects/PrestaShop/vendor/symfony/symfony/src/Symfony/Bundle/FrameworkBundle/Console/Application.php(132): Symfony\Bundle\FrameworkBundle\Console\Application->registerCommands() | |
#1 phar:///usr/local/bin/composer/vendor/symfony/console/Application.php(94): Symfony\Bundle\FrameworkBundle\Console\Application->add(Object(Symfony\Component\Console\Command\HelpCommand)) | |
#2 /home/dev/Projects/PrestaShop/vendor/symfony/symfony/src/Symfony/Bundle/FrameworkBundle/Console/Application.php(40): Symfony\Component\Console\Application->__construct('Symfony', '3.4.1') | |
#3 /home/dev/Projects/PrestaShop/src/PrestaShopBundle/Service/Command/AbstractCommand.php(60): Symfony\Bundle\FrameworkBundle\Console\Application->__construct(Object(AppKernel)) | |
#4 /home/dev |
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
/** | |
* let it = arrayIterator(['foo', 'bar', 'baz']); | |
* it.next().value; // "foo" | |
* it.next().value; // "bar" | |
* it.next().value; // "baz" | |
* it.next().value; // undefined | |
*/ | |
function* arrayIterator() { | |
let array = arguments; | |
let index = 0; |
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
Display page hooks (Legacy page) | |
================================ | |
moduleRoutes | |
actionDispatcherBefore | |
actionDispatcher | |
displayBackOfficeHeader | |
displayBackOfficeTop | |
actionAdminControllerSetMedia | |
actionAdminPerformanceControllerBefore |
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 | |
$new = new Softaculous_API(); | |
$new->login = 'https://user:password@domain.com:2083/frontend/x3/softaculous/index.live.php'; | |
// Domain Name | |
$data['softdomain'] = 'domain.com'; // OPTIONAL - By Default the primary domain will be used | |
// The directory is relative to your domain and should not exist. e.g. To install at http://mydomain/dir/ just type dir. To install only in http://mydomain/ leave this empty. | |
$data['softdirectory'] = 'wp887'; // OPTIONAL - By default it will be installed in the /public_html folder |
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
[ | |
{ | |
"login": "nidup", | |
"id": 2104359, | |
"avatar_url": "https:\/\/avatars2.githubusercontent.com\/u\/2104359?v=3", | |
"gravatar_id": "", | |
"url": "https:\/\/api.github.com\/users\/nidup", | |
"html_url": "https:\/\/github.com\/nidup", | |
"followers_url": "https:\/\/api.github.com\/users\/nidup\/followers", | |
"following_url": "https:\/\/api.github.com\/users\/nidup\/following{\/other_user}", |
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
GITHUB_OWNER=vuejs | |
GITHUB_REPOSITORY=vue | |
GITHUB_LOGIN=mickaelandrieu | |
GITHUB_PASSWORD=ThisIsASecr3t | |
CORE_MEMBERS="yyx990803 defcc kazupon posva Jinjiang" |