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
{ | |
"basics": { | |
"name": "Nicolas Delsaux", | |
"label": "Développeur", | |
"picture": "", | |
"email": "[email protected]", | |
"phone": "07 69 99 61 17", | |
"summary": "Dévelopeur expérimenté, presque expert", | |
"website": "http://riduidel.wordpress.com", |
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
<plugin> | |
<groupId>com.fizzed</groupId> | |
<artifactId>fizzed-watcher-maven-plugin</artifactId> | |
<configuration> | |
<touchFile>target/watcher.docs.touchfile</touchFile> | |
<watches> | |
<watch> | |
<directory>${asciidoc.source.docs.directory}</directory> | |
</watch> | |
</watches> |
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
MIME-Version: 1.0 | |
User-Agent: rss2email | |
Content-Transfer-Encoding: base64 | |
To: {{to}} | |
Subject: {{title}} | |
Date: {{date}} | |
Content-Type: text/html; charset="{{charset}}" | |
{% for l in links %}X-RSS-Feed: {{l}}{%- endfor %} | |
{% for a in from %}From: {{a}}{%- endfor %} |
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
val MAPPINGS = java.util.TreeMap(mapOf(1 to "I", | |
4 to "IV", | |
5 to "V", | |
9 to "IX", | |
10 to "X", | |
40 to "XL", | |
50 to "L", | |
90 to "XC", | |
100 to "C", | |
400 to "CD", |
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
public class DataMunging { | |
public static void main(String[] args) throws IOException { | |
System.out.println( | |
Files.lines(Paths.get("weather.dat")) | |
.map(line -> line.trim()) | |
.map(line -> line.split(" +")) | |
.filter(elements -> elements[0].matches("[0-9\\*]+")) | |
.map(elements -> new AbstractMap.SimpleEntry<>(elements[0], | |
Integer.parseInt(elements[1].replace("*", "")) - Integer.parseInt(elements[2].replace("*", "") | |
))) |
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
public class Converter { | |
private static class Bound { | |
public final int number; | |
public final char symbol; | |
public Bound(int number, char symbol) { | |
super(); | |
this.number = number; | |
this.symbol = symbol; | |
} | |
} |
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
#!/bin/bash | |
# 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 | |
# |
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
# 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 | |
# | |
# Unless required by applicable law or agreed to in writing, software |
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
root@kafka-connect:/# cat /etc/kafka-connect/kafka-connect.properties | |
config.storage.replication.factor=1 | |
status.storage.replication.factor=1 | |
ssl.protocol=TLS | |
schema.registry.basic.auth.credentials.source=USER_INFO | |
key.converter.schema.registry.url=https://kafka-test-adeo-disp.aivencloud.com:24120 | |
key.converter.basic.auth.user.info=LOGIN:PASSWORD | |
key.converter=io.confluent.connect.avro.AvroConverter | |
schema.registry.basic.auth.user.info=LOGIN:PASSWORD | |
ssl.keystore.password=secret |