Skip to content

Instantly share code, notes, and snippets.

21/08/2020/15:02:54.549 DEBUG [org.waarp.common.state.MachineState] [RetrieveRunner-3] org.waarp.common.state.MachineState.setAsFinal(MachineState.java:176) : [client1] New State: DATAS from DATAS
21/08/2020/15:02:54.554 DEBUG [org.waarp.openr66.dao.database.StatementExecutor] [Handler-2] org.waarp.openr66.dao.database.StatementExecutor.executeUpdate(StatementExecutor.java:67) : [client1] 1 records updated.
21/08/2020/15:02:54.554 DEBUG [org.waarp.openr66.protocol.networkhandler.NetworkTransaction] [Handler-2] org.waarp.openr66.protocol.networkhandler.NetworkTransaction.isAddressValid(NetworkTransaction.java:1190) : [client1] IS IN SHUTDOWN: false
21/08/2020/15:02:54.559 DEBUG [org.waarp.openr66.protocol.networkhandler.NetworkTransaction] [Handler-2] org.waarp.openr66.protocol.networkhandler.NetworkTransaction.isAddressValid(NetworkTransaction.java:1190) : [client1] IS IN SHUTDOWN: false
21/08/2020/15:02:54.561 DEBUG [org.waarp.openr66.protocol.networkhandler.NetworkTransaction] [Handler-2] org.waarp.openr66.
@bcarlin
bcarlin / bensh.sh
Last active July 3, 2020 17:06
Waarp R66 JVM benchmarks
#!/usr/bin/env bash
images=(
#openjdk:7-jre-slim
#openjdk:7-jdk-slim
openjdk:8-jre-slim
openjdk:8-jdk-slim
store/oracle/serverjre:8
amazoncorretto:8
amazoncorretto:8-al2-jdk
<authent>
<entry>
<hostid>client</hostid>
<address>127.0.0.1</address>
<port>6666</port>
<isssl>false</isssl>
<key>04ebd92364b5aa60c29f04da512aca4be069dc6c6a842e25</key>
</entry>
<entry>
<hostid>client-ssl</hostid>
fb1
===
--- FAIL: TestCrypt (0.03s)
main_test.go:32: Wrong hash:
expected: 21a4cb899efe5c45ac2128f37b6f71e59c12e99574dfdce1554acaf5ebf37fe2
got : c9e2ff95e3727327196239871e27e6402526759a4ed21ac39b2ab7b3ec554ed8
FAIL
exit status 1
[18:18:43] Progs/bcarlin/bcarlin.net [.venv]±(nikola7|…) ➜ nikola build -a
Scanning posts..done!
. render_posts:cache/pages/about.html
. render_posts:cache/posts/005-automatically-open-sublime-text-projects-in-a-directory.html
INFO:requests.packages.urllib3.connectionpool:Starting new HTTPS connection (1): gist.github.com
INFO:requests.packages.urllib3.connectionpool:Starting new HTTPS connection (1): gist.githubusercontent.com
. render_posts:cache/posts/004-locking-buzhug.html
. render_posts:cache/posts/003-aptana-eclipse-and-xulrunner.html
. render_posts:cache/posts/002-build-pgpool-ii-on-debian.html
. render_posts:cache/posts/001-setting-up-nginx-for-mediawiki.html
@bcarlin
bcarlin / file_utils.go
Last active December 18, 2015 22:49
Misc file utilities for golang code (aka functions I will not remenber but I want to find easily
// equivalent to Python's `if not os.path.exists(path)`
func FileExists(path string) bool {
_, err := os.Stat(path)
if os.IsNotExist(err) {
return false
} else {
return true
}
}
@bcarlin
bcarlin / .bashrc
Last active July 12, 2019 17:23
Alias for sublime text to automatically open a project when calling "subl" if a .sublime-project file is found in the current directory.This alias declaration to put in a bashrc file.
# [...]
function project_aware_subl {
project_file=$(ls *.sublime-project 2>/dev/null | head -n 1)
command subl ${*:-${project_file:-.}}
}
alias subl="project_aware_subl"
# [...]
@bcarlin
bcarlin / PKGBUILD
Created December 16, 2011 16:53
PKGBUILD for xulrunner192-1.9.2.24
# $Id: PKGBUILD 112304 2011-03-04 19:29:22Z ibiru $
# Maintainer: Jan de Groot <jgc@archlinux.org>
# Contributor: Alexander Baldeck <alexander@archlinux.org>
pkgname=xulrunner192
pkgver=1.9.2.24
_ffoxver=3.6.24
pkgrel=1
pkgdesc="Mozilla Runtime Environment"
arch=('i686' 'x86_64')
license=('MPL' 'GPL' 'LGPL')