Skip to content

Instantly share code, notes, and snippets.

View hardyoyo's full-sized avatar
🕺
husslin'

Hardy Pottinger hardyoyo

🕺
husslin'
View GitHub Profile
[INFO] --- maven-enforcer-plugin:1.4.1:enforce (enforce-versions) @ additions ---
[WARNING]
Dependency convergence error for org.apache.commons:commons-lang3:3.3.2 paths to dependency are:
+-org.dspace.modules:additions:6.1-SNAPSHOT
+-org.dspace:dspace-api:6.1-SNAPSHOT
+-org.apache.jena:apache-jena-libs:2.13.0
+-org.apache.jena:jena-tdb:1.1.2
+-org.apache.jena:jena-arq:2.13.0
+-org.apache.commons:commons-lang3:3.3.2
and
This file has been truncated, but you can view the full file.
hpottinger@hpottinger-Oryx-Pro:~/workspace/vagrant-dspace master %= |-/ vagrant up
Bringing machine 'vagrant-dspace' up with 'virtualbox' provider...
==> vagrant-dspace: Importing base box 'box-cutter/ubuntu1604'...
==> vagrant-dspace: Matching MAC address for NAT networking...
==> vagrant-dspace: Checking if box 'box-cutter/ubuntu1604' is up to date...
==> vagrant-dspace: Setting the name of the VM: dspace-dev
==> vagrant-dspace: Clearing any previously set network interfaces...
==> vagrant-dspace: Preparing network interfaces based on configuration...
vagrant-dspace: Adapter 1: nat
vagrant-dspace: Adapter 2: hostonly
2017-01-30 09:30:52,440 INFO org.dspace.curate.Curator @ Curation task: vscan performed on: workflow item: 11c66992-24f9-4990-aebf-9460afa82bb2 with status: 1. Result: 'Item: in workflow had virus detected.
bitstream - EICAR-TEST-FILE.txt: SequenceId - 1: infected
1 virus(es) found. failfast: false'
2017-01-30 09:30:52,444 INFO org.dspace.content.Bundle @ [email protected]:session_id=05F4DB7A4DC551BE0F840511C74DD886:ip_addr=128.97.245.190:remove_bitstream:bundle_id=88b6bbec-202d-44ea-bd35-0d197d28889c,bitstream_id=a54b2c79-6bc8-4757-80ff-17c73d4085b3
2017-01-30 09:30:52,454 INFO org.dspace.content.Item @ [email protected]:session_id=05F4DB7A4DC551BE0F840511C74DD886:ip_addr=128.97.245.190:update_item:item_id=11c66992-24f9-4990-aebf-9460afa82bb2
2017-01-30 09:30:52,460 INFO org.dspace.content.Item @ [email protected]:session_id=05F4DB7A4DC551BE0F840511C74DD886:ip_addr=128.97.245.190:update_item:item_id=11c66992-24f9-4990-aebf-9460afa82bb2
2017-01-30 09:30:52,462 INFO org.dspa
dspace/bin/dspace oai -h
OAI Manager Script
Syntax: oai <action> [parameters]
> Possible actions:
import - To import DSpace items into OAI index and cache system
clean-cache - Cleans the OAI cached responses
> Parameters:
-o Optimize index after indexing (import only)
-c Clear index (import only)
-v Verbose output
@hardyoyo
hardyoyo / how_to_keep_a_git_branch_up_to_date.txt
Last active July 5, 2017 02:04
How to keep a git branch up to date with an upstream master branch.
git fetch --all
git checkout master #may have to git stash first, but, don't forget, you need to be ON THE MASTER BRANCH before you proceed
git pull upstream master
git push origin master
git pull origin master #not necessary but a nice sanity check
git checkout BRANCHNAME
git rebase -i master
@hardyoyo
hardyoyo / subtle_profile.json
Last active December 2, 2016 20:15
subtle profile for use with Cool Retro Terminal: https://github.com/Swordfish90/cool-retro-term
{
"ambientLight": 0.2,
"backgroundColor": "#000000",
"bloom": 0.45,
"brightness": 0.5,
"burnIn": 0.25,
"chromaColor": 0,
"contrast": 0.85,
"flickering": 0.2,
"fontColor": "#0ccc68",
@hardyoyo
hardyoyo / a.rb
Created November 21, 2016 22:20
SQL error during bin/dspace registry-loader -bitstream
2016-11-21 22:15:22,811 FATAL org.dspace.administer.RegistryLoader @ anonymous::error_loading_registries:
org.hibernate.exception.SQLGrammarException: could not extract ResultSet
at org.hibernate.exception.internal.SQLStateConversionDelegate.convert(SQLStateConversionDelegate.java:123)
at org.hibernate.exception.internal.StandardSQLExceptionConverter.convert(StandardSQLExceptionConverter.java:49)
at org.hibernate.engine.jdbc.spi.SqlExceptionHelper.convert(SqlExceptionHelper.java:124)
at org.hibernate.engine.jdbc.spi.SqlExceptionHelper.convert(SqlExceptionHelper.java:109)
at org.hibernate.engine.jdbc.internal.ResultSetReturnImpl.extract(ResultSetReturnImpl.java:88)
at org.hibernate.loader.Loader.getResultSet(Loader.java:2062)
at org.hibernate.loader.Loader.executeQueryStatement(Loader.java:1859)
at org.hibernate.loader.Loader.executeQueryStatement(Loader.java:1838)
@hardyoyo
hardyoyo / dspace.log.2016-11-18
Created November 21, 2016 21:57
SQL syntax error on upgrade from 5.x to 6.x
2016-11-18 23:04:57,347 INFO org.dspace.statistics.SolrLoggerServiceImpl @ solr-statistics.spidersfile:null
2016-11-18 23:04:57,347 INFO org.dspace.statistics.SolrLoggerServiceImpl @ solr-statistics.server:http://localhost:8081/solr/statistics
2016-11-18 23:04:57,347 INFO org.dspace.statistics.SolrLoggerServiceImpl @ usage-statistics.dbfile:/usr/local/dspace/dspace/config/GeoLiteCity.dat
2016-11-18 23:04:57,371 INFO org.dspace.statistics.SolrLoggerServiceImpl @ useProxies=false
2016-11-18 23:04:57,556 INFO org.dspace.storage.rdbms.DatabaseUtils @ Loading Flyway DB migrations from: filesystem:/usr/local/dspace/dspace/etc/postgres, classpath:org.dspace.storage.rdbms.sqlmigration.postgres, classpath:org.dspace.storage.rdbms.migration
2016-11-18 23:04:57,587 INFO org.flywaydb.core.internal.util.VersionPrinter @ Flyway 4.0.3 by Boxfuse
2016-11-18 23:04:57,594 INFO org.flywaydb.core.internal.dbsupport.DbSupportFactory @ Database: jdbc:postgresql://localhost:5432/ds5 (PostgreSQL 9.5)
2016-11-18 23:04:57,622 I
2016-11-09 11:25:40,199 INFO org.dspace.content.Item @ [email protected]:session_id=34D9A1E91D7CE2E6EEC3C7292FCD7183:ip_addr=128.97.245.147:create_item:item_id=36
2016-11-09 11:25:40,216 INFO org.dspace.content.Item @ [email protected]:session_id=34D9A1E91D7CE2E6EEC3C7292FCD7183:ip_addr=128.97.245.147:update_item:item_id=36
2016-11-09 11:25:40,218 INFO org.dspace.content.WorkspaceItem @ [email protected]:session_id=34D9A1E91D7CE2E6EEC3C7292FCD7183:ip_addr=128.97.245.147:create_workspace_item:workspace_item_id=-1item_id=36collection_id=4
2016-11-09 11:25:40,239 INFO org.dspace.content.WorkspaceItem @ [email protected]:session_id=34D9A1E91D7CE2E6EEC3C7292FCD7183:ip_addr=128.97.245.147:update_workspace_item:workspace_item_id=34
2016-11-09 11:25:40,242 INFO org.dspace.content.Item @ [email protected]:session_id=34D9A1E91D7CE2E6EEC3C7292FCD7183:ip_addr=128.97.245.147:update_item:item_id=36
2016-11-09 11:25:40,249 INFO org.dspace.content.WorkspaceItem @ hpotti
2016-11-09 10:40:59,140 INFO org.dspace.content.WorkspaceItem @ [email protected]:session_id=34D9A1E91D7CE2E6EEC3C7292FCD7183:ip_addr=128.97.245.147:update_workspace_item:workspace_item_id=33
2016-11-09 10:40:59,143 INFO org.dspace.content.Item @ [email protected]:session_id=34D9A1E91D7CE2E6EEC3C7292FCD7183:ip_addr=128.97.245.147:update_item:item_id=35
2016-11-09 10:40:59,157 INFO org.dspace.content.WorkspaceItem @ [email protected]:session_id=34D9A1E91D7CE2E6EEC3C7292FCD7183:ip_addr=128.97.245.147:update_workspace_item:workspace_item_id=33
2016-11-09 10:40:59,160 INFO org.dspace.content.Item @ [email protected]:session_id=34D9A1E91D7CE2E6EEC3C7292FCD7183:ip_addr=128.97.245.147:update_item:item_id=35
2016-11-09 10:40:59,161 INFO org.dspace.content.WorkspaceItem @ [email protected]:session_id=34D9A1E91D7CE2E6EEC3C7292FCD7183:ip_addr=128.97.245.147:update_workspace_item:workspace_item_id=33
2016-11-09 10:40:59,164 INFO org.dspace.content.Item @ hpottinger@