Skip to content

Instantly share code, notes, and snippets.

View allardhoeve's full-sized avatar

Allard Hoeve allardhoeve

View GitHub Profile
@allardhoeve
allardhoeve / jira-template.md
Last active October 7, 2020 14:10 — forked from stefanmaric/copy-to-clipboard-bookmarklet.md
Create Bookmarklet (browser bookmark that executes Javsacript) to copy a given text to Clipboard

Copy Jira template to browser

Create Bookmarklet (browser bookmark that executes Javsacript) to copy a given text to Clipboard.

This is the base javascript:

(function (text) {
  var node = document.createElement('textarea')
  var selection = document.getSelection()
@allardhoeve
allardhoeve / 0001-BUGIFX-Magento-Zend-Framework-1-PHP5.6.patch
Created December 18, 2015 11:43 — forked from renttek/0001-BUGIFX-Magento-Zend-Framework-1-PHP5.6.patch
Bugfix for Zend Framework 1 in Magento (>= 1.7.*.*) + PHP 5.6
From 473846959772d8160b34b92ae3bcecddf24b972f Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?Julian=20Nu=C3=9F?= <[email protected]>
Date: Tue, 23 Sep 2014 21:07:29 +0200
Subject: [PATCH 1/1] [BUGIFX] Zend Framework 1 + PHP5.6
---
lib/Zend/Locale/Format.php | 22 +++++++++++-----------
lib/Zend/Service/Audioscrobbler.php | 6 +++---
lib/Zend/Service/Technorati.php | 6 +++---
lib/Zend/Validate/Hostname.php | 4 ++--
@allardhoeve
allardhoeve / docker
Created September 4, 2013 11:08 — forked from onjin/docker
#!/bin/sh
# https://launchpad.net/~dotcloud/+archive/lxc-docker/+packages
### BEGIN INIT INFO
# Provides: docker
# Required-Start: $local_fs $remote_fs
# Required-Stop: $local_fs $remote_fs
# Should-Start: autofs $network $named alsa-utils pulseaudio
# Should-Stop: autofs $network $named alsa-utils pulseaudio
# Default-Start: 2 3 4 5
diff --git app/code/core/Enterprise/Search/Model/Adapter/Abstract.php app/code/core/Enterprise/Search/Model/Adapter/Abstract.php
index dbaa51c..3e2afd2 100644
--- app/code/core/Enterprise/Search/Model/Adapter/Abstract.php
+++ app/code/core/Enterprise/Search/Model/Adapter/Abstract.php
@@ -89,7 +89,7 @@ abstract class Enterprise_Search_Model_Adapter_Abstract
*/
protected $_defaultQueryParams = array(
'offset' => 0,
- 'limit' => 100,
+ 'limit' => Enterprise_Search_Model_Adapter_Solr_Abstract::DEFAULT_ROWS_LIMIT,