View operator snapshot cmd
docker run -p 50051:50051 -it quay.io/openshiftlabs/ccn-redhat-operator-index:v4.6 | |
grpcurl -plaintext localhost:50051 api.Registry/ListPackages | datagrid |
View Run workshopper
#!/bin/bash | |
docker run -it -p 8080:8080 -v $(pwd):/app-data --entrypoint /bin/bash \ | |
-e MASTER_URL=http://your.master.com:1111 \ | |
-e CONSOLE_URL=http://your.console.url.com:2222 \ | |
-e CHE_URL=http://codeready.url.com:3333 -e RHAMT_URL=http://foo -e CHE_USER_PASSWORD='password' \ | |
-e KEYCLOAK_URL=http://keycloak.url.com:4444 \ | |
-e ROUTE_SUBDOMAIN=apps.yoursubdomain.com \ | |
-e CONTENT_URL_PREFIX="file:///app-data/" \ | |
-e WORKSHOPS_URLS="file:///app-data/_cloud-native-workshop-module3.yml" \ |
View gist:55bf7c6e0e09c81477998d1b9eec0f48
dnf provides semanage | |
or dnf search policycoreutils | |
# to list the ports available | |
semanage port --list | |
Adding a new port to be accessible , in my case I am suggesting I want to open a tcp port 52022 | |
semanage port -a -t ssh_port_t -p tcp 52022 | |
# This will add a permanent firewall entry to the zone public. |
View settings.xml
<settings xmlns="http://maven.apache.org/SETTINGS/1.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:sch | |
emaLocation="http://maven.apache.org/SETTINGS/1.0.0 | |
https://maven.apache.org/xsd/settings-1.0.0.xsd"> | |
<localRepository /> | |
<interactiveMode /> | |
<offline /> | |
<pluginGroups /> | |
<servers /> | |
<mirrors /> | |
<proxies /> |
View gist:b014b2c8a51e6af6662b4ad2515a9c23
<?xml version="1.0" encoding="UTF-8"?> | |
<project xmlns="http://maven.apache.org/POM/4.0.0" | |
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" | |
xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd"> | |
<modelVersion>4.0.0</modelVersion> | |
<groupId>org.example</groupId> | |
<artifactId>jcache-example</artifactId> | |
<version>1.0-SNAPSHOT</version> |
View gist:946f1021c7c35363577ea4a5b6d96315
``` | |
events.js:187 | |
throw er; // Unhandled 'error' event | |
^ | |
Error: ENOSPC: System limit for number of file watchers reached, watch '/opt/github.com/sshaaf/sshaaf.github.io/react-complete-guide/public' | |
at FSWatcher.start (internal/fs/watchers.js:165:26) | |
at Object.watch (fs.js:1329:11) | |
``` |
View .gitignore
# Created by https://www.gitignore.io/api/node,java,maven | |
# Edit at https://www.gitignore.io/?templates=node,java,maven | |
### Java ### | |
# Compiled class file | |
*.class | |
# Log file | |
*.log |
View config.txt
<build> | |
<plugins> | |
<plugin> | |
<groupId>org.codehaus.mojo</groupId> | |
<artifactId>exec-maven-plugin</artifactId> | |
<version>1.6.0</version> | |
<executions> | |
<execution> | |
<goals> | |
<goal>exec</goal> |