Journal of my recent activities

How to change decimal comma to decimal period in numpad?

gsettings set org.gnome.desktop.input-sources xkb-options "['kpdl:comma']"

askubuntu.com

#linux

Invited to participate in the 2019 Qiskit Camp, produced by the Qiskit Community of IBM Research. https://qiskit.camp

#qc

Moved the qiskit-tutorial Storing and operating on bitstrings on the quantum computer to the Qiskit Terra 0.7.0.

Barrier explanation according to Qiskit Backend Specifications

Developing Sphinx extension for generating suited version of product documentation for different clients.

Configuring subdomain for different IP in OVH admin panel by adding DNS A record, and NextCloud testing.

Securing my home RPi sshd /etc/ssh/sshd_config. and mounting connected usb drives via NFS.

# edit /etc/exports
root@rpi# systemctl restart nfs-server.service
[lukasz@rademenes]$ sudo mount -t nfs <rpi-ip>:/mnt/usb1 rpi_usb1

https://opensource.com/article/18/9/host-cloud-nas-raspberry-pi

#rpi

Mocking console for cli unittesting

user_input = ['6 1']
expected_output = '84 + 7 =

' \r ' OK! '

with patch('builtins.input', side_effect=user_input):
    with patch('sys.stdout', new=io.StringIO()) as output:
        dodawanie(84, 7)
        self.assertEqual(expected_output, output.getvalue())

How to test input processing in Python 3

#python #testing

QuantumCircut is the quantum program. You build it with registers, quantum gates. Then compile and run on the quantum chip, without interaction. In the end you get results thanks to measure gates.

#qc