Skip to content

Instantly share code, notes, and snippets.

@ArloL
ArloL / gist:9048530
Created February 17, 2014 10:54
web.xml snippet showing atmosphere servlet configuration
<?xml version="1.0" encoding="UTF-8"?>
<web-app
xmlns="http://java.sun.com/xml/ns/javaee"
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
xsi:schemaLocation="http://java.sun.com/xml/ns/javaee http://java.sun.com/xml/ns/javaee/web-app_3_0.xsd"
version="3.0">
<servlet>
<servlet-name>auctioneer-services</servlet-name>
<servlet-class>org.atmosphere.cpr.MeteorServlet</servlet-class>
@EnableAsync
@EnableScheduling
public class AppConfiguration implements AsyncConfigurer {
@Override
public Executor getAsyncExecutor() {
return executor();
}
@Bean
import org.gwtbootstrap3.client.ui.DataGrid;
import com.google.gwt.core.client.GWT;
import com.google.gwt.resources.client.ImageResource;
import com.google.gwt.user.client.ui.Widget;
import com.google.gwt.view.client.ProvidesKey;
public class BootstrapDataGrid<T> extends DataGrid<T> {
private static final int DEFAULT_PAGESIZE = 50;
{
"vars": {
"@gray-darker": "lighten(#000, 13.5%)",
"@gray-dark": "lighten(#000, 20%)",
"@gray": "lighten(#000, 33.5%)",
"@gray-light": "lighten(#000, 60%)",
"@gray-lighter": "lighten(#000, 93.5%)",
"@brand-primary": "#428bca",
"@brand-success": "#5cb85c",
"@brand-info": "#5bc0de",
Caused by: org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'accessRequestRepository': Cannot resolve reference to bean 'jpaMapppingContext' while setting bean property 'mappingContext'; nested exception is org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'jpaMapppingContext': Invocation of init method failed; nested exception is java.lang.StackOverflowError
at org.springframework.beans.factory.support.BeanDefinitionValueResolver.resolveReference(BeanDefinitionValueResolver.java:336) ~[spring-beans-4.0.5.RELEASE.jar:4.0.5.RELEASE]
at org.springframework.beans.factory.support.BeanDefinitionValueResolver.resolveValueIfNecessary(BeanDefinitionValueResolver.java:108) ~[spring-beans-4.0.5.RELEASE.jar:4.0.5.RELEASE]
at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.applyPropertyValues(AbstractAutowireCapableBeanFactory.java:1456) ~[spring-beans-4.0.5.RELEASE.jar:4.0.5.RELEASE]
at org.springframework.beans.f
Mrz 10, 2014 11:31:30 AM hudson.model.UpdateCenter doSafeRestart
Information: Scheduling Jenkins reboot
Mrz 10, 2014 11:31:48 AM hudson.model.UpdateCenter$DownloadJob run
Information: Starting the installation of Throttle Concurrent Builds Plugin on behalf of anonymous
Mrz 10, 2014 11:32:08 AM hudson.model.UpdateCenter$UpdateCenterConfiguration download
Information: Downloading Throttle Concurrent Builds Plugin
--
Apr 03, 2014 9:08:15 AM hudson.model.UpdateCenter$DownloadJob run
Information: Starting the installation of Git Parameter Plugin on behalf of anonymous
Apr 03, 2014 9:08:17 AM hudson.model.UpdateCenter$UpdateCenterConfiguration download
@ArloL
ArloL / gem_make.out
Created December 11, 2014 19:47
nokogiri 1.6.5 install failing on osx 10.10.1
/Users/ArloLOK/.rbenv/versions/2.1.5/bin/ruby extconf.rb
checking if the C compiler accepts ... yes
checking if the C compiler accepts -Wno-error=unused-command-line-argument-hard-error-in-future... no
Building nokogiri using packaged libraries.
checking for iconv... yes
************************************************************************
IMPORTANT NOTICE:
Buidling Nokogiri with a packaged version of libxml2-2.9.2
with the following patches applied:
@ArloL
ArloL / gist:2c22f68f8d63bb4497f6
Created June 30, 2015 11:52
Oomph proxy error message
!SESSION 2015-06-30 13:46:11.327 -----------------------------------------------
eclipse.buildId=unknown
java.version=1.8.0_45
java.vendor=Oracle Corporation
BootLoader constants: OS=win32, ARCH=x86_64, WS=win32, NL=de_DE
Command-line arguments: -os win32 -ws win32 -arch x86_64 -data @none
!ENTRY org.eclipse.oomph.base 2 0 2015-06-30 13:49:28.495
!MESSAGE org.eclipse.oomph.util.IOExceptionWithCause: HttpComponents connection error response code 503.
!STACK 0
@ArloL
ArloL / NSObject+AssociatedObjects.h
Created April 27, 2012 02:32 — forked from xslim/NSObject+AssociatedObjects.h
Blocks support for RestKit RKClient
#import <Foundation/Foundation.h>
@interface NSObject (AMAssociatedObjects)
- (void)associateValue:(id)value withKey:(void *)key; // Retains value.
- (id)associatedValueForKey:(void *)key;
- (void)removeAssociatedValueForKey:(void *)key;
@end
@ArloL
ArloL / gist:69d40f1fd21cf1749986
Created October 23, 2015 06:51
Diff of jre/lib/security/java.security in Oracle JDK 8u60 and 8u66
server2:/opt # diff jdk1.8.0_60/jre/lib/security/java.security jdk1.8.0_66/jre/lib/security/java.security
591a592,648
>
> # The pre-defined default finite field Diffie-Hellman ephemeral (DHE)
> # parameters for Transport Layer Security (SSL/TLS/DTLS) processing.
> #
> # In traditional SSL/TLS/DTLS connections where finite field DHE parameters
> # negotiation mechanism is not used, the server offers the client group
> # parameters, base generator g and prime modulus p, for DHE key exchange.
> # It is recommended to use dynamic group parameters. This property defines