Thursday, March 31, 2022

Thunderbird message filters parser

 Small lib for parse plain text in Thunderbirf messge filters file


https://www.npmjs.com/package/@remusao/thunderbird-msg-filters


or simply export filders to new workstation with instruction


http://kb.mozillazine.org/Filters_(Thunderbird)#Creating_and_editing_filters



Tuesday, March 29, 2022

copilot

 1. For first classes it did not realize context properly and it is good because he operate only names.

2. After read some logic that I use for app he can think logically already

3. For math equations he generateright code.

4. He start to know relations in object oriented model in time I wrote half of class decomposition

5. Lates class in screenshot he implemented without any moderation by his name. He dot the cnowledge about context and models to realize full group of rules and logic.



Despite a lot of jokes copilot from Microsoft works great for people that think.

Saturday, March 26, 2022

Thursday, March 24, 2022

Zed editor hotkeys

Best hotkey is Ctrl+. it opens dropdown with visual themes and other settings I did not know how to fill properly.

 Zendapp still availeble in Google App Store:


https://chrome.google.com/webstore/detail/zed-code-editor/pfmjnmeipppmcebplngmhfkleiinphhp


==============
Zed editor
==============
Where web site located

http://zedapp.org.s3-website-us-east-1.amazonaws.com/features/edit-remote-files/

Where GitHube page

https://github.com/zedapp/zed

-----------
To start editing files in this project press `Ctrl-E`.
If you prefer a tree view of your files, press `Ctrl-T`.
To find all available commands and keyboard shortcut press `Ctrl-.`

Useful keys
-----------

* `Ctrl-E`: Open or create a new file. Inside the picker:
    * In an empty box, press space to complete the directory of the currently open document.
    * Press `Up`/`Down` or `Tab`/`Shift-Tab` to walk over results.
    * Pressing `Return` either opens the selected file, or creates a new file with the name you typed in if none currently exists.
* `Ctrl-.`: Run an editor command.
* `Ctrl-T`: Show file tree. Keys used with tree active:
    * `Up`: Move up in the tree
    * `Down`: Move down in the tree
    * `Left`: Collapse node
    * `Right`: Expand node
    * `Enter`: Open file
* `Ctrl-F`: Find within file, after pressing `Enter` to select thie first match, use `Ctrl-G` to find next match, or `Ctrl-Alt-F` to put cursors on all.
* `Ctrl-1`: 1 split
* `Ctrl-2`: 2 vertical splits (press repeatedly to cycle between split sizes)
* `Ctrl-3`: 3 vertical splits
* `Ctrl-P`: Preview split (press repeatedly to cycle between split sizes)
* `Ctrl-0`: switch focus from one split to the next.
* `Tab` (following an identifier): complete code. In completion mode:
    * `Tab`/`Down`: Select next completion
    * `Shift-Tab`/`Up`: Select previous completion
    * `Enter`: Pick selected completion
    * `Esc`: Close completion box
* `Command-,`: open the preferences UI.

=======================
Zedrem server
=======================

http://zedapp.org.s3-website-us-east-1.amazonaws.com/features/edit-remote-files/

Tuesday, March 22, 2022

Saturday, March 19, 2022

Kafka on Ubuntu 20.04

I used this post:

https://www.digitalocean.com/community/tutorials/how-to-install-apache-kafka-on-ubuntu-20-04

but I downloaded latest Kafka for me:

 https://downloads.apache.org/kafka/3.1.0/

Then I started to install zookeeper with simple article, but service was not started:

https://www.digitalocean.com/community/tutorials/how-to-install-and-configure-an-apache-zookeeper-cluster-on-ubuntu-18-04

Then I found this Knowledge Base with script:

https://kb.altinity.com/altinity-kb-setup-and-maintenance/altinity-kb-zookeeper/install_ubuntu/

Screept looks good, but zookiper command was not waitlisted, a fix is from answer:

https://stackoverflow.com/questions/62667788/how-do-i-initialize-the-whitelist-for-apache-zookeeper

A configuration should be in sub folder:

cat <<EOF | sudo tee /opt/zookeeper/zookeeper.properties

initLimit=20

syncLimit=10

maxSessionTimeout=60000000

maxClientCnxns=2000

preAllocSize=131072

snapCount=3000000

dataDir=/var/lib/zookeeper/data

dataLogDir=/var/lib/zookeeper/logs # use low-latency disk!

clientPort=2181

#clientPortAddress=nthk-zoo1.localdomain

autopurge.snapRetainCount=10

autopurge.purgeInterval=1

4lw.commands.whitelist=*

EOF

The latest for enable Kafka is disable auto generated cluster to use simple mode:

https://stackoverflow.com/questions/67705738/problem-with-kafka-failed-with-result-exit-code-status-1-failure



CudaText

 


Fix for warning:

Gtk-Message: Failed to load module "canberra-gtk-module"
sudo apt-get install libcanberra-gtk-module libcanberra-gtk-module:i386

Notepadqq is Notpad++ for linux

 


Guitar

 


https://github.com/soramimi/Guitar/releases

GitVine

 


https://insanesharpness.gitlab.io/GitVine/

Gitnu

 





Gantt Mono Tracker

 






Friday, March 4, 2022

Connect to local bare metal with ssh and vnc

1. Open your router admin panel and go to status of LAN connection to see IP of your bare metal.

2. Setup PuTTY and login by ssh

vncserver -localhost no


Starting applications specified in /etc/X11/Xvnc-session

Log file is /root/.vnc/evgeniy-X9SCL:1.log


Use xtigervncviewer -SecurityTypes VncAuth -passwd /root/.vnc/passwd :1 to connect to the VNC server.


3. Open log file to see a port to connect

cat /home/evgeniy/.vnc/evgeniy-X9SCL:7.log

Xvnc TigerVNC 1.10.0 - built Apr  9 2020 06:49:31
Copyright (C) 1999-2019 TigerVNC Team and many others (see README.rst)
See https://www.tigervnc.org for information on TigerVNC.
Underlying X server release 12008000, The X.Org Foundation


Thu Mar  3 20:36:42 2022
 vncext:      VNC extension running!
 vncext:      Listening for VNC connections on all interface(s), port 5907
 vncext:      created VNC server for screen 0
xrdb: No such file or directory
xrdb: can't open file '/home/evgeniy/.Xresources'

New 'evgeniy-X9SCL:8 (evgeniy)' desktop at :8 on machine evgeniy-X9SCL

Starting applications specified in /home/evgeniy/.vnc/xstartup
Log file is /home/evgeniy/.vnc/evgeniy-X9SCL:8.log

Use xtigervncviewer -SecurityTypes VncAuth,TLSVnc -passwd /home/evgeniy/.vnc/pas


Thu Mar  3 20:36:45 2022
 TcpSocket:   unable to get peer name for socket
 TcpSocket:   unable to get peer name for socket
 Connections: accepted: ::0
 TcpSocket:   unable to get peer name for socket
 VNCSConnST:  closing ::0: write: Connection reset by peer (104)
 EncodeManager: Framebuffer updates: 0
 EncodeManager:   Total: 0 rects, 0 pixels
 EncodeManager:          0 B (1:-nan ratio)
 TcpSocket:   unable to get peer name for socket
 Connections: closed: ::0
 ComparingUpdateTracker: 0 pixels in / 0 pixels out
 ComparingUpdateTracker: (1:-nan ratio)

Thu Mar  3 20:37:59 2022
 TcpSocket:   unable to get peer name for socket
 TcpSocket:   unable to get peer name for socket
 Connections: accepted: ::0
 TcpSocket:   unable to get peer name for socket
 VNCSConnST:  closing ::0: write: Connection reset by peer (104)
 EncodeManager: Framebuffer updates: 0
 EncodeManager:   Total: 0 rects, 0 pixels
 EncodeManager:          0 B (1:-nan ratio)
 TcpSocket:   unable to get peer name for socket
 Connections: closed: ::0
 ComparingUpdateTracker: 0 pixels in / 0 pixels out
 ComparingUpdateTracker: (1:-nan ratio)
Warning: VNC extension does not support -reset, terminating instead. Use -norese

Thu Mar  3 20:40:53 2022
 ComparingUpdateTracker: 0 pixels in / 0 pixels out
 ComparingUpdateTracker: (1:-nan ratio)

Xvnc TigerVNC 1.10.0 - built Apr  9 2020 06:49:31
Copyright (C) 1999-2019 TigerVNC Team and many others (see README.rst)
See https://www.tigervnc.org for information on TigerVNC.
Underlying X server release 12008000, The X.Org Foundation


Fri Mar  4 21:50:24 2022
 vncext:      VNC extension running!
 vncext:      Listening for VNC connections on all interface(s), port 5907
 vncext:      created VNC server for screen 0
xrdb: No such file or directory
xrdb: can't open file '/home/evgeniy/.Xresources'

4. Install tigervnc

5. Connect with vnc client

"C:\Program Files (x86)\TigerVNC\vncviewer.exe" -FullScreen  -SecurityTypes VncAuth 192.168.1.109::5907



debug magazine archive

  71 jounals still available on issuu with great story of netlabels time.  debug_mag Publisher Publications - Issuu