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
data: | |
build: containers/data | |
volumes: | |
- data:/data | |
mariadb: | |
build: containers/mariadb | |
volumes_from: | |
- 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
#!/usr/bin/php | |
<?php | |
/** | |
* @file | |
* A Git pre-commit hook script to run phpmd. | |
*/ | |
$return_back = '../../'; | |
$php_md_bin = realpath(getcwd() . '/bin/phpmd'); |
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
#!/usr/bin/env bash | |
# Author: Boris Guéry <[email protected]> | |
# https://github.com/borisguery/git-keywords-checker | |
# Add or remove keywords here | |
KEYWORDS_REGEX="var_dump\(|die\(|Zend_Debug::|print_r\(|console\.(debug|info|log|warn)\(" | |
# Add extensions to check here | |
EXTENSIONS_REGEX="(.php$|.module$|.inc$|.install$|.test$|.profile$|.theme$|.js$)" | |
ERRORS_BUFFER="" |
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
#!/usr/bin/php | |
<?php | |
/** | |
* @file | |
* A Git pre-commit hook script to check files for PHP syntax errors and Drupal | |
* coding standards violations. Requires phpcs and Coder Sniffer: | |
* | |
* @see https://drupal.org/node/1419988 | |
*/ |
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
#!/usr/bin/php | |
<?php | |
/** | |
* @file | |
* place this file in your $GIT_DIR/hooks directory and call it pre-commit | |
* anyother scripts you want to execture on commit can then also be placed | |
* in $GIT_DIR/hooks with the correct naming convention.. ie: | |
* pre-commit_[whatevernameyouwant] make that file executable and this script | |
* finds it and runs it. | |
*/ |
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
diff --git a/elite.make b/elite.make | |
index 0a6fdee..75070c9 100644 | |
--- a/elite.make | |
+++ b/elite.make | |
@@ -436,6 +436,7 @@ projects[domain_bonus][subdir] = "contrib" | |
projects[domain_bonus][version] = "1.0-alpha1" | |
projects[domain_bonus][type] = "module" | |
projects[domain_bonus][patch][] = "http://files.agavee.com/patches/remove_object_log_dependence.patch" | |
+projects[domain_bonus][patch][] = "https://drupal.org/files/issues/domain_bonus-UBERNAME_fix-2329747-2.patch" | |
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 | |
require_once 'goutte.phar'; | |
use Goutte\Client; | |
$client = new Client(); | |
$crawler = $client->request('GET', 'http://dbunico20.beniculturali.it/DBUnicoManagerWeb/dbunicomanager/searchPlace?modulo=luoghi&tipologiaLuogo=1'); | |
$crawler->filter('mibac metainfo workflow')->each(function ($node) { | |
print $node->text(); | |
}); |
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
82c82 | |
< CONFIG["LIBRUBY_DLDFLAGS"] = "-undefineddynamic_lookup -multiply_definedsuppress -install_name $(libdir)/$(LIBRUBY_SO) -current_version $(MAJOR).$(MINOR).$(TEENY) -compatibility_version $(ruby_version) $(XLDFLAGS)" | |
--- | |
> CONFIG["LIBRUBY_DLDFLAGS"] = "-undefineddynamic_lookup -multiply_defined suppress -install_name $(libdir)/$(LIBRUBY_SO) -current_version $(MAJOR).$(MINOR).$(TEENY) -compatibility_version $(ruby_version) $(XLDFLAGS)" | |
125c125 | |
< CONFIG["DLDFLAGS"] = "-undefineddynamic_lookup -multiply_definedsuppress" | |
--- | |
> CONFIG["DLDFLAGS"] = "-undefineddynamic_lookup -multiply_defined suppress" |
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
/** | |
* Helper function for cloning and drupal_render()'ing elements. | |
*/ | |
function aquaknow_render_clone($elements) { | |
static $instance; | |
if (!isset($instance)) { | |
$instance = 1; | |
} | |
foreach (element_children($elements) as $key) { | |
if (isset($elements[$key]['#id'])) { |
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
.block-toggle .content ul.content-links, .block-toggle .content ul.links{ | |
background-color: #5EA3D0; | |
z-index: -10; | |
} | |
body #column-right, .one-sidebar #column-right { | |
background: #f7f9fc url(../images/sidebar_bg.png) no-repeat right top; | |
z-index: -20; | |
} |