This file contains 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
/opt/bitnami/keycloak/bin/kc.sh export --dir /docker-entrypoint-initdb.d --realm <realm-name> |
This file contains 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
const getObjectPropertyByPath = (object: any, path: string) => { | |
if (object == null) { | |
return object | |
} | |
const parts = path.split('.') | |
for (let i = 0; i < parts.length; ++i) { | |
const part = parts[i] | |
if (object == null) { | |
return undefined | |
} |
This file contains 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
const setObjectPropertyByPath = (object: any, path: string, value: any) => { | |
const parts = path.split('.') | |
const limit = parts.length - 1 | |
parts | |
for (let i = 0; i < limit; ++i) { | |
const key = parts[i] | |
if (parts?.[i + 1] === '0') { | |
value.map((nesttedValue: any, index: number) => { | |
setObjectPropertyByPath(object[key][index], parts.slice(i + 2).join('.'), nesttedValue) | |
}) |
This file contains 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
{ | |
"tasks": [ | |
{ | |
"type": "cppbuild", | |
"label": "C/C++: gcc build active file", | |
"command": "/usr/bin/gcc", | |
"args": [ | |
"-Wall", | |
"-fdiagnostics-color=always", | |
"-g", |
This file contains 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
find . -name "node_modules" -print0 | xargs -0 rm -rf |
This file contains 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
val thread: Thread = object : Thread() { | |
override fun run() { | |
try { | |
while (!this.isInterrupted) { | |
sleep(1000) | |
activity?.runOnUiThread(Runnable { | |
// tableAdapter.update() | |
}) | |
} | |
} catch (e: InterruptedException) { |
This file contains 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
.on(Socket.EVENT_CONNECT) { println("connected") } | |
.on(Socket.EVENT_DISCONNECT) { println("disconnected") } | |
.on(Socket.EVENT_CONNECTING) { println("connecting") } | |
.on(Socket.EVENT_CONNECT_ERROR) { println("connect error") } | |
.on(Socket.EVENT_CONNECT_TIMEOUT) { println("connect timeout") } | |
.on(Socket.EVENT_ERROR) { println("connect error") } | |
.on(Socket.EVENT_RECONNECT) { println("reconnect") } | |
.on(Socket.EVENT_RECONNECTING) { println("reconnecting") } | |
.on(Socket.EVENT_RECONNECT_ATTEMPT) { println("reconnect attempt") } | |
.on(Socket.EVENT_RECONNECT_ERROR) { println("reconnect error") } |
This file contains 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
::-webkit-scrollbar { | |
width: 12px!important; | |
} | |
::-webkit-scrollbar-track { | |
background: #333947!important; | |
} | |
::-webkit-scrollbar-thumb { | |
background-color: #838a97!important; |
This file contains 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
// Copyright 2014 The Flutter Authors. All rights reserved. | |
// Use of this source code is governed by a BSD-style license that can be | |
// found in the LICENSE file. | |
import 'package:flutter/widgets.dart'; | |
import 'constants.dart'; | |
import 'debug.dart'; | |
import 'material_state.dart'; | |
import 'theme.dart'; |
This file contains 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
default partial alphanumeric_keys | |
xkb_symbols "basic" { | |
// This layout conforms to a part of Slovak standard | |
// and my needs, designed to satisfy mostly me. | |
// 2021 by Rastislav Brna <magicsk@magicsk.eu> | |
include "latin" | |
name[Group1] = "magic_sk"; |
NewerOlder