Skip to content

Instantly share code, notes, and snippets.

View grossws's full-sized avatar

Konstantin Gribov grossws

View GitHub Profile
@grossws
grossws / TestResouce.java
Created June 16, 2021 17:30
quarkus-bom 1.13.x opentracing issue
// src/main/java/t/TestResouce.java
package t;
import javax.enterprise.context.ApplicationScoped;
import javax.ws.rs.GET;
import javax.ws.rs.Path;
@ApplicationScoped
@Path("/test")
public class TestResource {
@grossws
grossws / Calc.java
Created January 31, 2017 19:26
calc demo project
package test;
public class Calc {
public static void main(String[] args) {
if (args.length == 0) {
System.out.println("usage: java -jar ...jar expr");
}
String expr = String.join(" ", args);
System.out.println(expr + " = " + compute(expr));
}
@grossws
grossws / maven
Last active August 29, 2015 14:15
resteasy mvn build log for ba3b1ccae30caabb51244c79dc6d852038435a90
[INFO] Scanning for projects...
[WARNING]
[WARNING] Some problems were encountered while building the effective model for org.jboss.resteasy.examples:examples-guice-hello:war:3.0.11.Final-SNAPSHOT
[WARNING] 'build.plugins.plugin.version' for org.apache.maven.plugins:maven-compiler-plugin is missing. @ line 112, column 21
[WARNING] 'build.plugins.plugin.version' for org.apache.maven.plugins:maven-surefire-plugin is missing. @ line 93, column 21
[WARNING] 'build.plugins.plugin.version' for org.apache.maven.plugins:maven-deploy-plugin is missing. @ line 47, column 21
[WARNING]
[WARNING] Some problems were encountered while building the effective model for org.jboss.resteasy.examples:examples-async-job-service:war:3.0.11.Final-SNAPSHOT
[WARNING] 'build.plugins.plugin.version' for org.apache.maven.plugins:maven-compiler-plugin is missing. @ line 113, column 21
[WARNING] 'build.plugins.plugin.version' for org.apache.maven.plugins:maven-surefire-plugin is missing. @ line 94, column 21
@grossws
grossws / cVimrc
Last active August 29, 2015 14:13
cvim
" settings
@grossws
grossws / keybase.md
Created January 9, 2015 00:57
keybase.md

Keybase proof

I hereby claim:

  • I am grossws on github.
  • I am grossws (https://keybase.io/grossws) on keybase.
  • I have a public key whose fingerprint is 71A5 D5CC 95AB CD57 6A71 F1DD B258 8F02 0890 B1AB

To claim this, I am signing this object:

@grossws
grossws / log
Created December 22, 2014 17:05
systemd pid 1 killed by `jstack -l 1`
[root@test ~]# strace jstack -l 1
execve("/bin/jstack", ["jstack", "-l", "1"], [/* 21 vars */]) = 0
brk(0) = 0x7cb000
mmap(NULL, 4096, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0x7f1002d3f000
access("/etc/ld.so.preload", R_OK) = -1 ENOENT (No such file or directory)
open("/usr/lib/jvm/java-1.7.0-openjdk-1.7.0.71-2.5.3.1.el7_0.x86_64/jre/lib/amd64/jli/tls/x86_64/libpthread.so.0", O_RDONLY|O_CLOEXEC) = -1 ENOENT (No such file or directory)
stat("/usr/lib/jvm/java-1.7.0-openjdk-1.7.0.71-2.5.3.1.el7_0.x86_64/jre/lib/amd64/jli/tls/x86_64", 0x7fff0f7afb50) = -1 ENOENT (No such file or directory)
open("/usr/lib/jvm/java-1.7.0-openjdk-1.7.0.71-2.5.3.1.el7_0.x86_64/jre/lib/amd64/jli/tls/libpthread.so.0", O_RDONLY|O_CLOEXEC) = -1 ENOENT (No such file or directory)
stat("/usr/lib/jvm/java-1.7.0-openjdk-1.7.0.71-2.5.3.1.el7_0.x86_64/jre/lib/amd64/jli/tls", 0x7fff0f7afb50) = -1 ENOENT (No such file or directory)
open("/usr/lib/jvm/java-1.7.0-openjdk-1.7.0.71-2.5.3.1.el
@grossws
grossws / postgres
Created December 21, 2014 20:32
docker upgrade (1.2.0->1.3.2) issue: old data-only container isn't mounted from `--volumes-from`
[{
"AppArmorProfile": "",
"Args": [
"postgres"
],
"Config": {
"AttachStderr": false,
"AttachStdin": false,
"AttachStdout": false,
"Cmd": [
@grossws
grossws / log
Created March 12, 2014 19:52
spring-boot with start-class in default package
-> % java -jar build/libs/spring-boot-sample-simple-1.0.0.jar
. ____ _ __ _ _
/\\ / ___'_ __ _ _(_)_ __ __ _ \ \ \ \
( ( )\___ | '_ | '_| | '_ \/ _` | \ \ \ \
\\/ ___)| |_)| | | | | || (_| | ) ) ) )
' |____| .__|_| |_|_| |_\__, | / / / /
=========|_|==============|___/=/_/_/_/
:: Spring Boot :: (v1.0.0.BUILD-SNAPSHOT)
@grossws
grossws / PKGBUILD
Created February 9, 2014 15:45
Arch Linux PKGBUILD for telxcc (https://github.com/forers/telxcc)
# Maintainer: kfgz <kfgz at interia dot pl>
# Contributor: Gustavo Alvarez <sl1pkn07 at gmail dot com>
# Contributor: Konstantin Gribov <grossws at gmail dot com>
pkgname=telxcc-git
pkgver=2.5.3.r3.g2f90d0b
pkgrel=1
pkgdesc="TELeteXt Closed Captions decoder (produces subtitles in .SRT format from transport stream .TS files) (GIT version)"
arch=('i686' 'x86_64')
url="https://github.com/forers/telxcc"