Login
Discover
Waves
Decks
Plus
Login
Signup
n1
@n1-cz
25
Python dev, tomorrow tech guy.
Followers
3
Following
0
Resource Credits
Available
Used
Location
Czech Republic
Created
November 18, 2018
RSS Feed
Subscribe
Blog
Blog
Posts
Comments
Communities
Wallet
n1-cz
virtualbox
2019-02-24 19:32
How to mount host share directory in Virtualbox Linux system
It'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 directory in
$ 0.000
0
1
n1-cz
sphinx
2018-12-26 09:22
Project documentation aka own wiki(ish) docs
Each 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 open source
$ 0.000
3
1
n1-cz
python
2018-12-13 21:18
How to publish a package to PyPI
I 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 with your
$ 0.000
3
1
n1-cz
postgres
2018-12-13 20:59
Postgres and date subtracting
Imagine 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 open for?
$ 0.000
2
1
n1-cz
twitter
2018-12-10 22:09
Twitter on blockchain
Blockchain 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 a block
$ 0.000
1
n1-cz
docker
2018-12-10 09:56
Docker + your development and production environments
As 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 want to
$ 0.000
2
1
n1-cz
python
2018-12-09 21:14
Django’s new Extract*() classes
Django 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 ExtractMonth ExtractDay
$ 0.000
0
n1-cz
docker
2018-12-09 21:07
Docker + SQLite 3
Did 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 how the
$ 0.000
2
1
n1-cz
javascript
2018-12-09 21:01
Vue.js - init a component inside a component programmatically
Let’s say you have a component that is used on many pages within your app. Let’s say it’s modal window <modal-window> (dialog) that displays a form and the form is dynamically fetched (by AJAX) from
$ 0.000
1
n1-cz
python
2018-12-09 20:56
Gunicorn — autoreload app
Do 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 solution
$ 0.000
0