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
let config = { | |
"php": [{ | |
"base-image": "php:5-apache", | |
"groups": [ | |
{ | |
"name": "Memcache", | |
"properties": [ | |
{ | |
"name": "memcache.lifetime", | |
"type": "integer", |
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
<Configuration packages="biz.paluch.logging.gelf.log4j2"> | |
<Appenders> | |
<Gelf name="gelf" host="udp:192.168.99.100" port="12201" version="1.1" extractStackTrace="true" | |
filterStackTrace="true" mdcProfiling="true" includeFullMdc="true" maximumMessageSize="8192" | |
originHost="%host{fqdn}" additionalFieldTypes="request=String"> | |
<Field name="timestamp" pattern="%d{dd MMM yyyy HH:mm:ss,SSS}" /> | |
<Field name="level" pattern="%level" /> | |
<Field name="simpleClassName" pattern="%C{1}" /> | |
<Field name="className" pattern="%C" /> | |
<Field name="server" pattern="%host" /> |
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
package de.christianbergau; | |
import org.apache.http.HttpResponse; | |
import org.apache.http.client.config.RequestConfig; | |
import org.apache.http.client.methods.HttpGet; | |
import org.apache.http.impl.client.CloseableHttpClient; | |
import org.apache.http.impl.client.HttpClientBuilder; | |
import org.apache.http.util.EntityUtils; | |
import java.io.IOException; |
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
StringBuilder sb = new StringBuilder(); | |
try { | |
String line; | |
Process p = Runtime.getRuntime().exec("npm outdated --json"); | |
BufferedReader input = new BufferedReader(new InputStreamReader(p.getInputStream())); | |
while ((line = input.readLine()) != null) { | |
sb.append(line); | |
} | |
input.close(); |
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 UIKit | |
class LoginResponse { | |
var code: Int = 0 | |
var user: UserDto | |
init(code: Int, userDto: UserDto) { | |
self.code = code | |
self.user = userDto | |
} |
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
////////////////////////////////////////////////////// | |
//This file includes all racial units, heroes, | |
//upgrades, buildings and abilities. Please consult | |
//CustomKeyInfo.txt for information on how to go about | |
//using this file for customized hotkey support. | |
////////////////////////////////////////////////////// | |
///////////////////////////// | |
//Shared Commands (attack, etc.) |
OlderNewer