Skip to content

35th Week of 2021

Computer Science

GNULinux

MariaDB

  • New: Gain root access without the pass.

    mysqld_safe --skip-grant-tables --skip-networking &
    mysql -u root
    

OpenLDAP

  • New: Don't check TLS cert.

    Add TLS_REQCERT never to /etc/openldap/ldap.conf.

OpenSSL

  • New: Get information about a certificate.

    openssl s_client -connect [host]:[port] | openssl x509 -noout -dates
    

Programming

asyncio

  • New: Python asyncio.

    asyncio is a library to write concurrent code using the async/await syntax.

asyncpg

  • New: Asyncpg.

    MagicStack/asyncpg is a fast PostgreSQL Database Client Library for Python/asyncio.

Basics

  • New: Rename a dictionary key.

    mydict[k_new] = mydict.pop(k_old)
    

TDD

  • New: Test-driven development (TDD).

    Test-driven development (TDD) is a software development process consisting in small development cycles. The goal is clean code that works. Some advantages of this methodology are that it reduces stress in the development process and produces functional code that is a pleasure to work with.

re

  • New: Split a string by multiple delimiters.

    import re
    re.split('; |, ', "string")
    

Countries

Turkey

Ankara

  • New: Mogan lake.

Other

  • New: How to get rid of the spinning wheel.

    Run exec and exec_always with --no-startup-id if the command won't generate a window, otherwise the spinning wheel will get stuck and appear instead of the normal mouse icon.

  • Reorganization: Moved articles to legal.