Skip to content

Instantly share code, notes, and snippets.

🕺
husslin'

Hardy Pottinger hardyoyo

🕺
husslin'
Block or report user

Report or block hardyoyo

Hide content and notifications from this user.

Learn more about blocking users

Contact Support about this user’s behavior.

Learn more about reporting abuse

Report abuse
View GitHub Profile
View I-think-my-JDK-is-borked.txt
Exception in thread "main" java.lang.AssertionError
at jdk.compiler/com.sun.tools.javac.util.Assert.error(Assert.java:155)
at jdk.compiler/com.sun.tools.javac.util.Assert.check(Assert.java:46)
at jdk.compiler/com.sun.tools.javac.comp.Modules.enter(Modules.java:247)
at jdk.compiler/com.sun.tools.javac.main.JavaCompiler.readSourceFile(JavaCompiler.java:837)
at jdk.compiler/com.sun.tools.javac.processing.JavacProcessingEnvironment$ImplicitCompleter.complete(JavacProcessingEnvironment.java:1521)
at jdk.compiler/com.sun.tools.javac.code.Symbol.complete(Symbol.java:642)
at jdk.compiler/com.sun.tools.javac.code.Symbol$ClassSymbol.complete(Symbol.java:1326)
at jdk.compiler/com.sun.tools.javac.code.Type$ClassType.complete(Type.java:1140)
at jdk.compiler/com.sun.tools.javac.code.Type$ClassType.getTypeArguments(Type.java:1066)
View Field Roast Wild Rice Pilaf, Instant Pot Style
2 T Olive Oil
1 Onion, chopped
1 package of Field Roast Smoked Apple Sage Sausage, chopped
2 cloves of garlic, chopped (use jarrred, don't be a hero)
2 Cups wild rice mix (whatever you can find, bulk is great)
2 1/2 Cups Water
2 t Better Than Bouillon or 2 veggie bouillon cubes
Sauté onion in the cooker. Add garlic. Add field roast sauté a minute more,
Add rice, brown a bit more (3 or 4 minutes), stirring constantly. Add water
View Instant Pot Risotto
Adpated from https://www.hippressurecooking.com/pressure-cooker-risotto-in-7-minutes/
1, 2, or 3 chopped zuchini or squash, aim for about 2 cups
- add to measuring cup for broth/water
2 C arborio rice
4 C veggie broth (or water, if you use water, add in 1/4 t of better than bouilon per cup)
1 onion, chopped
1 swig of white wine
2 T olive oil
1 T butter
View Instant Pot Lentil Soup
# Instant Pot Lentil Soup
1 T olive oil
1 T garlic, chopped
2 C / 1 large onion, chopped
2 large carots, chopped
2 large celery ribs, chopped (optional)
2 potatoes, chopped (optional)
3 C brown lentils
9 C water
View Mutate-compile-failure.txt
Must remake target 'mutate'.
g++ -Wl,-O1 -Wl,-rpath-link,/usr/lib/x86_64-linux-gnu -o mutate qxtglobalshortcut.o qxtglobalshortcut_x11.o qtsinglecoreapplication.o qtlocalpeer.o main.o widget.o returnbyscript.o defaulsearch.o config_parse.o setting.o plaintext.o listwidget.o singleapplication.o frequenceparse.o hotkey.o widgetthread.o listitem.o config.o doublelistitem.o gpixbuftoqicon.o theme.o qrc_icons.o moc_qxtglobalshortcut.o moc_qtsinglecoreapplication.o moc_qtlocalpeer.o moc_widget.o moc_setting.o moc_hotkey.o moc_plaintext.o moc_listwidget.o moc_singleapplication.o moc_widgetthread.o moc_listitem.o moc_doublelistitem.o -lX11 -L../libs -lboost_regex -lgtk-x11-2.0 -lgdk-x11-2.0 -lpangocairo-1.0 -latk-1.0 -lcairo -lgdk_pixbuf-2.0 -lpangoft2-1.0 -lpango-1.0 -lfontconfig -lfreetype -lgio-2.0 -lgobject-2.0 -lglib-2.0 -lQt5X11Extras -lQt5Widgets -lQt5Gui -lQt5Network -lQt5Core -lGL -lpthread
defaulsearch.o: In function `boost::re_detail::perl_matcher<__gnu_cxx::__normal_iterator<char const*, std::__cxx
@hardyoyo
hardyoyo / my_first_deploy_fail.txt
Created Apr 4, 2018
error on running vagrant up with Vagrant Ansible Samvera
View my_first_deploy_fail.txt
TASK [my_first_deploy : ensure default admin set with rake] ********************
fatal: [localhost]: FAILED! => {"changed": true, "cmd": "RAILS_ENV=production bundle exec rake hyrax:default_admin_set:create", "delta": "0:00:21.230832", "end": "2018-04-04 10:27:38.402570", "msg": "non-zero return code", "rc": 1, "start": "2018-04-04 10:27:17.171738", "stderr": "rake aborted!\nRSolr::Error::ConnectionRefused: Connection refused - {:params=>{:wt=>:json, :softCommit=>true}, :data=>\"[{\\\"system_create_dtsi\\\":\\\"2018-04-04T17:27:37Z\\\",\\\"system_modified_dtsi\\\":\\\"2018-04-04T17:27:37Z\\\",\\\"has_model_ssim\\\":\\\"Hydra::AccessControl\\\",\\\"id\\\":\\\"6b2447da-0ffc-4284-8100-5a991ff34a4d\\\"}]\", :headers=>{\"Content-Type\"=>\"application/json\"}, :method=>:post, :query=>\"wt=json&softCommit=true\", :path=>\"update\", :uri=>#<URI::HTTP http://your.production.server:8983/bl_solr/core0/update?wt=json&softCommit=true>}\n/opt/nurax/shared/bundle/ruby/2.4.0/gems/rsolr-2.1.0/lib/rsolr/client.rb:194:in `rescu
@hardyoyo
hardyoyo / first_deploy_final_task_failure.txt
Created Mar 29, 2018
Failure of the final task in the first_deploy role in the ansible-samveral collection of roles
View first_deploy_final_task_failure.txt
fatal: [localhost]: FAILED! => {"changed": true, "cmd": "RAILS_ENV=production bundle exec rake hyrax:default_admin_set:create", "delta": "0:00:15.960132", "end": "2018-03-29 15:59:33.357757", "msg": "non-zero return code", "rc": 1, "start": "2018-03-29 15:59:17.397625", "stderr": "rake aborted!\nLdp::NotFound: <html>\n<head>\n<meta http-equiv=\"Content-Type\" content=\"text/html;charset=ISO-8859-1\"/>\n<title>Error 404 </title>\n</head>\n<body>\n<h2>HTTP ERROR: 404</h2>\n<p>Problem accessing /fedora/rest/prod. Reason:\n<pre> Not Found</pre></p>\n<hr />\n</body>\n</html>\n/opt/nurax/shared/bundle/ruby/2.4.0/gems/ldp-0.7.2/lib/ldp/client/methods.rb:119:in `block in check_for_errors'\n/opt/nurax/shared/bundle/ruby/2.4.0/gems/ldp-0.7.2/lib/ldp/client/methods.rb:117:in `tap'\n/opt/nurax/shared/bundle/ruby/2.4.0/gems/ldp-0.7.2/lib/ldp/client/methods.rb:117:in `check_for_errors'\n/opt/nurax/shared/bundle/ruby/2.4.0/gems/ldp-0.7.2/lib/ldp/client/methods.rb:96:in `block in put'\n/opt/nurax/shared/bundle/ruby/2.4.0/
View lando-tomcat-rebuild.log
hpottinger@hpottinger-Oryx-Pro:~/workspace/lando-tomcat |-/ lando.dev rebuild -- -vvvv
verbose: Loading event pre-bootstrap priority 1
verbose: Loading event pre-bootstrap priority 1
info: Bootstrap starting...
debug: Boostrapping with appConfigFilename=.lando.yml, appsRoot=/home/hpottinger/Lando, appRegistry=/home/hpottinger/.lando/appRegistry.json, cache=true, composeBin=/usr/share/lando/bin/docker-compose, composeVersion=3.2, configFilename=config.yml, , dockerBin=/usr/bin/docker, dockerBinDir=/usr/share/lando/bin, engineId=1000, engineGid=1000, XDG_VTNR=7, MANPATH=:/home/hpottinger/.fzf/man, ORBIT_SOCKETDIR=/tmp/orbit-hpottinger, XDG_SESSION_ID=c2, XDG_GREETER_DATA_DIR=/var/lib/lightdm-data/hpottinger, TERMINATOR_UUID=urn:uuid:2bea968c-967f-4f46-a802-48fe97a3efe2, IBUS_DISABLE_SNOOPER=1, CLUTTER_IM_MODULE=xim, SESSION=ubuntu, GIO_LAUNCHED_DESKTOP_FILE_PID=2706, GPG_AGENT_INFO=/home/hpottinger/.gnupg/S.gpg-agent:0:1, TERM=xterm, SHELL=/bin/bash, NLS_LANG=AMERICAN_AMERICA.UTF8, QT_LINUX_ACCESSIBILITY_ALWAYS
View local-bootstrap.sh
#!/bin/bash
# local-bootstrap.sh.example is an example of a local bootstrap shell povisioner for Vagrant-DSpace. If you copy this file to local-bootstrap.sh, and modify it to match your needs, it will be run whenever you run vagrant-up.
# local-bootstrap.sh is a hacky little solution to customizing your own DSpace clone from github. You can use it to do such things as set an upstream remote, configure fetching of pull requests from upstream, and much more
# it is also a handy stop-gap measure for providing needed functionality for Vagrant-DSpace (such as AIP auto-loading) without having to do a lot of puppet scripting. This works.
# WORD of WARNING: don't forget this script will run as root, so be careful about files you create. Git config lines will need to be run either as the vagrant user.
View dspace-log-entries-coinciding-with-XMLUI-stack-trace.txt
2017-08-03 13:23:55,084 INFO org.dspace.curate.Curator @ Curation task: vsiminit performed on: 20.500.11930/1100 with
status: 0. Result: 'VSim Project intialized based on 20.500.11930/1100 | title: Kristian 8/3 Project Master item | Proj
ect Community: 20.500.11930/1101'
2017-08-03 13:23:55,292 INFO org.dspace.discovery.SolrServiceImpl @ Wrote Community: 20.500.11930/1101 to Index
2017-08-03 13:23:55,308 INFO org.dspace.discovery.SolrServiceImpl @ Wrote Collection: 20.500.11930/1103 to Index
2017-08-03 13:23:55,334 ERROR org.dspace.discovery.SolrServiceImpl @ failed to lazily initialize a collection of role:
org.dspace.content.DSpaceObject.metadata, could not initialize proxy - no Session
org.hibernate.LazyInitializationException: failed to lazily initialize a collection of role: org.dspace.content.DSpaceO
bject.metadata, could not initialize proxy - no Session
at org.hibernate.collection.internal.AbstractPersistentCollection.throwLazyInitializationException(AbstractPers
You can’t perform that action at this time.