Skip to content

Instantly share code, notes, and snippets.

View codedge's full-sized avatar
🎯
Focusing

Holger codedge

🎯
Focusing
View GitHub Profile
@codedge
codedge / config.xml
Created January 5, 2020 16:20
Magento 2 migration files only for orders and customers
<?xml version="1.0" encoding="UTF-8"?>
<!--
/**
* Copyright © Magento, Inc. All rights reserved.
* See COPYING.txt for license details.
*/
-->
<config xmlns:xs="http://www.w3.org/2001/XMLSchema-instance" xs:noNamespaceSchemaLocation="../../../vendor/magento/data-migration-tool/etc/config.xsd">
<steps mode="settings">
<!-- <step title="Settings Step">-->
@codedge
codedge / Configuration.md
Last active February 15, 2019 16:24
[Gitlab CI]

Problem with ssh key and new lines

Generate your ssh private key with base64 encoding

$ cat my_private_key | base64 -w 0 

Use the encoded version as Gitlab CI env variable and decode like so:

@codedge
codedge / bash_snippets.md
Last active February 19, 2019 11:42
[Docker cli] Get infos from docker registry #docker #cli #registry

Login to docker registry

$ docker login localhost:8000 --username X --password-stdin

Get list of repositories

$ curl --user user:pass https:///v2/_catalog
Verifying that +holgerloesken is my blockchain ID. https://onename.com/holgerloesken