Skip to content

Instantly share code, notes, and snippets.

View paolomainardi's full-sized avatar

Paolo Mainardi paolomainardi

View GitHub Profile
@paolomainardi
paolomainardi / pre-commit_debug_code
Created September 25, 2014 23:42
pre-commit_debug_code
#!/usr/bin/env bash
# Author: Boris Guéry <guery.b@gmail.com>
# 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=""
#!/usr/bin/php
<?php
/**
* @file
* A Git pre-commit hook script to run phpmd.
*/
$return_back = '../../';
$php_md_bin = realpath(getcwd() . '/bin/phpmd');
data:
build: containers/data
volumes:
- data:/data
mariadb:
build: containers/mariadb
volumes_from:
- data
% cat ~/.gitconfig ✭
[user]
name = Paolo Mainardi
email = paolo@twinbit.it
[push]
default = simple
[color]
branch = auto
diff = auto
spark:
projects:
redmine_project_id: "sparktool-test-project"
<?xml version='1.0' encoding='UTF-8'?>
<hudson>
<disabledAdministrativeMonitors>
<string>hudson.diagnosis.ReverseProxySetupMonitor</string>
<string>jenkins.security.s2m.MasterKillSwitchWarning</string>
</disabledAdministrativeMonitors>
<version>1.642.4</version>
<numExecutors>0</numExecutors>
<mode>EXCLUSIVE</mode>
<useSecurity>true</useSecurity>
diff --git a/includes/bootstrap.inc b/includes/bootstrap.inc
index c8d6739..d07fccb 100644
--- a/includes/bootstrap.inc
+++ b/includes/bootstrap.inc
@@ -1132,7 +1132,11 @@ function _drupal_bootstrap($phase) {
timer_start('page');
// Initialize the configuration
conf_init();
- break;
+
@paolomainardi
paolomainardi / LICENSE.txt
Created July 19, 2019 12:38 — forked from DWSR/LICENSE.txt
CloudSQL MySQL instance with scheduled exports via Cloud Function. Licensed under Apache 2.0
Apache License
Version 2.0, January 2004
http://www.apache.org/licenses/
TERMS AND CONDITIONS FOR USE, REPRODUCTION, AND DISTRIBUTION
1. Definitions.
"License" shall mean the terms and conditions for use, reproduction,

Keybase proof

I hereby claim:

  • I am paolomainardi on github.
  • I am paolomainardi (https://keybase.io/paolomainardi) on keybase.
  • I have a public key ASAnT6FHMagblpIUvPi0UZYKfznqoHCvPkZUQItcG8rUrgo

To claim this, I am signing this object:

1. Create a new directory;
mkdir Apple\ Enterprise
cd Apple\ Enterprise
2. Generate a certificate signing request
openssl req -nodes -newkey rsa:2048 -keyout ios_enterprise.key -out CertificateSigningRequest.certSigningRequest
3. With the information like so (ensure you give it a password):
Country Name (2 letter code) [AU]:GB
State or Province Name (full name) [Some-State]:London