Tests are running on container
At dir ./
1. Start and wait for loading of WS in debug mode
#!/usr/bin/perl -w | |
# -*-mode:cperl -*- | |
package main; | |
=pod | |
Description: | |
Usage: | |
Date created: 2020-07 | |
Author: Vojtech Prusa | |
=cut |
# common postfix patterns | |
POSTFIX_QUEUEID ([0-9A-F]{6,}|[0-9a-zA-Z]{12,}) | |
POSTFIX_CLIENT_INFO %{HOSTNAME:postfix_client_hostname}?\[%{IP:postfix_client_ip}\](:%{INT:postfix_client_port})? | |
POSTFIX_RELAY_INFO %{HOSTNAME:postfix_relay_hostname}?\[(%{IP:postfix_relay_ip}|%{DATA:postfix_relay_service})\](:%{INT:postfix_relay_port})?|%{WORD:postfix_relay_service} | |
POSTFIX_SMTP_STAGE (CONNECT|HELO|EHLO|STARTTLS|AUTH|MAIL( FROM)?|RCPT( TO)?|(end of )?DATA|RSET|UNKNOWN|END-OF-MESSAGE|VRFY|\.) | |
POSTFIX_ACTION (accept|defer|discard|filter|header-redirect|reject) | |
POSTFIX_STATUS_CODE \d{3} | |
POSTFIX_STATUS_CODE_ENHANCED \d\.\d\.\d | |
POSTFIX_DNSBL_MESSAGE Service unavailable; .* \[%{GREEDYDATA:postfix_status_data}\] %{GREEDYDATA:postfix_status_message}; | |
POSTFIX_PS_ACCESS_ACTION (DISCONNECT|BLACKLISTED|WHITELISTED|WHITELIST VETO|PASS NEW|PASS OLD) |
/** | |
* Custom multidimensional logger sketch (WildFly compatible?) | |
* | |
* TODO checkout | |
* - https://github.com/jamezp/wildfly-examples/tree/master/custom-log-filter | |
*/ | |
public final class Log { | |
// TODO load from env variable, config file, option -D | |
public static Class[] enabledLogTypes = { |
https://forum.armbian.com/index.php?/topic/1417-g_ether-driver-h3-device-as-ethernet-dongle/ |
Tests are running on container
At dir ./
1. Start and wait for loading of WS in debug mode
# usage | |
# ``` echo "hello" | _c ``` | |
# ctrl+shift+v | ``` _p ``` | |
_c(){ | |
cat | xclip -r -selection clipboard | |
} | |
_p(){ | |
xclip -selection clipboard -o |
#!/bin/bash | |
# this script shows Bluetooth devices information using bluetoothctl and saves it to dir ${B_DIR} | |
B_DIR=.btop.tmp | |
shopt -s expand_aliases | |
alias bl="bluetoothctl" | |
printf "addr rssi | first last name \n" ; |
#!/bin/bash | |
# using https://github.com/gousiosg/java-callgraph | |
# basic static on https://github.com/university-studies/neural-networks-pv021 | |
java -jar ./target/javacg-0.1-SNAPSHOT-static.jar ./neural-networks-forecast-1.0-SNAPSHOT.jar > callgraph.txt | |
sed -i '/CliArgumentsParser/d' ./callgraph.txt | |
sed -i '/TestUtils/d' ./callgraph.txt | |
sed -i '/OHLC/d' ./callgraph.txt |
//https://googlechrome.github.io/samples/web-bluetooth/get-characteristics.html?service=6e400001-b5a3-f393-e0a9-e50e24dcca9e&characteristic_read=6e400002-b5a3-f393-e0a9-e50e24dcca9e | |
var bluetoothDevice; | |
var bluetoothDeviceWriteChar; | |
var bluetoothDeviceNotifyChar; | |
var timeNow, timeWriteLast, timeNotifyLast; | |
function str2ab(str) { | |
var buf = new ArrayBuffer(str.length*2); // 2 bytes for each char |
V procesu vyvoje se nic moc nezmeni. Repozitar je porad na serveru, kam se zmeny commituji a pak nasledne prevraceji na ostrou verzi.
Jsou ekvivalentni...
svn up
aktualizuje lokalni repozitar. Protoze git pull
rovnou zmney mergne, tak muze nastat situace, ve ktere je nutne resit pripadne konflikty pri pullu a ty nasledne mergnout. Doporucuji pri aktualizaci ostre verze pouzivat nejprve git fetch
, pak zkontrolovat obsah pomoci [git diff
](https://stackoverflow.com/questions/18533564/git-check-for