I hereby claim:
- I am 10111dg on github.
- I am mondoshawan (https://keybase.io/mondoshawan) on keybase.
- I have a public key ASBLvLcQaC33mjcOo-fuVEJm1qKgJMoLWofWm2hwdo18vAo
To claim this, I am signing this object:
| (function($) { | |
| function triggerColLeftIcon(){ | |
| $('.col-icon-left').css({'display':'none!important'}); | |
| $('.col-icon-right').css({'display':'block!important'}); | |
| } | |
| function triggerColRightIcon(){ | |
| $('.col-icon-right').css({'display':'none!important'}); | |
| $('.col-icon-left').css({'display':'block!important'}); | |
| } | |
| $('.col-icon-left').on('click', function(){ |
| (function($) { | |
| // fileinput bei android deaktivieren | |
| if(navigator.userAgent.match(/Android/i)){}else{ | |
| $.getScript("sites/all/themes/fragnebenan/js/fileinput.min.js", function(){ | |
| console.log('fileinput laden'); | |
| }); | |
| } | |
| })(jQuery); |
| if(navigator.userAgent.match(/Android/i)){$('#mobile-right-col').addClass('mt45');}else{ | |
| $.getScript("sites/all/themes/fragnebenan/js/fileinput.min.js", function(){ | |
| console.log('fileinput laden'); | |
| $.getScript("sites/all/themes/fragnebenan/js/script.js", function(){ | |
| console.log('script laden'); | |
| }); | |
| }); |
| { | |
| "hosting": { | |
| "public": "public", | |
| "ignore": [ | |
| "firebase.json", | |
| "**/.*", | |
| "**/node_modules/**" | |
| ], | |
| "headers": [ { | |
| "source" : "**/*.@(eot|otf|ttf|ttc|woff|font.css)", |
I hereby claim:
To claim this, I am signing this object:
| #save | |
| docker save myusername/myproject:latest | gzip -c > myproject_img_bak05052018.tgz | |
| #restore | |
| gunzip -c myproject_img_bak05052018.tgz | docker load |
| # Backup | |
| docker exec CONTAINER /usr/bin/mysqldump -u root --password=root DATABASE > backup.sql | |
| # Restore | |
| cat backup.sql | docker exec -i CONTAINER /usr/bin/mysql -u root --password=root DATABASE | |
| DELETE FROM `catalog_category_entity` WHERE `entity_id` >= 3; | |
| ALTER TABLE `catalog_category_entity` AUTO_INCREMENT = 3; |
| APT::Periodic::Update-Package-Lists "1"; | |
| APT::Periodic::Download-Upgradeable-Packages "1"; | |
| APT::Periodic::AutocleanInterval "7"; | |
| APT::Periodic::Unattended-Upgrade "1"; |
| // You can set other product data with $product->setAttributeName() if you want to update more data | |
| if ($product->getPrice() != $price) { | |
| $product->setPrice($price) | |
| ->setStoreId(0) // this is needed because if you have multiple store views, each individual store view will get "Use default value" unchecked for multiple attributes - which causes issues. | |
| ->save(); | |
| } |