Here are suggested hooks for integration manager repository, in a composer based PHP project.
The IM has all the developer hooks, more the prepare-commit-msg to intercept unwanted merges.
| using System; | |
| using UnityEngine; | |
| public class WeatherSystem : MonoBehaviour | |
| { | |
| [Serializable] | |
| public class Season | |
| { | |
| public float duration; | |
| public Color lightColor; |
Here are suggested hooks for integration manager repository, in a composer based PHP project.
The IM has all the developer hooks, more the prepare-commit-msg to intercept unwanted merges.
| /* | |
| * IMPORTANT: The queries below are written for Magento Enterprise. If you're going to run them on Magento Community, you need | |
| * to replace all instances of ".row_id" with ".entity_id". See this for context: http://magento.stackexchange.com/questions/139740/magento-2-schema-changes-for-ee-catalog-staging | |
| * | |
| * When importing products in Magento 2, if you specify store view codes in the store_view_code column, product data will be set at | |
| * both the global scope as well as the specific store view scope. This is not ideal because now you have duplicate | |
| * data at two different scopes that shouldn't actually be duplicated. The scripts below clean up this data by finding | |
| * data set at specific store view scopes and if it's an exact match to the data set at the global store view, then it | |
| * deletes the data set at the specific store view scope. | |
| * |
| <!-- Put this function inline on the header --> | |
| <script> | |
| function whenAvailable(name, callback) { | |
| var interval = 10; // ms | |
| window.setTimeout(function() { | |
| if (window[name]) { | |
| callback(window[name]); | |
| } else { | |
| window.setTimeout(arguments.callee, interval); | |
| } |
| diff --git a/downloader/lib/Mage/HTTP/Client/Curl.php b/downloader/lib/Mage/HTTP/Client/Curl.php | |
| index a777beb..1a39b19 100644 | |
| --- a/downloader/lib/Mage/HTTP/Client/Curl.php | |
| +++ b/downloader/lib/Mage/HTTP/Client/Curl.php | |
| @@ -380,7 +380,7 @@ implements Mage_HTTP_IClient | |
| * @link http://php.net/manual/ru/function.curl-setopt.php | |
| */ | |
| - $this->curlOption(CURLOPT_SSLVERSION, 1); | |
| + $this->curlOption(CURLOPT_SSLVERSION, 5); |
| diff --git a/lib/Unserialize/Parser.php b/lib/Unserialize/Parser.php | |
| index 20a6a3c..88c6555 100644 | |
| --- a/lib/Unserialize/Parser.php | |
| +++ b/lib/Unserialize/Parser.php | |
| @@ -34,6 +34,7 @@ class Unserialize_Parser | |
| const TYPE_DOUBLE = 'd'; | |
| const TYPE_ARRAY = 'a'; | |
| const TYPE_BOOL = 'b'; | |
| + const TYPE_NULL = 'N'; | |
| var Vector = function(x, y) { | |
| this.x = x || 0; | |
| this.y = y || 0; | |
| }; | |
| // return the angle of the vector in radians | |
| Vector.prototype.getDirection = function() { | |
| return Math.atan2(this.y, this.x); | |
| }; |
| <?php | |
| /** | |
| * Magento | |
| * | |
| * 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: | |
| * http://opensource.org/licenses/osl-3.0.php |
| var p1={ | |
| x:0, | |
| y:0 | |
| }; | |
| var p2={ | |
| x:0, | |
| y:1 | |
| }; |
| #!/bin/bash | |
| set -e | |
| show_help() { | |
| cat << EOF | |
| Usage: ${0##*/} [-u USER] [-p PASS] [-P PORT] [-H HOST] [DATABASE] | |
| ${0##*/} -h | |
| Open a standard connection in Sequel PRO. |