This file contains hidden or 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
Console.WriteLine("Введите a"); | |
float a = Float.Parse(Console.Readline()); | |
Console.WriteLine("Введите b"); | |
float b = Float.Parse(Console.Readline()); | |
Console.WriteLine("Введите действие"); | |
char z = Convert.ToChar(Console.Readline()); | |
switch (z) |
This file contains hidden or 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
diff --git a/kafkacat.c b/kafkacat.c | |
index e7b59ab..fc0b59f 100644 | |
--- a/kafkacat.c | |
+++ b/kafkacat.c | |
@@ -205,7 +205,7 @@ static void produce (void *buf, size_t len, | |
* Produce contents of file as a single message. | |
* Returns the file length on success, else -1. | |
*/ | |
-static ssize_t produce_file (const char *path) { | |
+static ssize_t produce_file(char *key, size_t key_len, const char *path) { |
This file contains hidden or 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/sh | |
usage_error () { | |
echo 'Usage: sh migrator.sh <path to sqlite_to_postgres.py> <path to sqlite db file> <an empty dir to output dump files>' | |
echo | |
echo 'Example:' | |
echo '>sh migrator.sh sqlite_to_postgres.py ~/reviewboard.db /tmp/dumps' | |
echo | |
echo 'Tested on:' | |
echo 'Python 2.7.3' |
This file contains hidden or 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
# you can override this using by setting a system property, for example -Des.logger.level=DEBUG | |
es.logger.level: INFO | |
rootLogger: ${es.logger.level}, console | |
logger: | |
# log action execution errors for easier debugging | |
action: DEBUG | |
# reduce the logging for aws, too much is logged under the default INFO | |
com.amazonaws: WARN | |
appender: |