Skip to content

Instantly share code, notes, and snippets.

View Bengt's full-sized avatar

Bengt Lüers Bengt

View GitHub Profile
@Bengt
Bengt / LoginError
Created January 30, 2011 15:22
A Random GWT LoginError
[WARN] Exception while dispatching incoming RPC call
com.google.gwt.user.server.rpc.UnexpectedException: Service method 'public abstract java.lang.Boolean sp10g10.roborally.client.rpc.UserManagement.login(java.lang.String,int) throws sp10g10.roborally.shared.exception.RoboException' threw an unexpected exception: org.hibernate.ObjectNotFoundException: No row with the given identifier exists: [sp10g10.roborally.shared.model.User#123]
at com.google.gwt.user.server.rpc.RPC.encodeResponseForFailure(RPC.java:378)
at com.google.gwt.user.server.rpc.RPC.invokeAndEncodeResponse(RPC.java:581)
at com.google.gwt.user.server.rpc.RemoteServiceServlet.processCall(RemoteServiceServlet.java:207)
at com.google.gwt.user.server.rpc.RemoteServiceServlet.processPost(RemoteServiceServlet.java:243)
at com.google.gwt.user.server.rpc.AbstractRemoteServiceServlet.doPost(AbstractRemoteServiceServlet.java:62)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:637)
at javax.servlet.http.HttpServlet.service(HttpServlet.jav
@Bengt
Bengt / gist:815780
Created February 8, 2011 03:13
eclipse 3.6 heloios fails crashes on hover tooltip
JVM terminated. Exit code=1
/usr/bin/java
-Dosgi.requiredJavaVersion=1.5
-XX:MaxPermSize=256m
-Xms40m
-Xmx384m
-jar /home/bengt/Studium/git/1011/swp/eclipse_3.6/plugins/org.eclipse.equinox.launcher_1.1.0.v20100507.jar
-os linux
-ws gtk
-arch x86_64
@Bengt
Bengt / gist:826248
Created February 14, 2011 17:53
GWT 2.2.0 Eclipse compilation Fail
[ERROR] Errors in 'jar:file:/home/bengt/Studium/1011/swp/Projekt/Roborally/war/WEB-INF/lib/gquery-dnd-bundle-1.0.2.jar!/com/google/gwt/query/client/GQuery.java'
[ERROR] Internal compiler error
java.lang.IncompatibleClassChangeError: Found interface com.google.gwt.core.ext.typeinfo.JClassType, but class was expected
at com.google.gwt.query.rebind.LazyGenerator.generate(LazyGenerator.java:59)
at com.google.gwt.core.ext.GeneratorExtWrapper.generate(GeneratorExtWrapper.java:48)
at com.google.gwt.core.ext.GeneratorExtWrapper.generateIncrementally(GeneratorExtWrapper.java:60)
at com.google.gwt.dev.javac.StandardGeneratorContext.runGeneratorIncrementally(StandardGeneratorContext.java:662)
at com.google.gwt.dev.cfg.RuleGenerateWith.realize(RuleGenerateWith.java:41)
at com.google.gwt.dev.shell.StandardRebindOracle$Rebinder.rebind(StandardRebindOracle.java:74)
at com.google.gwt.dev.shell.StandardRebindOracle.rebind(StandardRebindOracle.java:259)
@Bengt
Bengt / gist:1185006
Created August 31, 2011 23:07
themeselector install bash script
#!/bin/sh
wget -c http://www.fpmurphy.com/gnome-shell-extensions/themeselector-0.9.tar.gz
tar -xvzf themeselector-*.tar.gz
rm themeselector-*.tar.gz
mkdir -p ~/.local/share/gnome-shell/extensions/themeselector@fpmurphy.com/
mv ./extension.js ~/.local/share/gnome-shell/extensions/themeselector@fpmurphy.com/
mv metadata.json ~/.local/share/gnome-shell/extensions/themeselector@fpmurphy.com/
mv ./Adwaita/ ~/.themes/
mv ./ANewHope ~/.themes/
@Bengt
Bengt / README.md
Created September 27, 2011 22:53
VDrift Data readme

VDrift Data - Content for VDrift

VDrift is a cross-platform, open source driving simulation made with drift racing in mind.

This is the comprehensive repository of content compatible with VDrift.

See also

r904 = afd0589ea3449e392b33c4d96f276bd3cc862e0a (refs/remotes/git-svn)
M vdrift-data/skins/simple/languages/German.lng
r905 = b551fbb5dbcb935c0921f31984e98fbb4f097060 (refs/remotes/git-svn)
M vdrift-data/skins/simple/languages/German.lng
r906 = 5a6908fd52c12cb48823118faa21c0077bc0a8c1 (refs/remotes/git-svn)
Auto packing the repository for optimum performance. You may also
run "git gc" manually. See "git help gc" for more information.
Counting objects: 7163, done.
Delta compression using up to 2 threads.
Compressing objects: 100% (6765/6765), done.
@Bengt
Bengt / update
Created October 17, 2011 17:24 — forked from EddieRingle/update
All-in-one script for system maintenance via APT
#!/bin/sh
#
# All-in-one script for system maintenance via APT
#
# sudo wget https://raw.github.com/gist/1293171/ -O /usr/local/sbin/maintenance
# sudo chmod +x /usr/local/sbin/maintenance
# sudo maintenance
echo "Updating Sources ..."
apt-get update -qq
@Bengt
Bengt / gist:1340629
Created November 4, 2011 22:15
reinstalling all packages using apt-get atitude search and xargs
aptitude search -F %p '~i' | xargs sudo apt-get -y install --reinstall
@Bengt
Bengt / DoxyCleaner.py
Created November 28, 2011 14:27
DoxyCleaner
#! /bin/python
# This program is free software; you can redistribute it and/or modify
# it under the terms of the GNU General Public License as published by
# the Free Software Foundation; either version 2 of the License, or
# (at your option) any later version.
#
# This program is distributed in the hope that it will be useful,
# but WITHOUT ANY WARRANTY; without even the implied warranty of
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
@Bengt
Bengt / NaiveSeriesDeduplicator.py
Created January 16, 2012 18:57
SerienDeduplikator zu unserer Belustigung
# populate watchlists
watchlists = []
for name in ['k', 'b', 'n']:
with open(name + '.list') as f and \
open(name + '.list') as f and \
open(name + '.list') as f:
watchlist = []
for series in f.readlines():
if series.endswith('\n'): series = series[:-1]