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
| preset: | |
| title: Mekit - Minimal | |
| description: A minimal installation preset just like D7's original | |
| modules: ~ | |
| themes: ~ | |
| libraries: ~ | |
| configuration: | |
| form: | |
| site_information: | |
| site_name: |
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 | |
| /** | |
| * Product Main Page | |
| */ | |
| /** @var Array $TV - TemplateVariables - All defined variables in this template file */ | |
| $TV = get_defined_vars(); | |
| /* | |
| <div id="node-<?php print $TV["nid"]; ?>" class="<?php print $TV["classes"]; ?> product-full clearfix"<?php print $TV["attributes"]; ?>> | |
| <div class="row"<?php print $TV["content_attributes"]; ?>> |
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
| if (preg_match('@version:[\'"](?:CKEditor )?([\d\.]+)(?:.+revision:[\'"]([\d]+))?@', $line, $version)) { |
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 | |
| error_reporting(E_ALL); | |
| ini_set("display_errors",1 ); | |
| $socket_context = stream_context_create([]); | |
| $timeout = 30; | |
| $errno = 0; | |
| $errstr = ''; |
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 | |
| require_once 'include/utils/progress_bar_utils.php'; | |
| /** | |
| * Class progress_bar_utilsTest | |
| */ | |
| class progress_bar_utilsTest extends PHPUnit_Framework_TestCase | |
| { | |
| public function testprogress_bar_flush() |
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 | |
| /** | |
| * Enable barcode field handling for Feeds | |
| * | |
| * Implements hook_feeds_processor_targets_alter(). | |
| * @param array &$targets | |
| * Array containing the targets to be offered to the user. Add to this array | |
| * to expose additional options. |
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
| /** | |
| * Add beans to prospect list | |
| */ | |
| protected function action_addToProspectList() { | |
| global $beanList; | |
| $answer = [ | |
| 'STATUS' => 'UNKNOWN', | |
| 'ERRORS' => [], | |
| 'REQUEST' => $_REQUEST, | |
| ]; |
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 | |
| /** | |
| * Created by Adam Jakab. | |
| * Date: 06/03/17 | |
| * Time: 12.43 | |
| */ | |
| namespace Agora\Alter\Form\Id; | |
| use Mekit\Drupal7\HookInterface; |
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
| #!/bin/bash | |
| #PATHS | |
| RSYNC="/usr/bin/rsync" | |
| SRC="/mnt/storage/data/FOLDER_TO_BACKUP" # !!!NO TRAILING SLASH PLEASE!!! | |
| DST="/mnt/autofs/WD-BACKUP-RW/AdamJakab/FOLDER_TO_BACKUP" # !!!NO TRAILING SLASH PLEASE!!! | |
| # SET UP VARIABLES FOR CP | |
| RSYNC_PATH_SRC="${SRC}/" | |
| RSYNC_PATH_DST="${DST}/" |
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
| # GAIA: | |
| # https://github.com/MTG/gaia/blob/master/README.md | |
| # ESSENTIA: | |
| # https://github.com/MTG/homebrew-essentia | |
| # https://essentia.upf.edu/installing.html | |
| # Will create `Brewfile` wil all currently installed taps and packages | |
| # After this process wou might want to use it it reinstall what was already there before |