Skip to content

Instantly share code, notes, and snippets.

View maxandersen's full-sized avatar
💭
; is so overrated

Max Rydahl Andersen maxandersen

💭
; is so overrated
View GitHub Profile
@maxandersen
maxandersen / mysql_error.log
Created March 12, 2012 10:31
test for test
120221 12:36:17 mysqld_safe Starting mysqld daemon with databases from /var/lib/libra//b0d8710a0f17475492d56066eb26e46b//mysql-5.1//data/
120221 12:36:17 InnoDB: Initializing buffer pool, size = 16.0M
120221 12:36:17 InnoDB: Completed initialization of buffer pool
InnoDB: The first specified data file ./ibdata1 did not exist:
InnoDB: a new database to be created!
120221 12:36:17 InnoDB: Setting file ./ibdata1 size to 10 MB
InnoDB: Database physically writes the file full: wait...
120221 12:36:17 InnoDB: Log file ./ib_logfile0 did not exist: new to be created
InnoDB: Setting log file ./ib_logfile0 size to 5 MB
InnoDB: Database physically writes the file full: wait...
2012-03-13 11:11:49
Full thread dump Java HotSpot(TM) 64-Bit Server VM (20.4-b02-402 mixed mode):
"Attach Listener" daemon prio=9 tid=7f8cec317000 nid=0x1054a8000 waiting on condition [00000000]
java.lang.Thread.State: RUNNABLE
"MSC Shutdown Thread" prio=5 tid=7f8ceb81d800 nid=0x106f6b000 waiting on condition [106f6a000]
java.lang.Thread.State: WAITING (parking)
at sun.misc.Unsafe.park(Native Method)
- parking to wait for <7f992bf10> (a java.util.concurrent.CountDownLatch$Sync)
@maxandersen
maxandersen / gist:2035548
Created March 14, 2012 10:15 — forked from fbricon/gist:2035545
GWT Errai deployment instructions for Eclipse
Running the Application in JBoss Developer Studio or Eclipse with JBoss Tools
=============================================================================
To run the project and try it out, you will need to perform a maven
compilation before the first time you deploy, as some resources and
classes can not be generated via the GWT/Eclipse compilers alone :
1. Right-click on the project the project node in the Package Explorer and select Run As > Maven Build...
2. Set goals = package and click Run. GWT compilation might take a few minutes.
3. Once the build is complete, Right-click on the on the project node in the Package Explorer and select Refresh.
at java.io.DataInputStream.readFully(DataInputStream.java:178) [classes.jar:1.6.0_29]
at java.io.DataInputStream.readFully(DataInputStream.java:152) [classes.jar:1.6.0_29]
at org.jboss.jandex.Indexer.verifyMagic(Indexer.java:387) [jandex-1.0.3.Final.jar:1.0.3.Final]
at org.jboss.jandex.Indexer.index(Indexer.java:630) [jandex-1.0.3.Final.jar:1.0.3.Final]
at org.jboss.as.server.deployment.annotation.ResourceRootIndexer.indexResourceRoot(ResourceRootIndexer.java:77) [jboss-as-server-7.1.0.Final.jar:7.1.0.Final]
at org.jboss.as.server.deployment.annotation.AnnotationIndexProcessor.deploy(AnnotationIndexProcessor.java:51) [jboss-as-server-7.1.0.Final.jar:7.1.0.Final]
at org.jboss.as.server.deployment.DeploymentUnitPhaseService.start(DeploymentUnitPhaseService.java:113) [jboss-as-server-7.1.0.Final.jar:7.1.0.Final]
at org.jboss.msc.service.ServiceControllerImpl$StartTask.startService(ServiceControllerImpl.java:1811) [jboss-msc-1.0.2.GA.jar:1.0.2.GA]
at org.jboss.msc.service.ServiceControllerImpl$StartTask.
13:49:59,764 INFO [stdout] (http-localhost-127.0.0.1-8080-1) error: Bad service configuration file, or exception thrown while constructing Processor object: javax.annotation.processing.Processor: Provider org.jboss.errai.common.rebind.ModuleAnnotationProcessor not found
13:49:59,765 ERROR [ErraiMarshalling] (http-localhost-127.0.0.1-8080-1) failed to load static marshallers: java.lang.NullPointerException
at org.jboss.errai.marshalling.server.MappingContextSingleton.loadPrecompiledMarshallers(MappingContextSingleton.java:98) [errai-marshalling-2.0-SNAPSHOT.jar:2.0-SNAPSHOT]
at org.jboss.errai.marshalling.server.MappingContextSingleton.<clinit>(MappingContextSingleton.java:78) [errai-marshalling-2.0-SNAPSHOT.jar:2.0-SNAPSHOT]
at org.jboss.errai.bus.server.io.MessageFactory.getParts(MessageFactory.java:109) [errai-bus-2.0-SNAPSHOT.jar:2.0-SNAPSHOT]
at org.jboss.errai.bus.server.io.MessageFactory.createCommandMessage(MessageFactory.java:93) [errai-bus-2.0-SNAPSHOT.jar:2.0-SNAPSHOT]
at org.jboss.errai.bus.s
http://localhost:8080/gwt-kitchensink/KitchenSink.html
## Ceylon IDE - Behind the Scenes
Considered XText, DLTK, IMP & “DIY”
XText - very complete, but does not allow Antlr and require XText custom parser and typechecker
DLTK - allows Antlr, but at the time no good documentation and a preference to by “too dynamic language focused”
IMP - allows antlr and custom typechecker and just worked, but..
This file contains instructions on how to set up your Eclipse environment to
work with the source code for the Google Plugin for Eclipse:
Configuring Your Eclipse Workspace
==================================
Configuring your Eclipse workspace to develop on the Google Eclipse plugin is very
much like getting set up to develop for GWT. The same style rules apply, and
Eclipse projects are provided for you to import. The "settings" directory
mentioned below is under "eclipse", in your checkout of plugin.
This file contains instructions on how to set up your Eclipse environment to
work with the source code for the Google Plugin for Eclipse:
Configuring Your Eclipse Workspace
==================================
Configuring your Eclipse workspace to develop on the Google Eclipse plugin is very
much like getting set up to develop for GWT. The same style rules apply, and
Eclipse projects are provided for you to import. The "settings" directory
mentioned below is under "eclipse", in your checkout of plugin.
curl --silent "http://github.com/itspriddle/launchbar-actions/raw/master/scripts/Create%20gist%20from%20clipboard.scpt" \
| osacompile -o "$HOME/Library/Application Support/LaunchBar/Actions/Create gist from clipboard.scpt"