BlogHide Resteemsn1-cz (25)in virtualbox • 6 years agoHow to mount host share directory in Virtualbox Linux systemIt's quite easy to install Virtual Box Additions under Windows. You just mount the .iso file and double click on the drive under My Computer. It gets installed and once you set up shared…n1-cz (25)in sphinx • 6 years agoProject documentation aka own wiki(ish) docsEach project should have proper docs. Each piece of code should be commented and have some kind of explanation. Yes it should. Does it have in reality? Well…. I don’t think so. If you are not an…n1-cz (25)in python • 6 years agoHow to publish a package to PyPII guess you have heard about PyPI. Well if you use pip command then you should. And if not, in short - PyPI is the place where all the packages comes from. Maybe you would like to contribute…n1-cz (25)in postgres • 6 years agoPostgres and date subtractingImagine you have a table with two date(time) columns. Typicaly start and end . Let’s say it’s a table with opening hours of shops in your city. How do you select number of hours that a shop is…n1-cz (25)in twitter • 6 years agoTwitter on blockchainBlockchain is everywhere but almost no one really knows what that means. There are also so called D-apps. Like…what? Blockchain Blockchain is a chain of blocks. Like a train where each coach is…n1-cz (25)in docker • 6 years agoDocker + your development and production environmentsAs a developer I’m used to have at least 2 environments of all projects - development and production. Since I’ve been using Docker this routine seemed to be more comfortable until … What if I…n1-cz (25)in python • 6 years agoDjango’s new Extract*() classesDjango 1.10 and even more 1.11 comes with convenient methods for annotating date parts to your query. Django comes with these methods in terms of date manipulating ExtractYear…n1-cz (25)in docker • 6 years agoDocker + SQLite 3Did you just started with Docker and have no idea how to introduce persistend data to your Docker container? Like everything is being destroyed once you rebuild or remove your container right? So…n1-cz (25)in javascript • 6 years agoVue.js - init a component inside a component programmaticallyLet’s say you have a component that is used on many pages within your app. Let’s say it’s modal window (dialog) that displays a form and the form is dynamically fetched (by AJAX) from your…n1-cz (25)in python • 6 years agoGunicorn — autoreload appDo you run your Django app under Gunicorn and want to reload it once you change the source code? No problem! In the past I used directive max-requests=1 but the time showed it’s not the best…