Skip to content

Instantly share code, notes, and snippets.

View ldrahnik's full-sized avatar

Lukáš Drahník ldrahnik

View GitHub Profile
@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.
20240119 22:26:02.345 TZ=+0100 [confighandler:EROR] cvt_util_epctrl:48 Failed to connect to EC m
@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
@ldrahnik
ldrahnik / text.txt
Last active November 10, 2022 18:42
Molekulární imunologie 14/21
<Přednáška č. I>
Heisenbergův princip neurčitosti - pozorováním ovlivnuji systém
Se zmenšující velikostí jsou děje více chaotické (Brawnův pohyb) - neuspořádaný pohyb malých částeček v kapalině nebo v plynu, jehož příčinou jsou nárazy molekul na tyto částečky
Lamarckismus je historická evoluční teorie, kterou vytvořil na počátku 19. století francouzský přírodovědec Jean Baptiste Lamarck. Dnes není obecně přijímána.[1] Podle ní organismy pod vlivem prostředí směřují k vytváření stále složitějších a dokonalejších adaptivních forem. Lamarckismus předpokládá, že znaky získané během života organismu jsou dědičné a přenášejí se bezprostředně na další generaci. V této myšlence se zásadně liší od široce akceptovaného darwinismu, resp. neodarwinismu. Lamarck hovoří o vůli k pokroku, která je limitována nutností přizpůsobit se okolí.
<Přednáška č. II.>