You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Instantly share code, notes, and snippets.
Kirill M
62mkv
Developer, sysadmin, Head of IT dept, project manager, team lead, again developer: 2001 and counting...
Hosting FTP in Docker with Docker Desktop under Windows 10
Sneak on docker containers' traffic:
docker run --rm --net=host -v $PWD/tcpdump:/tcpdump kaazing/tcpdump
This will save tcpdump.pcap to tcpdump folder under current directory. That file can be opened with WireShark (sometimes it
fails to open the file - check if any concurrent instances of tcpdump container are still running)
How to resolve Liquibase exception "Table 'TABLE_NAME_temporary" not found, when working with SQLite
As it's already second time I face this, here's a brief overview:
Occassionally, constraints in SQLite Database get "corrupted" (maybe it's just me, I dunno), and, when applying
migrations, you might come across an exception that looks like this:
Caused by: liquibase.exception.MigrationFailedException: Migration failed for change set db/changelog/changelogs/008-add-lexemes.xml::8-3::62mkv:
Reason: liquibase.exception.UnexpectedLiquibaseException: liquibase.exception.DatabaseException: liquibase.exception.DatabaseException: java.sql.SQLException: Table not found: 'ARTICLES_temporary'
How to extract names and values of parameters from a collection inside XML document
Use Altova XMLSpy. The XLST template example given:
<?xml version="1.0" encoding="UTF-8"?>
<xsl:stylesheetversion="2.0"xmlns:xsl="http://www.w3.org/1999/XSL/Transform"xmlns:xs="http://www.w3.org/2001/XMLSchema"xmlns:fn="http://www.w3.org/2005/xpath-functions"exclude-result-prefixes="xs fn xsl"
xmlns:SOAP-ENV="http://schemas.xmlsoap.org/soap/envelope/"
xmlns:tns="http://xlogics.eu/blackbox">
<!--output format close to xquery-->
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
/* The credential entry is of type "SSH Username with private key" and the corresponding public key is registered for a technical user in Bitbucket. */
How to use XPath against XML text fields with PostgreSQL
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
Today I've run into situation where some of the tests started failing randomly.
Sometimes, 3 times in a row they could be executed successfully, but then would fail.
In order to collect more statistics I created this test.bat:
for /L %%iin (1,1,10) do (
gradlew clean test
zip -r0q build%%i build/
)
Executing gradle commands with -i seem to seriously enhance debugging experience, especially when tests are
failing to initialize (as if when Testcontainers fail to connect to Docker daemon) and there're
almost no logs in the JUnit XML reports