Skip to content

Instantly share code, notes, and snippets.

Avatar

Dmytro Liakhov dlyahov

View GitHub Profile
@dlyahov
dlyahov / UploadSampleFIle.kt
Last active Sep 3, 2019
Creating and uploading file to AEM instance via CRX using wcm.io tools
View UploadSampleFIle.kt
package org.aem.sync.kotlin
import io.wcm.tooling.commons.contentpackagebuilder.ContentPackageBuilder
import io.wcm.tooling.commons.packmgr.PackageManagerProperties
import io.wcm.tooling.commons.packmgr.install.PackageFile
import io.wcm.tooling.commons.packmgr.install.PackageInstaller
import io.wcm.tooling.commons.packmgr.install.VendorInstallerFactory
import java.io.File
fun main(args: Array<String>) {
View cloudSettings
{"lastUpload":"2019-09-04T09:23:10.310Z","extensionVersion":"v3.4.2"}
@dlyahov
dlyahov / keymap.c
Last active Sep 12, 2019
Niu minu: my custom layout
View keymap.c
#include QMK_KEYBOARD_H
const uint16_t PROGMEM keymaps[][MATRIX_ROWS][MATRIX_COLS] = {
/* Layer 0
* ,-----------------------------------------------------------------------------------.
* | Esc | Q | W | E | R | T | Y | U | I | O | P | Bksp |
* |------+------+------+------+------+-------------+------+------+------+------+------|
* | Tab | A | S | D | F | G | H | J | K | L | ; |" |
* |------+------+------+------+------+------|------+------+------+------+------+------|
You can’t perform that action at this time.