Quantcast
Channel: Krzysztof Żuraw blog's RSS Feed
Browsing all 205 articles
Browse latest View live

Image may be NSFW.
Clik here to view.

GeoDjango and Leaflet.js- part one

Today is the day, when I will start my blog. I would like to publish new posts once a week.The comments and feedback will be pretty much appreciated as I have just started blogging in English.I assume...

View Article


Image may be NSFW.
Clik here to view.

GeoDjango and Leaflet.js- part two

This is the second post from GeoDjango i Leaflet.js series. You can find the previous post under thislink.After loading data to GeoDjango application now, it's time to present it to the user. You can...

View Article


Http and websockets logging handlers

Hello, this posts will be about 3 specific logging handlers: HTTPHandler, SocketHandler and DatagramHandler.HTTPHandlerLet's start with HTTPHandler: reading python docs about HTTPHandler we can see...

View Article

Python __slots__

Hello everyone in new layout of blog. Today I will write more about python ``__slots__``.What exactly __slots__ do? Imagine that you have a two python classes- one with __slots__ and other...

View Article

Python class @decorators

Today post will be about syntactic sugar of python language- decorators.I will concentrate on class decorators.Let's start with basic example of decorator defined by class in...

View Article


Django Haystack and Elasticsearch- part one

Hello! Today blog post is aboutDjango Haystackand how to integrate it quickly withElasticsearch.First after creating django project (At beginning of 2016 django-haystack don't work properly with django...

View Article

Django Haystack and Elasticsearch- part two

Hello! This is the second part of Django Haystack and Elasticsearch series. First you can findhere.Now it's time to install and elasticsearch. On ubuntu you can do it as follows:1.First install java-8$...

View Article

Django cookiecutter

Have you ever wanted to automate all these boring things that you have to do while setting up new django project? Like writing proper settings, setting up whole folder structure, adding docs, readmes,...

View Article


Django + Celery & Rabbit - part one

Hello, today post is first one in series about Celery in Django application and how to use it.What you gain after reading such series?How to integrate celery + rabbitmq in basic Django application.So...

View Article


Django + Celery & Rabbit - part two

Hello, today post is the second one in series about Celery in Django. Today I write aboutffmpeg.In my application transcoding will be performed by ffmpeg. Why is that?First of all, it's free & open...

View Article

Image may be NSFW.
Clik here to view.

Django + Celery & Rabbit - part three

This is a third part of Celery and RabbitMQ in Django series. Today I will be building the Celery and RabbitMQ stack.In previous 2 posts: Django + Celery & RabbitMQ part one and Django + Celery...

View Article

Django + Celery & Rabbit - part four

This is the fourth part of Celery and RabbitMQ in Django series. Today I will fix minor bugs and sum up this series.Audio File detail viewThis is the first bug that I wanted to tackle. Did you remember...

View Article

Image may be NSFW.
Clik here to view.

Moving blog to pelican

Hello! Spring has come so I decided that I need to changes- so I change my blog engine topelican.This blog will be about small compassion between three static site generators and why I choose...

View Article


Image may be NSFW.
Clik here to view.

Automatic blog deployment with TravisCI

Hello! Today I will write about how to automate blog deployment usingTravisCIwith bash scripts.When I first started writing blog using pelican my workflow look as follows:I open one terminal window and...

View Article

Image may be NSFW.
Clik here to view.

My first workshop experience

Hello ! In today's blog post I present my experiences about some workshop that I have the pleasure to conduct. Later as I promised I will present exercises and their answers.When I joined STX Next I...

View Article


Mocks and monkeypatching in python

Hello, in today's post I will look onto essential part of testing- mocks.First of all, what I want to accomplish here is to give you basic examples of how to mock data using two tools: mock and pytest...

View Article

My first personal project

Hi, today I wanted to share my thoughts about project that I made calledhistmag to kindle.Why?I really enjoy reading historical articles over the internet. Very good source of such writings in polish...

View Article


Image may be NSFW.
Clik here to view.

Ports and Adapters in python - part one

Welcome! Today I'm going to start series about how to use port and adapter design pattern in simple django application.Let me explain a little bit what exactly ports and adapters design pattern is....

View Article

Ports and Adapters in python - part two

Last time I wrote about how to do simple port & adapter in python. In this post, I will show to actually use them.I briefly remind you what is purpose of application build in this series: user will...

View Article

Ports and Adapters in python - part three

Next part of my application will be module for saving links to read them later.In the last post, I made a reddit search view for the specific keyword that display results to the user. To save them to...

View Article
Browsing all 205 articles
Browse latest View live