covid statistics It’s been almost 2 years
Post Views: 29
Смерть російським окупантам!
Post Views: 29
Have you ever accidentally committed to master? ) To prevent this from happening again, I just added to my .bashrc: cd ~/my_git_repo && git checkout vitich && cd – Of course, I have already created my own branch: git checkout Continue reading commit to master
Post Views: 18
August 25, 1991 Linus Torvalds posts a message to the Internet newsgroup comp.os.minix with the subject line “What would you like to see most in minix?” This is the first announcement that he is working on an operating system that Continue reading 30 years of Linux kernel
Next fridays 13th: Fri 13 May 2022 Fri 13 Jan 2023 Fri 13 Oct 2023 Here are the best days to restart your servers: 2021-12-16 2022-11-17 2023-02-16 Stay tuned ) Post Views: 14
Richard M. Stallman, frequently known as RMS, has been a driving force in the free software movement for decades, with contributions including the GNU operating system and Emacs. Recently, there have been vile online attacks looking to remove him from Continue reading Support for Richard Stollman
Now it’s my turn to ban and block. Yesterday I deleted my facebook and twitter accounts. Well, finally, I’m free from this leftist “liberal” censorship where you can’t say the word “ass” and where people get banned for posting harmless Continue reading Fuck you Facebook and Twitter
Install python-docx and parallel: $ sudo apt install python-docx parallel Save this code as /usr/local/bin/docx_author: #!/usr/bin/env python ”’ Requirements: python-docx, parallel Usage: docx_author ‘Putin\ Huilo’ file.docx find /home/user/some_dir -type f -name “*\.docx” | parallel docx_author ‘Putin\ Huilo’ ”’ from docx Continue reading Replace author in docx files
You need your own telegram bot (@BotFather) and channel to receive messages from your bot Place this script to your bin directory, edit bot token and chat id and add tthe script to crontab. Add your domain list (one per Continue reading domain expiration check bash telegram
1) Add this config to nginx # cat /etc/nginx/conf.d/03-jsonformat.conf map $upstream_response_time $temprt { default $upstream_response_time; “” 0; } log_format json_main escape=json ‘{ “@timestamp”: “$time_iso8601″, ‘ ‘”nginx_remote_addr”: “$remote_addr”, ‘ ‘”nginx_server_addr”: “$server_addr”, ‘ ‘”nginx_server_port”: “$server_port”, ‘ ‘”nginx_server_name”: “$server_name”, ‘ ‘”nginx_hostname”: “$hostname”, ‘ Continue reading nginx logs to ELK