Skip to content

Instantly share code, notes, and snippets.

View damienomurchu's full-sized avatar

Damien damienomurchu

  • Ireland
View GitHub Profile
@damienomurchu
damienomurchu / abbr.fish
Last active January 30, 2024 10:33
Machine & shell configs
# system
abbr -a .r source ~/.config/fish/config.fish
abbr -a z zsh
abbr -a ps ps auxf
abbr -a ds sudo dnf search
abbr -a di sudo dnf install
abbr -a ssh-forwardx ssh -X -C -c aes128-ctr -m hmac-sha1
# git
abbr -a gst git status -sb
@damienomurchu
damienomurchu / test-output.log
Created March 29, 2021 20:03
taskell-test-output-96
~/projects/taskell on 🌱 correct-dir-in-prompt [?] via λ v8.8.4 took 1m1s
❯ stack test
taskell> configure (lib + exe + test)
Configuring taskell-1.10.1...
taskell> build (lib + exe + test)
Preprocessing library for taskell-1.10.1..
Building library for taskell-1.10.1..
[70 of 71] Compiling Taskell.IO
[71 of 71] Compiling Taskell
Preprocessing test suite 'taskell-test' for taskell-1.10.1..
# set screen resolution
#xrandr --output eDP-1 --mode 1440x810
#xrandr --output eDP-1 --mode 1920x1080
exec xrandr --output eDP-1 --mode 1600x900
# set Win key as mod
set $mod Mod4
set $wallpaper "~/Pictures/travel/2005-11 Vienna/051118_2669.JPG"
# no window title
# patch integreatly cluster for latest version of walkthroughs
function patch-cluster() {
# patch web-app
oc patch webapp tutorial-web-app-operator -n webapp --type=merge -p '{ "spec": { "template": { "parameters": { "WALKTHROUGH_LOCATIONS": "https://github.com/integr8ly/tutorial-web-app-walkthroughs.git#master" }}}}'
oc patch deployment tutorial-web-app-operator -n webapp -p '{ "spec": { "template": { "spec": { "containers": [{ "name": "tutorial-web-app-operator", "image": "quay.io/integreatly/tutorial-web-app-operator:master" }]}}}}'
oc patch deploymentconfig/tutorial-web-app -n webapp -p '{ "spec": { "template": { "spec": { "containers": [{ "name": "tutorial-web-app", "image": "quay.io/integreatly/tutorial-web-app:master" }]}}}}'
# patch grafana
╭─ ~/qe/integreatly-qe/test-suites/ui-testsuite ‹dep-lockdown*› 
╰─$ npm test tests/20_apicurito/apicurito-console-login.js                                   1 ↵

> nightwatch-test@1.0.0 test /home/damienmurphy/qe/integreatly-qe/test-suites/ui-testsuite
> nightwatch "tests/20_apicurito/apicurito-console-login.js"


[20 Apicurito/Apicurito Console Login] Test Suite
=================================================
╭─ ~/go-code/src/github.com/aerogear/mobile-security-service-operator ‹master*› 
╰─$ git commit --amend --no-edit
Running pre-commit checks on your code...
vendor/cloud.google.com/go/bigquery/inserter.go:238:15: expected type, found '='
vendor/github.com/appscode/jsonpatch/jsonpatch.go:13:25: expected type, found '='
vendor/github.com/gogo/protobuf/protoc-gen-gogo/testdata/import_public/a.pb.go:27:8: expected type, found '='
vendor/github.com/gogo/protobuf/protoc-gen-gogo/testdata/import_public/a.pb.go:28:19: expected type, found '='
vendor/github.com/gogo/protobuf/protoc-gen-gogo/testdata/import_public/a.pb.go:29:19: expected type, found '='
vendor/github.com/gogo/protobuf/protoc-gen-gogo/testdata/import_public/a.pb.go:32:17: expected type, found '='
hadmin@node1:/mnt/src/millicore$ ant functional
Buildfile: /mnt/src/millicore/build.xml
functional:
[junit] WARNING: multiple versions of ant detected in path for junit
[junit] jar:file:/usr/share/ant/lib/ant.jar!/org/apache/tools/ant/Project.class
[junit] and jar:file:/mnt/src/millicore/lib-ivy/ant-1.7.1.jar!/org/apache/tools/ant/Project.class
[junit] Listening for transport dt_socket at address: 8787
[junit] Running com.feedhenry.config.mongo.MongoDBConnectionPropertiesFactoryTest
[junit] Testsuite: com.feedhenry.config.mongo.MongoDBConnectionPropertiesFactoryTest
pt.testHappy(ServiceControllerAccept.java:205)
[junit] > Method: DELETE
[junit] > Url: /connections/123456789012345678901234
[junit] > Cookie: feedhenry=xqhsag4ts3qbledfgtx4457k
[junit] > Header: Content-Type:application/json
[junit] org.springframework.beans.factory.BeanCreationNotAllowedException: Error creating bean with name 'internal-PropsManager': Singleton bean creation not allowed while the singletons of this factory are in destruction (Do not request a bean from a BeanFactory in a destroy method implementation!)
[junit] at org.springframework.beans.factory.support.DefaultSingletonBeanRegistry.getSingleton(DefaultSingletonBeanRegistry.java:210)
[junit] at org.springframework.beans.factory.support.AbstractBeanFactory.doGetBean(AbstractBeanFactory.java:292)
[junit] at org.springframework.beans.factory.support.AbstractBeanFactory.getBean(AbstractBeanFactory.java:194)
[junit] at org.springframework.context.support.AbstractApplicationContext.getBean(AbstractApplicationContext.java:1117)
[junit] at org.tssg.millicore.beans.util.AppContextUtil.getBean(AppContextUtil.java:34)
[junit] at org.tssg.millicore.config.PropsManager.getPropsManager(PropsManager.java:455)
[junit] at org.tssg.millicor
2018/01/12 09:40:50 Image already pulled, skipping: docker.io/rhmap/nagios4:4.0.8-233
2018/01/12 09:40:50 Done.
2018/01/12 09:40:50 OpenShift is not running.
2018/01/12 09:40:50 Cleaning...
2018/01/12 09:40:50 Cleaning: /home/damienmurphy/go/src/github.com/feedhenry/fh-cup/cluster
chcon: can't apply partial context to unlabeled file '/home/damienmurphy/go/src/github.com/feedhenry/fh-cup/cluster/volumes/devpv0'
Error changing security context on PVs
exit status 1