Author name: Manuel Bogner

Rotate Monitor under Linux

I have a pivot monitor and want to set it up correctly. First you get a list of your connected displays with the command xrandr -q This says something like HDMI-0 connected 1920×1200+1920+0 (normal left inverted right x axis y axis) 593mm x 371mm 1920×1200     59.95*+  59.88 1920×1080     60.00    59.94    50.00    60.05    60.00    50.04 1680×1050     […]

Rotate Monitor under Linux Read More »

Update gem behind proxy

I tried to update gem behind a proxy and got the following error message: sudo gem update –system ERROR: While executing gem … (Gem::RemoteFetcher::FetchError) Errno::ETIMEDOUT: Connection timed out – connect(2) for “api.rubygems.org” port 443 (https://api.rubygems.org/specs.4.8.gz) Though the http_proxy and https_proxy (also in upper case) was set it didn’t work.  Trying to set the proxy directly

Update gem behind proxy Read More »

Ubuntu 15.10 “error: symbol ‘grub_efi_find_last_device_path”

Updating to the latest grub version (at the moment 2.02~beta2-29ubuntu0.3) leads to “error: symbol ‘grub_efi_find_last_device_path’ not found” when I try to start Windows on my dual boot system having Ubuntu 15.10 next to Windows 10. This can be fixed by downgrading to the version before the latest one in the ubuntu repository till this bug

Ubuntu 15.10 “error: symbol ‘grub_efi_find_last_device_path” Read More »

Configure Redis-Cache in Magento 2

To use redis for caching in magento2 I added the following part in app/etc/env.php: ‘cache’ => array ( ‘frontend’ => array ( ‘default’ => array ( ‘backend’ => ‘Cm_Cache_Backend_Redis’, ‘backend_options’ => array ( ‘server’ => ‘127.0.0.1’, ‘port’ => ‘6379’, ‘persistent’ => ”, ‘database’ => ‘0’, ‘force_standalone’ => ‘0’, ‘connect_retries’ => ‘1’, ‘read_timeout’ => ’10’, ‘automatic_cleaning_factor’

Configure Redis-Cache in Magento 2 Read More »

Magento Update Script

To Update massive amounts of data in magento without going directly into the database I found an interesting piece of code under http://www.mydons.com/writing-custom-magento-shell-script/: <?php require_once ‘abstract.php’; /** * Mydons Inventoryupdate Shell Script * * @author Mydons */ class Mydons_Shell_Inventory extends Mage_Shell_Abstract { /** * Run script * */ public function run() { Mage::app()->setCurrentStore(Mage_Core_Model_App::ADMIN_STORE_ID); $file_handle =

Magento Update Script Read More »