Results 23 comments of Luis

Simple function to read the metadata.db and check for duplicates. Next have to call the API and delete book for each id. ````python import sqlite3 from contextlib import closing import...

I have an app that launches millions of coroutines that are CPU bound and they are taking longer than would be expected to complete. I am wondering if they are...

https://plugins.calibre-ebook.com/ There is a plugin here that can do it. Anyone know how to install this on calibre-web?

@binkley did you get this working and can you show how you did it? I'm having the same issue where I want to format source code that is a String...

@arturbosch thanks got it working by doing the exclude group and looking at the stdin case in https://github.com/pinterest/ktlint/blob/master/ktlint/src/main/kotlin/com/pinterest/ktlint/Main.kt For anyone interested: ``` import com.pinterest.ktlint.core.KtLint import com.pinterest.ktlint.core.LintError import com.pinterest.ktlint.core.RuleSet import com.pinterest.ktlint.core.RuleSetProvider...

@Tapchicoma Stacktrace ``` java.lang.IllegalStateException: Paths.get(fileName).parent must not be null at com.pinterest.ktlint.core.KtLint$userDataResolver$2.invoke(KtLint.kt:212) at com.pinterest.ktlint.core.KtLint$userDataResolver$2.invoke(KtLint.kt:45) at com.pinterest.ktlint.core.KtLint.format(KtLint.kt:374) at com.c0ckp1t.app.action.wf.CodeFormatter.formatFile(CodeFormatter.kt:84) ``` After looking at the code carefully it works if ```fileName=""``` . I...

You probably need an additonal library like: https://github.com/agavrilov76/ExpectIt

Do you have a .ssh/known_hosts file? if not don't call loadKnownHosts. Use: ssh.addHostKeyVerifier(PromiscuousVerifier()) basically all hosts will be verified . for more security create a known_hosts file

related: https://github.com/emqx/emqx-auth-redis/issues/202

Yes it isn't specified anywhere what would be the correct syntax. My guess is this: protoc --js_out=import_style=es6,binary:${DEST} -I ${SRC} ${PROTO_FILE} but the code generated isn't showing any imports or exports...