Category: Chaos territory

The rarely written blog posts about programming and coding.

Keep in mind – author has no time to play around.

  • WordPress Easy Tricks | non Reddit

    WordPress Easy Tricks | non Reddit

    This is a big post about simple and easy to use solutions(WordPress tricks) for WordPress blogs. Don’t overthink – just copy-paste and solve a problem. 1. How To Use an Emoji as a Favicon Add this code to the section on your WordPress code. If you want to use another emoji as your WordPress website…

  • Create a GitHub bot for automatic contributions

    Create a GitHub bot for automatic contributions

    Have you ever wondered how non-tech guys have such impressive contribution stats on their Github profiles? Yes, they have set up a GitHub bot that uploads the same file over and over again to the GitHub repo. This piece of content is a part of my “automation” manifesto, which I declare here: I would automate everything…

  • Properly run FastAPI uvicorn+gunicorn with HTTPS

    Properly run FastAPI uvicorn+gunicorn with HTTPS

    by

    in

    To run the FastAPI on HTTPS: edit systemctl service file of your app service. On Ubuntu, those files located at (/etc/systemd/system/) If you don’t remember where you put the service file of your app – just run the systemctl status command: systemctl status appname systemctl status appname Add two arguments related to the SSL certificate…

  • Properly Run Python Django under a local network

    Properly Run Python Django under a local network

    by

    in

    First, you need to find your local IP address with this command in cmd: ipconfig/all Open settings.py and add your IP address to the ALLOWED_HOSTS list: ALLOWED_HOSTS = [‘192.168.xxx.xxx’] Finally run command in the terminal: python manage.py runserver 192.168.xxx.xxx:8000 Voila, now you can visit your Django app by accessing this address(192.168.xxx.xxx:8000) from any device in…

  • The Ultimate WordPress website optimization techniques

    The Ultimate WordPress website optimization techniques

    by

    in

    The website optimization process is time-consuming, assembled from many parts, painstaking. It can’t be done all at once, it took more than a day of work, if you don’t have previous experience. To make this complete process look easier – I will divide it into smaller, more understandable parts. Where to start The page should…

  • I would automate everything with Python from now on.

    I would automate everything with Python from now on.

    by

    in

    Automating the boring stuff is part of my manifesto. I’ve decided to automate my daily work as much as possible with Python. Have you ever tracked how many times you lost by checking the same item at online shops over and over in the hope to spot a good deal? For me, it is 10…

  • Properly  schedule a crontab command for a Python script  on any Linux system

    Properly schedule a crontab command for a Python script on any Linux system

    by

    in

    There are a lot of articles over the internet that exist about the Python Cron schedule. Most of them are the working solutions and I’ve been setting up cron jobs for decades now, but unsuspectedly I’ve got a bug with my beloved sudo chrontab -e command and this is the reason I’ve written this article.…

  • Journey Report 24 August 2021: WordPress edit, post edit, internal links, startups

    Journey Report 24 August 2021: WordPress edit, post edit, internal links, startups

    I’ve been working on the website itself and my side project(startup).  Nothing special, the startup is in the early stage, so far we have done DNS testing with bind9 technology, which is not suitable for further but no we know it’s working. The client-server part was partly done with Python and Server’s listener was build…

  • Journey report: 23 August 2021: Thoughts about the link building

    Journey report: 23 August 2021: Thoughts about the link building

    The more I’m thinking on blogging business, the more I understand that link building is everything, ya’all guys and old-school gurus can say – “content is the king” but it’s not. The web is tremendously big, enormously. Considering that – Google and other search engines do not pay attention to your actual content, it can…

  • Journey report 22 August 2021: I did not keep my word

    Journey report 22 August 2021: I did not keep my word

    Yes, that’s it, I did not keep my word(yet). However, I’ve promised to myself and to you guys – writing at least 1 post each day. I’ve been thinking it’s easy, but it’s not, considering it was 10 days ago and I did only 1(if count this one too – then 2) post, I did…