Skip to content

Instantly share code, notes, and snippets.

View damienomurchu's full-sized avatar

Damien damienomurchu

  • Ireland
View GitHub Profile
@damienomurchu
damienomurchu / gist:0a29d70bf526dc33d9ec582ad26c567b
Created April 6, 2017 15:06
Keycloak standalone.sh stack trace
➜ keycloak-3.0.0.Final cd bin
➜ bin ./standalone.sh
=========================================================================
JBoss Bootstrap Environment
JBOSS_HOME: /home/damienmurphy/summit17/keycloak-3.0.0.Final
JAVA: java
➜ basic-express-example git:(amalgamated-example) node server.js
Example app listening on port 3000!
Sync initialized
Init sync data handlers for dataset
dataset_id: myShoppingList
params: undefined
[myShoppingList] warn Error: no fn parameter provided in params "undefined" undefined
dataset_id: myShoppingList
params: undefined
[myShoppingList] warn Error: no fn parameter provided in params "undefined" undefined
/home/damienmurphy/repos/fh-sync-js/example/basic-express-example/node_modules/mongodb/lib/utils.js:98
process.nextTick(function() { throw err; });
^
TypeError: cb is not a function
at datalistHandler (/home/damienmurphy/repos/fh-sync-js/example/basic-express-example/lib/dataAccessLayer.js:16:10)
at Object.doList (/home/damienmurphy/repos/fh-sync-js/example/basic-express-example/node_modules/fh-sync/lib/dataHandlers.js:183:7)
at listDatafromBackend (/home/damienmurphy/repos/fh-sync-js/example/basic-express-example/node_modules/fh-sync/lib/sync-processor.js:11:16)
at Array.<anonymous> (/home/damienmurphy/repos/fh-sync-js/example/basic-express-example/node_modules/fh-sync/lib/sync-processor.js:41:7)
at Object.race (/home/damienmurphy/repos/fh-sync-js/example/basic-express-example/node_modules/async/dist/async.js:4013:17)
07-12 11:18:55.306 5677-5677/org.feedhenry.welcome E/com.feedhenry.sdk.FH: FH init exception = Illegal character in path at index 0: <host>/box/srv/1.1/app/init
java.lang.IllegalArgumentException: Illegal character in path at index 0: <host>/box/srv/1.1/app/init
at java.net.URI.create(URI.java:853)
at com.loopj.android.http.AsyncHttpClient.getURI(AsyncHttpClient.java:1542)
at com.loopj.android.http.AsyncHttpClient.post(AsyncHttpClient.java:1211)
at com.feedhenry.sdk2.FHHttpClient.post(FHHttpClient.java:129)
at com.feedhenry.sdk.FHRemote.executeAsyn
07-13 13:15:23.845 24518-24518/org.feedhenry.saml E/com.feedhenry.sdk.FHHttpClient: Internal Server Error
cz.msebera.android.httpclient.client.HttpResponseException: Internal Server Error
at com.loopj.android.http.AsyncHttpResponseHandler.sendResponseMessage(AsyncHttpResponseHandler.java:446)
at com.loopj.android.http.AsyncHttpRequest.makeRequest(AsyncHttpRequest.java:160)
at com.loopj.android.http.AsyncHttpRequest.makeRequestWithRetries(AsyncHttpRequest.java:177)
at com.loopj.android.http.AsyncHttpRequest.run(AsyncHttpRequest.java:106)
in /lib/weather.js
App started at: Tue Jul 18 2017 11:23:07 GMT+0000 (UTC) on port: 8185
amqp connected
in /getWeather route
calling getWeather in /getWeather
in /lib/weather.js-getWeather()
lat -22.9510
longi -43.2097
getCacheKey
cache key is key_-22_951_-43_210
➜ mcp-standalone git:(master) ✗ make clean
./ui/clean.sh
+ oc cluster down
++ dirname ./ui/clean.sh
+ SCRIPT_PATH=./ui
++ cd ./ui
++ pwd
+ SCRIPT_ABSOLUTE_PATH=/home/damienmurphy/go/src/github.com/feedhenry/mcp-standalone/ui
+ sudo rm -rf /home/damienmurphy/go/src/github.com/feedhenry/mcp-standalone/ui/master
+ sudo rm -rf /home/damienmurphy/go/src/github.com/feedhenry/mcp-standalone/ui/node-localhost
awefasdfdsaf
10-06 16:31:50.521 1703 2142 I WindowManager: Switching to real app window: Window{4971f93 u0 io.ionic.starter/io.ionic.starter.MainActivity}
10-06 16:31:50.534 6084 6114 D EGL_emulation: eglMakeCurrent: 0xac309860: ver 3 1 (tinfo 0x8beca1c0)
10-06 16:31:50.627 6084 6114 D EGL_emulation: eglMakeCurrent: 0xac309860: ver 3 1 (tinfo 0x8beca1c0)
10-06 16:31:50.662 6084 6114 D EGL_emulation: eglMakeCurrent: 0xac309860: ver 3 1 (tinfo 0x8beca1c0)
10-06 16:31:50.682 6084 6114 D EGL_emulation: eglMakeCurrent: 0xac309860: ver 3 1 (tinfo 0x8beca1c0)
10-06 16:31:50.691 6084 6084 E chromium: [ERROR:interface_registry.cc(104)] Failed to locate a binder for interface: autofill::mojom::PasswordManagerDriver
10-06 16:31:50.696 1703 1724 I ActivityManager: Displayed io.ionic.starter/.MainActivity: +984ms
10-06 16:31:50.717 1795 2062 D EGL_emulation: eglMakeCurrent: 0xac308480: ver 3 1 (tinfo 0xac303300)
10-06 16:31:50.719 6084 6084 D CordovaWebViewImpl: onPageDidNavigate(file:///android_asset/www/index.html)
@damienomurchu
damienomurchu / unmount-pods.sh
Created October 11, 2017 12:50
dirty one liner to unmount pods/ volumes
sudo umount /home/damienmurphy/go/src/github.com/feedhenry/mcp-standalone/ui/openshift-volumes/pods/3204ee34-a84a-11e7-ab7d-c85b76bc28be/volumes/kubernetes.io~secret/default-token-9fphq && sudo umount /home/damienmurphy/go/src/github.com/feedhenry/mcp-standalone/ui/openshift-volumes/pods/eddf0691-a82f-11e7-96b0-c85b76bc28be/volumes/kubernetes.io~secret/service-catalog-controller-token-zm4rz && sudo umount /home/damienmurphy/go/src/github.com/feedhenry/mcp-standalone/ui/openshift-volumes/pods/eddf0691-a82f-11e7-96b0-c85b76bc28be/volumes/kubernetes.io~secret/service-catalog-ssl && sudo umount /home/damienmurphy/go/src/github.com/feedhenry/mcp-standalone/ui/openshift-volumes/pods/f45b77b9-a82f-11e7-96b0-c85b76bc28be/volumes/kubernetes.io~secret/router-token-5wrjx && sudo umount /home/damienmurphy/go/src/github.com/feedhenry/mcp-standalone/ui/openshift-volumes/pods/f45b77b9-a82f-11e7-96b0-c85b76bc28be/volumes/kubernetes.io~secret/server-certificate && sudo umount /home/damienmurphy/go/src/github.com/feedhenry/mcp