Skip to content

Instantly share code, notes, and snippets.

View ldrahnik's full-sized avatar

Lukáš Drahník ldrahnik

  • @bulovka and Czech Centre for Phenogenomics, Institute of Molecular Genetics of the Czech Academy of Sciences
View GitHub Profile
@ldrahnik
ldrahnik / bar
Created August 21, 2024 15:51
foo
2024-08-21 17:49:20 Apache Commons Daemon procrun stdout initialized.
17:49:27,508 |-INFO in ch.qos.logback.classic.LoggerContext[default] - Could NOT find resource [logback-test.xml]
17:49:27,509 |-INFO in ch.qos.logback.classic.LoggerContext[default] - Found resource [logback.xml] at [file:/C:/app/camunda_deploy8%20-%20Copy/camunda-bpm-tomcat-7.15.0/server/apache-tomcat-9.0.43/webapps/userrights-processes/WEB-INF/classes/logback.xml]
17:49:27,549 |-INFO in ch.qos.logback.classic.joran.action.ConfigurationAction - debug attribute not set
17:49:27,551 |-INFO in ch.qos.logback.core.joran.action.AppenderAction - About to instantiate appender of type [ch.qos.logback.core.ConsoleAppender]
17:49:27,560 |-INFO in ch.qos.logback.core.joran.action.AppenderAction - Naming appender as [STDOUT]
17:49:27,566 |-INFO in ch.qos.logback.core.joran.action.NestedComplexPropertyIA - Assuming default type [ch.qos.logback.classic.encoder.PatternLayoutEncoder] for [encoder] property
17:49:27,605 |-INFO in ch.qos.logback.core.jora
@ldrahnik
ldrahnik / confighandler.log
Last active April 23, 2024 15:43
FortiClient logs 23.4.2024
This file has been truncated, but you can view the full file.
20240117 18:21:30.485 TZ=+0100 [confighandler:EROR] fctconfig_handler:157 Error occurred while polling. [4]
20240117 18:21:30.490 TZ=+0100 [confighandler:INFO] fctconfig_handler:213 Closing confighandler endpoint.
20240117 18:21:30.490 TZ=+0100 [confighandler:INFO] fctconfig_handler:215 Closing sqlite database.
20240117 18:21:30.490 TZ=+0100 [confighandler.log:INFO] main:62 confighandler daemon exiting.
20240118 09:49:02.673 TZ=+0100 [confighandler:EROR] cvt_util_epctrl:48 Failed to connect to EC message server [2]
20240119 20:44:20.469 TZ=+0100 [confighandler:EROR] fctconfig_handler:157 Error occurred while polling. [4]
20240119 20:44:20.477 TZ=+0100 [confighandler:INFO] fctconfig_handler:213 Closing confighandler endpoint.
20240119 20:44:20.477 TZ=+0100 [confighandler:INFO] fctconfig_handler:215 Closing sqlite database.
20240119 20:44:20.478 TZ=+0100 [confighandler.log:INFO] main:62 confighandler daemon exiting.
@ldrahnik
ldrahnik / confighandler.log
Last active March 15, 2024 21:58
FortiClient VPN logs on Ubuntu 22.04
20240117 18:21:30.485 TZ=+0100 [confighandler:EROR] fctconfig_handler:157 Error occurred while polling. [4]
20240117 18:21:30.490 TZ=+0100 [confighandler:INFO] fctconfig_handler:213 Closing confighandler endpoint.
20240117 18:21:30.490 TZ=+0100 [confighandler:INFO] fctconfig_handler:215 Closing sqlite database.
20240117 18:21:30.490 TZ=+0100 [confighandler.log:INFO] main:62 confighandler daemon exiting.
20240118 09:49:02.673 TZ=+0100 [confighandler:EROR] cvt_util_epctrl:48 Failed to connect to EC message server [2]
20240119 20:44:20.469 TZ=+0100 [confighandler:EROR] fctconfig_handler:157 Error occurred while polling. [4]
20240119 20:44:20.477 TZ=+0100 [confighandler:INFO] fctconfig_handler:213 Closing confighandler endpoint.
20240119 20:44:20.477 TZ=+0100 [confighandler:INFO] fctconfig_handler:215 Closing sqlite database.
20240119 20:44:20.478 TZ=+0100 [confighandler.log:INFO] main:62 confighandler daemon exiting.
20240119 22:26:02.345 TZ=+0100 [confighandler:EROR] cvt_util_epctrl:48 Failed to connect to EC m
@ldrahnik
ldrahnik / confighandler.log
Created March 15, 2024 18:01
FortiClient VPN logs on Ubuntu 22.04
20240117 18:21:30.485 TZ=+0100 [confighandler:EROR] fctconfig_handler:157 Error occurred while polling. [4]
20240117 18:21:30.490 TZ=+0100 [confighandler:INFO] fctconfig_handler:213 Closing confighandler endpoint.
20240117 18:21:30.490 TZ=+0100 [confighandler:INFO] fctconfig_handler:215 Closing sqlite database.
20240117 18:21:30.490 TZ=+0100 [confighandler.log:INFO] main:62 confighandler daemon exiting.
20240118 09:49:02.673 TZ=+0100 [confighandler:EROR] cvt_util_epctrl:48 Failed to connect to EC message server [2]
20240119 20:44:20.469 TZ=+0100 [confighandler:EROR] fctconfig_handler:157 Error occurred while polling. [4]
20240119 20:44:20.477 TZ=+0100 [confighandler:INFO] fctconfig_handler:213 Closing confighandler endpoint.
20240119 20:44:20.477 TZ=+0100 [confighandler:INFO] fctconfig_handler:215 Closing sqlite database.
20240119 20:44:20.478 TZ=+0100 [confighandler.log:INFO] main:62 confighandler daemon exiting.
20240119 22:26:02.345 TZ=+0100 [confighandler:EROR] cvt_util_epctrl:48 Failed to connect to EC m
@ldrahnik
ldrahnik / error.sh
Created July 27, 2023 08:36
Build Camunda v7.15 from source error
[INFO] Reactor Summary for Camunda Platform - Root Pom 7.15.0:
[INFO]
[INFO] Camunda Platform - License Book .................... SUCCESS [ 0.841 s]
[INFO] Camunda Platform - tomcat .......................... SUCCESS [ 0.007 s]
[INFO] Camunda Platform - tomcat Assembly ................. SUCCESS [ 3.151 s]
[INFO] Camunda Platform - webapp - Tomcat ................. SUCCESS [ 1.455 s]
[INFO] Camunda Platform - tomcat Distro ................... FAILURE [ 0.067 s]
[INFO] Camunda Platform - webapp - Tomcat Standalone ...... SKIPPED
[INFO] Camunda Platform - Root Pom ........................ SKIPPED
[INFO] ------------------------------------------------------------------------
@ldrahnik
ldrahnik / gist:7f38302ae0d987192b5fc68f3962c742
Created July 25, 2023 12:51
Procesy pro pokročení s Asus touchpad numpad driverem (TTY, DBUS)
ps x
PID TTY STAT TIME COMMAND
1345 tty7 Ssl+ 0:18 python3 /usr/share/asus_touchpad_numpad-driver/asus_touchpad.py up5401ea-31B9 /usr/share/asus_touchpad_numpad-driver/
4439 ? Ss 0:00 /lib/systemd/systemd --user
4440 ? S 0:00 (sd-pam)
4447 ? S<sl 0:00 /usr/bin/pipewire
4448 ? Ssl 0:00 /usr/bin/pipewire-media-session
4449 ? S<sl 0:23 /usr/bin/pulseaudio --daemonize=no --log-target=journal
4450 ? Ss 0:00 /usr/bin/dbus-daemon --session --address=systemd: --nofork --nopidfile --systemd-activation --syslog-only
4453 ? SLl 0:00 /usr/bin/gnome-keyring-daemon --daemonize --login
<?xml version="1.0" encoding="UTF-8"?>
<project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd">
<modelVersion>4.0.0</modelVersion>
<parent>
<artifactId>eneschopenka</artifactId>
<groupId>cz.bulovka</groupId>
<version>1.0-SNAPSHOT</version>
</parent>
<groupId>cz.bulovka</groupId>
<artifactId>eneschopenkaservice</artifactId>
@ldrahnik
ldrahnik / guide.sh
Created February 25, 2023 19:13
Install latest curl
# Download latest .zip file 7.88
$ unzip *
$ apt-get install -y libssl-dev autoconf libtool make
$ ./buildconf
$ make
$ make install
$ ./configure --with-ssl
$ sudo cp /usr/bin/curl /home/ldrahnik/curl/bin/curl
--- TLP 1.3.1 --------------------------------------------
+++ Configured Settings:
defaults.conf L0004: TLP_ENABLE="1"
defaults.conf L0005: TLP_PERSISTENT_DEFAULT="0"
defaults.conf L0006: DISK_IDLE_SECS_ON_AC="0"
defaults.conf L0007: DISK_IDLE_SECS_ON_BAT="2"
defaults.conf L0008: MAX_LOST_WORK_SECS_ON_AC="15"
defaults.conf L0009: MAX_LOST_WORK_SECS_ON_BAT="60"
defaults.conf L0010: CPU_ENERGY_PERF_POLICY_ON_AC="balance_performance"
@ldrahnik
ldrahnik / code.sh
Created November 24, 2022 19:10
How allow USB charging using TLP
# connect device and get ID "2717:ff40"
lsusb
# add line using obtained ID USB_DENYLIST="2717:ff40"
sudo gedit /etc/tlp.conf
# restart TLP
sudo tlp start