Friday, September 18, 2020

How to remove Cluster from Proxmox 6

 https://pve.proxmox.com/pve-docs/pve-admin-guide.html#pvecm_separate_node_without_reinstall

 
On cluster master server do:
systemctl stop pve-cluster corosync 
pmxcfs -l 
rm /etc/corosync/* 
rm /etc/pve/corosync.conf 
killall pmxcfs 
systemctl start pve-cluster
 
Server should become single node. 

Friday, August 28, 2020

How to Edit a File in a docker container with no Text Editor

 Simply editing a file is an ordeal if you don’t have vim, vi or nano available.

One of the best things to do may be to copy the file from the container to your host machine:

docker cp <container>:/path/to/file.ext .

Edit the file.

Then send it back to the container.

docker cp file.ext <container>:/path/to/file.ext

Thursday, July 9, 2020

Midnight Commander missing syntax highlighting

Midnight Commander missing syntax highlighting


Try to pres Ctl-s, which toggles syntax highlighting on and off in mcedit

Wednesday, March 25, 2020

VLC HowTo/Adjust subtitle delay in advance way

VLC HowTo/Adjust subtitle delay in advance way

Advance Synchronisation

When subtitles are late compared to the audio, and only in this case, you can use the advance synchronisation functionality of VLC :
  • Step 1 : Detect (“hear and see”) that subtitles are out of sync
  • Step 2 : Press Shift H when you hear a sentence that you will be able to easily recognize
  • Step 3 : Press Shift J when you read the same sentence in the subtitle
  • Step 4 : Press Shift K to correct the sync

Wednesday, January 15, 2020

Remove string from file in Windows 10 powershell like sed

Remove string from file in Windows 10 powershell like sed

 
If you need to edit file like stream and replace/remove string in
Windows using powershell

this command will open text.txt file, search for ",,,,," and replace
with nothing "" and save as new file test2.txt

get-content test.txt | %{$_ -replace ",,,,,",""} | set-content test2.txt

Cybermap

Internet Storm Center Infocon Status

Internet Storm Center Infocon Status
Internet Storm Center Infocon Status