Skip to content

Instantly share code, notes, and snippets.


Lukáš Fryč lfryc

View GitHub Profile
lfryc /
Last active Apr 15, 2020
Using ncat (netcat) from nmap package to transfer files via SSL-enabled tunnel
ncat -lp 12345 --ssl | base 64 -d | tar xz
lfryc / gist:4ed271b60ab56d3b03e8
Created May 19, 2015
PostgreSQL for UPS 1.1.x
View gist:4ed271b60ab56d3b03e8
docker run -it -p 5432:5432 -e POSTGRES_PASSWORD=mysecretpassword postgres
docker run -it -e POSTGRES_PASSWORD=mysecretpassword /bin/bash
psql -h -U postgres
create database unifiedpush;
create database keycloak;
create user unifiedpush with password 'unifiedpush';
GRANT ALL PRIVILEGES ON DATABASE unifiedpush to unifiedpush;
GRANT ALL PRIVILEGES ON DATABASE keycloak to unifiedpush;
View gist:a3af4c39e889abd5a9c4
# testing UPS from source in WildFly
docker run -it -p 8080:8080 -v $PWD/databases/unifiedpush-h2-ds.xml:/opt/jboss/wildfly/standalone/deployments/unifiedpush-h2-ds.xml -v $PWD/servers/auth-server/target/auth-server.war:/opt/jboss/wildfly/standalone/deployments/auth-server.war -v $PWD/servers/ups-wildfly/target/ag-push.war:/opt/jboss/wildfly/standalone/deployments/ag-push.war jboss/wildfly /opt/jboss/wildfly/bin/ -b -c standalone-full.xml
lfryc / gist:aae879ceb5534292e150
Last active May 11, 2020
Switch WildFly to debug mode in Runtime using jboss-cli
View gist:aae879ceb5534292e150
# switch the log level to DEBUG on console
{wildfly}/bin/ --connect
[standalone@localhost:9990 /] /subsystem=logging/console-handler=CONSOLE:write-attribute(name=level,value=DEBUG)
[standalone@localhost:9990 /] /subsystem=logging/root-logger=ROOT:write-attribute(name=level,value=DEBUG)
# switch it back to whatever it was initial configuration (here it is INFO)
[standalone@localhost:9990 /] /subsystem=logging/console-handler=CONSOLE:write-attribute(name=level,value=INFO)
[standalone@localhost:9990 /] /subsystem=logging/root-logger=ROOT:write-attribute(name=level,value=INFO)
lfryc / gist:5f98299a4c21999b4717
Last active Aug 29, 2015
AeroGear Blogs on Planet
View gist:5f98299a4c21999b4717
- url:
exists in planet
- url:
lfryc /
Last active Aug 29, 2015
AeroGear Project Info Template

AeroGear Android Core Build Status

AeroGear's Android libraries were built as jar, apklib and aar using Maven and the android-maven-plugin. The project follows the standard Android project layout as opposed to the standard Maven layout so sources will be in /src instead of /src/main/java and can be imported directly into IDE as an Android project.


The core library contains common components and interfaces which the rest of the AeroGear Android libraries depend on.

| | Project Info |

lfryc / gist:f9202da17f734933f471
Last active Aug 29, 2015
Easy MySQL in Docker
View gist:f9202da17f734933f471
docker build -t easymysql
docker run -it -p 3306:3306 -e user="someuser" -e password="somepassword" -e right="WRITE" easymysql
#### second console:
### mind to change IP address to the docker address
docker run -it easymysql /bin/bash
root@408ffa1f5036:/# mysql -h -u someuser -p
View gist:db2bfb24baeb220487a7


  1. install Visual Studio

  2. install Hybrid Tools



lfryc / aerogear.core.js
Created Sep 23, 2014
AeroGear.js Core with AMD
View aerogear.core.js
function(__exports__) {
"use strict";
/* AeroGear JavaScript Library
* JBoss, Home of Professional Open Source
* Copyright Red Hat, Inc., and individual contributors
* Licensed under the Apache License, Version 2.0 (the "License");
You can’t perform that action at this time.