Micropython vs Dog
Posted on nie 06 listopada 2022 in misc • Tagged with talks, pycon
Slides of my PyconPL 2022 talk is here (link)
Posted on nie 06 listopada 2022 in misc • Tagged with talks, pycon
Slides of my PyconPL 2022 talk is here (link)
Posted on nie 07 lutego 2021 in misc • Tagged with modernity
10 years ago, we had one IM to rule them all. Now, to be in touch with my friends, I need to have such kaleidoscope on the desktop.
And I forgot about Viber :)
Posted on czw 14 maja 2020 in misc • Tagged with tipsNtricks, django, flask, pytest
Have you thought about spawning Django as easy as Flask?
Imagine that you have a library, which may have a feature that is usable in Django. How to test it?
99% of you would say - make a Django project, put test inside the project, and run django
test
.
I thought …
Posted on sob 18 maja 2019 in misc
... i suffered from fact, that I'm not able to track my pip dependencies. pip
freeze
was not solution, because it attached lot of dependencies, which was
broken in few months.
I dreamed about software, which will track my pip install
commands, and will
store key dependencies in …
Posted on śro 20 lutego 2019 in misc
Pracując w pewniej firmie telekomunikacyjnej, natknąłem się na typa, o którym chciałem napisać. Dla potomnych, ale też i dla siebie. Żeby wspominając po latach, mieć dowód na to, że pamięć mnie nie zawodzi i to wszystko naprawdę miało miejsce.
Firma, o której mowa, popadła w lekki kryzys i …
Posted on nie 15 lipca 2018 in misc • Tagged with tipsNtricks, hg, vim
If you want to open tab in vim, which shows you file history, file blame (who changed what) and patch history, here is easy command:
:let fname=expand("%") | tabnew | execute 'read!hg blame '.fname | vnew | execute 'read!hg glog '.fname | new | execute 'read!hg glog -p '.fname
Posted on śro 09 maja 2018 in misc • Tagged with tips&tricks
Bash autocompletion is very good thing if works. If doesn't, becames pain in the ass. Like in Debian's pmount - when you type '/dev/sdc' hit tab and wait forever.
Problem is described in many places (eg here and here), so why shouldn't I describe it once more?
Script …
Fajne są te frameworki, React, Vuejs, Angular itd... Ale momentami mam wrażenie że ogon macha psem :).
Będąc zmęczony Angularem, postanowiłem następny prosty interfejsik wykonać w czymś innym. Padło na Vuejs, ponoć najprostsze.
Coś tam zrobiłem działającego, postanowiłem ubrać to w jakieś ikonki. W poprzednim bootstrapie były glyphicons - w najnowszym to …
Posted on czw 15 lutego 2018 in misc • Tagged with tipsNtricks, python
Sometimes, when I'm debugging something using pudb (probably it affects any interactive debugger), pudb is reflecting value of variables of QuerySet type, which makes unneccesary query to database. It makes debugging slow, and sometimes it breaks debugging context because of making changes in db.
To avoid that, add following code …
Posted on nie 04 lutego 2018 in misc