unknown_msgs - drop column id, capture_id - pri index
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
property.level = info | |
property.path = logs | |
property.filename = shsha | |
property.layout_pattern = %d{yyyy-MM-dd HH:mm:ss} %-5p %c{-10}:%L - %m%n | |
property.console_pattern = %d{HH:mm:ss} %-5p %c{-10}:%L - %m%n | |
appender.console.type = Console | |
appender.console.name = STDOUT | |
appender.console.layout.type = PatternLayout | |
appender.console.layout.pattern = ${console_pattern} |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# docker-compose.yml, v3.5 allows defining networks right here | |
version: "3.5" | |
services: | |
mssql: | |
image: mcr.microsoft.com/mssql/server:2019-latest | |
container_name: mssql | |
volumes: | |
- mssql-data:/var/opt/mssql | |
networks: |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
[Desktop Entry] | |
Version=1.0 | |
Type=Application | |
Name=NetBeans | |
Icon=/home/mz0/t/nb12.2/netbeans/nb/netbeans.png | |
Exec=/home/mz0/t/nb12.2/netbeans/bin/netbeans | |
Comment=Apache NetBeans IDE 12.2 | |
Categories=Development;IDE; | |
Terminal=false | |
StartupWMClass=Apache NetBeans IDE 12.2 |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
CREATE TABLE upMsg ( | |
id int, | |
msg varchar(31) | |
); | |
insert into upMsg values (1, "Foo"); | |
insert into upMsg values (2, "Bar"); | |
CREATE TABLE dnMsg ( | |
ni int not null auto_increment primary key, | |
id int not null, |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
package main | |
import ( | |
"fmt" | |
"os" | |
"strconv" | |
"time" | |
linuxproc "github.com/c9s/goprocinfo/linux" | |
) |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
processor : 0 | |
physical id : 0 | |
core id : 0 | |
apicid : 0 | |
processor : 1 | |
physical id : 1 | |
core id : 0 | |
apicid : 32 |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
ls -l archive/*.pcap | awk '{ fname = $9 ; sub(/^archive\//, "", fname); print fname " " $5 }' |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/bin/sh | |
DB=tmp42 | |
DBu=db42u | |
DBp='passwurt42' | |
DBH=localhost | |
DBP=3306 | |
usage() { | |
echo "This script needs one argument: an SQL script to run, e.g." |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/bin/sh | |
#/etc/NetworkManager/dispatcher.d/ddns | |
arg1=$1 | |
arg2=$2 | |
DUMPS="/tmp/my Dispatch" | |
IF=enp5s0 | |
name=host1.example.net | |
. /home/mz0/.ssh/ddns-key # key=6KigGftdvYqEvTW |