This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Umfeld: kleines bis mittleres Unternehmen | |
Essentielle Software: | |
- Chrome | |
- Microsoft Office 365 | |
- Cyberduck | |
- Google Drive | |
- NVM (Node Version Manager) | |
- Homebrew | |
- python |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
{"lastUpload":"2020-10-21T13:20:52.676Z","extensionVersion":"v3.4.3"} |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
{"lastUpload":"2020-02-13T12:34:44.745Z","extensionVersion":"v3.4.3"} |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
ssh-keygen -t rsa -b 4096 -N '' -C "[email protected]" -f ~/.ssh/id_rsa | |
ssh-keygen -t rsa -b 4096 -N '' -C "[email protected]" -f ~/.ssh/github_rsa | |
ssh-keygen -t rsa -b 4096 -N '' -C "[email protected]" -f ~/.ssh/mozilla_rsa |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
import Rx from 'rxjs'; | |
import { ActionsObservable } from 'redux-observable'; | |
import { ajax } from 'rxjs/observable/dom/ajax'; | |
import { loadGames } from '../../src/epics/games'; | |
import { ajax } from 'rxjs/observable/dom/ajax'; | |
jest.mock('rxjs/observable/dom/ajax', () => ({ | |
ajax: jest.fn(), | |
})); |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
// http://compass-style.org/reference/compass/helpers/sprites/ | |
@mixin get-sprite($map, $sprite, $repeat: no-repeat, $height: true, $width: true) { | |
//http://compass-style.org/reference/compass/helpers/sprites/#sprite-file | |
$sprite-image: sprite-file($map, $sprite); | |
// http://compass-style.org/reference/compass/helpers/sprites/#sprite-url | |
$sprite-map: sprite-url($map); | |
// http://compass-style.org/reference/compass/helpers/sprites/#sprite-position |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
cat access.log.1 | grep " 500 " | awk -F'"' '{print $2,",",$4,",",$6}' > /home/ubuntu/500.log | |
cat access.log.1 | grep " 404 " | awk -F'"' '{print $2,",",$4,",",$6}' > /home/ubuntu/404.log |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
SQL | |
mysql -u <dbuser> -p | |
update core_config_data set value = 'http://mydomain/' where path = 'web/unsecure/base_url'; | |
update core_config_data set value = 'http://mydomain/' where path = 'web/secure/base_url'; |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
{ | |
"require": { | |
"connect20/dsdata_nostate": "*", | |
"therouv/debitpayment": "*", | |
"connect20/bankpayment": "*", | |
"connect20/locale_mage_community_de_de": "*", | |
"magento-hackathon/magento-composer-installer": "*", | |
"colinmollenhour/cache-backend-redis": "*", | |
"colinmollenhour/redis-session": "*", | |
"firegento/germansetup": "*", |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
$this->db_access->write("DB_NAME", "UPDATE `cataloginventory_stock_item` SET `qty` = '".$qty."', `is_in_stock` = '".$is_in_stock."' WHERE `product_id` = '".$product_id."'"); | |
$this->db_access->write("DB_NAME", "UPDATE `cataloginventory_stock_status` SET `qty` = '".$qty."',`stock_status` = '".$is_in_stock."' WHERE `product_id` = '".$product_id."'"); | |
get_id_by_sku: $id = $this->db_access->read("DB_NAME", "SELECT `entity_id` FROM `catalog_product_entity` WHERE | |
`sku` = '".$sku."' LIMIT 1"); |
NewerOlder