I hereby claim:
- I am pmauduit on github.
- I am pmauduit (https://keybase.io/pmauduit) on keybase.
- I have a public key whose fingerprint is 9193 DA20 F60A 9801 13DF 21A8 6F11 9B4E 77C8 965E
To claim this, I am signing this object:
| //Grooscript Angular.js TODO example from https://angularjs.org/ | |
| //You need next release of grooscript to run it (1.0.1) | |
| class TodoController implements AngularController { | |
| def todos = [ | |
| [text:'learn angular', done: true], | |
| [text:'build an angular app', done: false] | |
| ] | |
| def addTodo() { | |
| scope.todos << [text: scope.todoText, done: false] | |
| scope.todoText = '' |
I hereby claim:
To claim this, I am signing this object:
| include ::apt | |
| include ::sudo | |
| include ::collectd | |
| collectd::plugin { ['cpu', 'memory', 'disk']: } -> | |
| # see below why this ... | |
| exec { 'ensures jmx_memory is defined in collectd conf files': | |
| command => "echo 'jmx_memory value:GAUGE:0:U' >> /etc/collectd/custom-types.db", | |
| unless => "test $(grep jmx_memory /etc/collectd/custom-types.db | wc -l) -gt 0", | |
| provider => "shell", |
| watch -n1 "jstat -gc <PID> | awk '{if (NR !=1) {print \$7 - \$8}}'" |
| diff --git a/mapfishapp/src/main/java/org/georchestra/mapfishapp/ws/upload/UpLoadFileManagement.java b/mapfishapp/src/main/java/org/georchestra/mapfishapp/ws/upload/UpLoadFileManagement.java | |
| index 4f011b7..1cacf7f 100644 | |
| --- a/mapfishapp/src/main/java/org/georchestra/mapfishapp/ws/upload/UpLoadFileManagement.java | |
| +++ b/mapfishapp/src/main/java/org/georchestra/mapfishapp/ws/upload/UpLoadFileManagement.java | |
| @@ -374,18 +374,10 @@ public class UpLoadFileManagement { | |
| fjson.setEncodeFeatureCollectionCRS(true); | |
| fjson.writeFeatureCollection(featureCollection, writer); | |
| - | |
| - } catch (ProjectionException e) { |
| # add the following block: | |
| <Plugin network> | |
| Server "127.0.0.1" | |
| </Plugin> |
| #include <stdio.h> | |
| #include <stdlib.h> | |
| void sample() { | |
| int i = 0; | |
| char * test = malloc(10 * sizeof(char)); | |
| for (i = 0 ; i < 10 ; i++) { | |
| test[i] = 'a'; | |
| } | |
| test[9] = '\0'; |
| define tomcat::property ( | |
| $ensure = 'present', | |
| $key = $name, | |
| $target, | |
| $value, | |
| ) { | |
| case $ensure { | |
| 'present': { | |
| $changes = "set ${key} '${value}'" | |
| } |
| import java.lang.reflect.Proxy; | |
| import java.lang.reflect.InvocationHandler; | |
| import java.lang.Throwable; | |
| import java.lang.reflect.Method; | |
| import java.lang.Object; | |
| public class Main { | |
| interface IA {}; |
| <?xml version='1.0' encoding='utf-8'?> | |
| <!-- | |
| Licensed to the Apache Software Foundation (ASF) under one or more | |
| contributor license agreements. See the NOTICE file distributed with | |
| this work for additional information regarding copyright ownership. | |
| The ASF 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 | |
| http://www.apache.org/licenses/LICENSE-2.0 |