Skip to content

Instantly share code, notes, and snippets.

View mohrekopp's full-sized avatar

Chinthujan Sehasothy mohrekopp

View GitHub Profile

Keybase proof

I hereby claim:

  • I am mohrekopp on github.
  • I am mohrekopp (https://keybase.io/mohrekopp) on keybase.
  • I have a public key whose fingerprint is BC10 A571 F271 CF1F 9640 06F0 5D46 6CDB 8020 CBE8

To claim this, I am signing this object:

@mohrekopp
mohrekopp / shopware-bulk-enable-translations.php
Created September 18, 2014 17:42
Quick n dirty method to enable all or selected country-translations in Shopware
<?php
// paste your serialized translation-data from your SQL-Statement,
// e.g. SELECT objectdata FROM s_core_translations WHERE objecttype = 'config_countries' AND objectlanguage = 2;
$string = '';
$translationArray = unserialize($string);
// add countries to be enabled or leave this array empty to enable all countries
$countries = array('Cyprus' /* , 'Hungary', etc ... */ );
@mohrekopp
mohrekopp / README.md
Last active August 29, 2015 14:03 — forked from bcremer/README.md

sw-fix-cs

Wrapper around php-cs-fixer with preselected fixers matching the shopware4 CS

Installation

wget https://gist.github.com/bcremer/8555587/raw/61f27b942777aa6a0f2b6d1c1b99afdd5ec73a15/sw-fix-cs ~/bin
chmod +x ~/bin/sw-fix-cs