Skip to content

Instantly share code, notes, and snippets.

View efroese's full-sized avatar

Erik Froese efroese

  • Twitter
  • New York
View GitHub Profile
@efroese
efroese / ghc.rb
Last active March 6, 2017 16:31 — forked from felixbuenemann/ghc.rb
Homebrew formula for official ghc 7.10.2 binaries
class Ghc < Formula
desc "Glorious Glasgow Haskell Compilation System"
homepage "https://haskell.org/ghc/"
url "https://downloads.haskell.org/~ghc/8.0.2/ghc-8.0.2-x86_64-apple-darwin.tar.xz"
sha256 "11625453e1d0686b3fa6739988f70ecac836cadc30b9f0c8b49ef9091d6118b1"
def install
system "./configure", "--prefix=#{prefix}"
ENV.deparallelize { system "make", "install" }
@efroese
efroese / gist:968ffdfc586863060537
Created June 9, 2015 20:46
Scala syntax highlighting for reviewboard in Chrome!
@efroese
efroese / gist:3920763
Created October 19, 2012 21:13
JPA M2M MultitenantEntity to Entity
Exception [EclipseLink-0] (Eclipse Persistence Services - 2.4.0.v20120608-r11652): org.eclipse.persistence.exceptions.IntegrityException|Descriptor Exceptions: |---------------------------------------------------------||Exception [EclipseLink-53] (Eclipse Persistence Services - 2.4.0.v20120608-r11652): org.eclipse.persistence.exceptions.DescriptorException|Exception Description: The relation table name is not set for this mapping.|Mapping: org.eclipse.persistence.mappings.ManyToManyMapping[awards]|Descriptor: RelationalDescriptor(com.package.redacted.model.User --> [DatabaseTable(USER)])||Runtime Exceptions: |---------------------------------------------------------|
at org.eclipse.persistence.internal.sessions.DatabaseSessionImpl.initializeDescriptors(DatabaseSessionImpl.java:638)
at org.eclipse.persistence.internal.sessions.DatabaseSessionImpl.initializeDescriptors(DatabaseSessionImpl.java:574)
at org.eclipse.persistence.internal.sessions.DatabaseSessionImpl.initializeDescriptors(DatabaseSessionImpl.java
@efroese
efroese / gist:2869507
Created June 4, 2012 16:51
src/main/bundles/list.xml
<?xml version="1.0"?>
<bundles>
<startLevel level="0">
<bundle>
<groupId>commons-io</groupId>
<artifactId>commons-io</artifactId>
<!-- KERN-2566 needs 1.4 version -->
<version>1.4</version>
</bundle>
<bundle>
@efroese
efroese / gist:2869165
Created June 4, 2012 15:51
remove sling from maven-launchpad-plugin output
<?xml version="1.0"?>
<!--
Licensed to the Sakai Foundation (SF) under one
or more contributor license agreements. See the NOTICE file
distributed with this work for additional information
regarding copyright ownership. The SF licenses this file
to you under the Apache License, Version 2.0 (the
"License"); you may not use this file except in compliance
with the License. You may obtain a copy of the License at
@efroese
efroese / gist:2783158
Created May 24, 2012 18:02
Erik Bash Git Goodness
# .bash_profile
# set -xv
#####################################################
# each shell appends to history
shopt -s histappend
PROMPT_COMMAND='history -a'
export HISTFILESIZE=1000000000
@efroese
efroese / gist:2639039
Created May 8, 2012 20:32
eriks bash profile
# .bash_profile
# set -xv
#####################################################
# each shell appends to history
shopt -s histappend
PROMPT_COMMAND='history -a'
export HISTFILESIZE=1000000000
30.04.2012 08:07:12.722 *ERROR* [1498394677@qtp-1859958452-15] org.sakaiproject.nakamura.forcemigration [org.sakaiproject.nakamura.forcemigration.ForceMigration] Error during instantiation of the implementation object (java.lang.Error: Unresolved compilation problems:
The import org.sakaiproject.nakamura.api.files.FileMigrationService cannot be resolved
FileMigrationService cannot be resolved to a type
) java.lang.Error: Unresolved compilation problems:
The import org.sakaiproject.nakamura.api.files.FileMigrationService cannot be resolved
FileMigrationService cannot be resolved to a type
at org.sakaiproject.nakamura.forcemigration.ForceMigration.<init>(ForceMigration.java:48)
at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method)
at sun.reflect.NativeConstructorAccessorImpl.newInstance(NativeConstructorAccessorImpl.java:39)
String stompUrl = PropertiesUtil.toString(properties.get(ACTIVEMQ_STOMP_BROKER_URL), "stomp://localhost:61613");
TransportConnector stompConnector = broker.addConnector(stompUrl);
stompConnector.setConnectUri(new URI(stompUrl));
stompConnector.setName("stomp");
[INFO] Sakai Nakamura Project ............................ SUCCESS [1.964s]
[INFO] Sakai Nakamura :: Utilities ....................... SUCCESS [9.832s]
[INFO] Sakai Nakamura :: Test Utilities .................. SUCCESS [4.532s]
[INFO] Sakai Nakamura :: Memory Bundle ................... FAILURE [0.400s]
[INFO] Sakai Nakamura :: Server Extension Bundle ......... SKIPPED
[INFO] Sakai Nakamura :: Sling Resource Extension Bundle . SKIPPED
[INFO] Sakai Nakamura :: Documentation Support bundle .... SKIPPED
[INFO] Sakai Nakamura :: proxy service ................... SKIPPED
[INFO] Sakai Nakamura :: Jetty Configuration ............. SKIPPED
[INFO] Sakai Nakamura :: ActiveMQ Bundle ................. SKIPPED