Skip to content

Instantly share code, notes, and snippets.

View amorgner's full-sized avatar

Axel Morgner amorgner

View GitHub Profile
org.neo4j.graphdb.NotFoundException: Unable to load one or more relationships from Node[924]. This usually happens when relationships are deleted by someone else just as we are about to load them. Please try again.
at org.neo4j.kernel.impl.core.NodeImpl.loadMoreRelationshipsFromNodeManager(NodeImpl.java:481)
at org.neo4j.kernel.impl.core.NodeImpl.getMoreRelationships(NodeImpl.java:358)
at org.neo4j.kernel.impl.core.NodeImpl.loadInitialRelationships(NodeImpl.java:288)
at org.neo4j.kernel.impl.core.NodeImpl.ensureRelationshipMapNotNull(NodeImpl.java:260)
at org.neo4j.kernel.impl.core.NodeImpl.getAllRelationshipsOfType(NodeImpl.java:181)
at org.neo4j.kernel.impl.core.NodeImpl.getRelationships(NodeImpl.java:241)
at org.neo4j.kernel.impl.api.store.PersistenceCache.nodeGetRelationships(PersistenceCache.java:200)
at org.neo4j.kernel.impl.api.store.CacheLayer.nodeListRelationships(CacheLayer.java:452)
at org.neo4j.kernel.impl.api.StateHandlingStatementOperations.nodeGetRelationships(StateHandlingStatementOpe
# Install Jitsi from repo on Ubuntu Linux
apt-add-repository 'deb http://download.jitsi.org/deb unstable/'
gpg --keyserver keyserver.ubuntu.com --recv C697D823EB0AB654
gpg --export --armor C697D823EB0AB654 | sudo apt-key add -
apt-get update
apt-get install jitsi
@amorgner
amorgner / fast-firefox
Last active June 30, 2022 20:01
Some config options to make Firefox faster (updated)
Over time, I collected some options to make Firefox really fast.
WARNING! NO WARRANTY, use on your own risk!
If you know what you're doing, go to 'about:config' and edit the listed values accordingly.
Hint: Double-click boolean values to toggle true/false.
###########################
If mouse-wheel scrolling is slow, try
Services.command(SecurityContext.getSuperUserInstance(), TransactionCommand.class).execute(new StructrTransaction() {
@Override
public Object execute() throws FrameworkException {
for (Node node : IteratorUtil.asIterable(nodes)) {
final List<Relationship> references = ImmutableList.copyOf(node.getRelationships(Direction.INCOMING, new RelationshipType() {
@Override
INFO: ############################################################ RECEIVED
{"command":"LOGIN","data":{"username":"admin","password":"admin"}}
2013-01-24 21:14:42.370:INFO:oejs.Server:Graceful shutdown SelectChannelConnector@0.0.0.0:8082
2013-01-24 21:14:42.371:INFO:oejs.Server:Graceful shutdown o.e.j.s.ServletContextHandler{/,[file:/home/axel/NetBeansProjects/structr/structr-ui/, jar:file:/home/axel/NetBeansProjects/structr/structr-ui/target/structr-ui-0.7-SNAPSHOT.jar!/]}
2013-01-24 21:14:42.371:INFO:oejs.Server:Graceful shutdown o.e.j.s.h.ContextHandler{/structr,null}
2013-01-24 21:14:42.371:INFO:oejs.Server:Graceful shutdown o.e.j.s.ServletContextHandler{/,[file:/home/axel/NetBeansProjects/structr/structr-ui/, jar:file:/home/axel/NetBeansProjects/structr/structr-ui/target/structr-ui-0.7-SNAPSHOT.jar!/]}
2013-01-24 21:14:43.393:INFO:/:org.tuckey.web.filters.urlrewrite.UrlRewriteFilter INFO: destroy called
2013-01-24 21:14:43.924:INFO:oejsh.ContextHandler:stopped o.e.j.s.ServletContextHandler{/,[file:/home
cd /System/Library/Extensions/IOAHCIFamily.kext/Contents/PlugIns/IOAHCIBlockStorage.kext/Contents/MacOS
sudo mv IOAHCIBlockStorage IOAHCIBlockStorage.orig
sudo cp IOAHCIBlockStorage.orig IOAHCIBlockStorage
sudo /usr/bin/perl -pi -e 's|\x8b\x4a\x00\x00\xeb\x03|\x8b\x4a\x00\x00\xe8\x01|g' IOAHCIBlockStorage
sudo /usr/bin/perl -pi -e 's|\x74\x0e\x48\x8d\x3d\x72\x92\x00\x00|\xbf\xc8\x00\x00\x00\x90\x90\x90\x90|g' IOAHCIBlockStorage
sudo touch /System/Library/Extensions
{ "type" : "organization" , "id" : "b2f12366717941daa8fb22f97bd50f3f" , "name" : "Deutscher Behindertensportverband e.V." , "short_name" : "DBS" , "street" : "Tulpenweg 2-4" , "postal_code" : "50226" , "city" : "Frechen" , "phone" : "02234-6000-0" , "email" : "dbs@dbs-npc.de" , "url" : "http://www.dbs-npc.de" },
{ "type" : "organization" , "id" : "73cb1f778986433c9948f145a8880e03" , "name" : "Bayerischer Landes-Sportverband e.V." , "short_name" : "BLSV" , "street" : "Georg-Brauchle-Ring 93" , "postal_code" : "80992" , "city" : "München" , "phone" : "089 / 15 702-0" , "email" : "info@blsv.de" , "url" : "http://www.blsv.de" },
{ "type" : "organization" , "id" : "de04f2a9a3684473aceaba1997488108" , "name" : "Bob- und Schlittenverband für Deutschland e.V." , "short_name" : "BSD" , "street" : "An der Schießstätte 6" , "postal_code" : "83471" , "city" : "Berchtesgaden" , "phone" : "+49/(0)8652/9588-0" , "email" : "info@bsd-portal.de" , "url" : "http://www.bsd-portal.de" },
{ "type" : "organization" , "id" : "58440