This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
// | |
// build.gradle | |
// | |
implementation "com.graphql-java:graphql-java:13.0" | |
implementation "io.quarkus:quarkus-resteasy" | |
implementation "io.quarkus:quarkus-resteasy-jackson" | |
// |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
import com.google.common.cache.Cache; | |
import com.google.common.cache.CacheStats; | |
import org.junit.Before; | |
import org.junit.Test; | |
import org.springframework.boot.actuate.metrics.Metric; | |
import org.springframework.cache.concurrent.ConcurrentMapCache; | |
import org.springframework.cache.guava.GuavaCache; | |
import org.springframework.cache.support.SimpleCacheManager; | |
import static java.util.Arrays.asList; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
import com.google.common.cache.Cache; | |
import com.google.common.cache.CacheStats; | |
import org.springframework.beans.factory.annotation.Autowired; | |
import org.springframework.boot.actuate.endpoint.PublicMetrics; | |
import org.springframework.boot.actuate.metrics.Metric; | |
import org.springframework.cache.CacheManager; | |
import org.springframework.stereotype.Component; | |
import org.springframework.util.Assert; | |
import java.util.ArrayList; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
apply plugin: "java" | |
apply plugin: "idea" | |
apply plugin: "spring-boot" | |
buildscript { | |
repositories { | |
mavenCentral() | |
maven { url "http://repo.spring.io/milestone" } | |
maven { url "http://repo.spring.io/snapshot" } | |
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Marcels-MacBook-Air:grails marceloverdijk$ git push | |
Counting objects: 85, done. | |
Delta compression using up to 4 threads. | |
Compressing objects: 100% (78/78), done. | |
Writing objects: 100% (82/82), 444.39 KiB | 0 bytes/s, done. | |
Total 82 (delta 4), reused 0 (delta 0) | |
remote: Executing Jenkins build. | |
remote: | |
remote: You can track your build at https://jenkins-overdijk.rhcloud.com/job/grails-build | |
remote: |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<!DOCTYPE html> | |
<html> | |
<head> | |
<title>My Page</title> | |
<meta name="viewport" content="width=device-width, initial-scale=1"> | |
<link rel="stylesheet" href="http://code.jquery.com/mobile/1.1.0/jquery.mobile-1.1.0.min.css" /> | |
<script src="http://code.jquery.com/jquery-1.7.1.min.js"></script> | |
<script type="text/javascript"> | |
$(document).bind('mobileinit', function() { | |
$.mobile.loadingMessage = 'Laden...'; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
({ | |
baseUrl: 'app', | |
dir: 'build', | |
mainConfigFile: 'main.js', // ==> is not picked up | |
modules: [{ | |
name: "../main" | |
}], | |
paths: { // ==> have to define this again as mainConfigFile is not picked up | |
cs: '../lib/requirejs/cs-0.3.2', | |
backbone: '../lib/backbone/backbone-0.5.3.min', |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
define [ | |
'jquery' | |
'use!backbone' | |
], ($, Backbone, CustomerListView) -> | |
class Router extends Backbone.Router | |
routes: { | |
'': 'customerListPage' | |
'/': 'customerListPage' |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
define [ | |
'jquery' | |
'use!jquery.mobile' | |
'use!underscore' | |
'use!backbone' | |
'cs!routers/Router' | |
], ($, $$, _, Backbone, Router) -> | |
class App | |
constructor: -> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
require.config({ | |
baseUrl: 'js/app', | |
paths: { | |
cs: '../lib/requirejs/cs-0.3.2', | |
backbone: '../lib/backbone/backbone-0.5.3.min', | |
jquery: '../lib/jquery/jquery-1.6.4.min', | |
'jquery.mobile': '../lib/jquery.mobile/jquery.mobile-1.0.min', | |
text: '../lib/requirejs/text-1.0.2.min', | |
underscore: '../lib/underscore/underscore-1.3.1.min', | |
use: '../lib/requirejs/use-0.1.0' |
NewerOlder