RSS Amplifier

Blog

Bartlomiej Mika

Recent content on Bartlomiej Mika

bartlomiejmika.comRSS feed ↗36 posts

Latest posts

How to Install Hugo with Docker

The purpose of this article is to help you setup a personal blog as quickly as possible using hugo and docker . These are the instructions and notes I’ve written down when setting up my site that I’d like to share.

How to Install a Solar Food Waste Digester

A.k.a. how to install a in-situ composter made by the company “Algreen Products” company . TL;DR; What is a “solar digester”? How does a “solar digester” work? What benefits does a “solar digester” provide? What are the detriments of a “solar digester”? Step by step install instructions

How to Containerize a Golang App With Docker for Development and Production

Do you want to write a Golang app which is containerized with Docker ? The purpose of this article is to help you quickly get your Golang App containerized for development (with hot-reload) and production purposes.

Remote Health Data Uploader

Submit your HealthKit data to a remote server.

How to Write a Golang App Remotely on a Raspberry Pi Using Atom

Wouldn’t it be cool to remotely program a Golang app on a Raspberry Pi? In this post, I write how to do that if you are using Atom. TL;DR; Setup a Raspberry Pi Device Setup Golang on that Device Install remote-ftp on your Machine Connect from your Atom Write a Golang Application

Red Mulberry Growlog #4

From summer to winter, this grow journal post will show a few snapshots from the red-mulberries life.

How to Perform RSA Encryption in Javascript (React.js) and Golang

Do you want your React.js (web) frontend app talking to your Golang backend server? In this post, I’ll explain how I got cross-devices RSA encryption working in JavaScript and Golang.

Red Mulberry Growlog #3

Into the over world from the underworld! The mulberries were grown in the basement for the majority of their existence and now are able to live in the outside for the first time. In this grow journal I’ll write about my experience bring the red mulberries into the outside and growing them over summer.

Quickstart to Building Golang Apps using IPFS

Do you want to write a Golang app which will use IPFS ? The purpose of this post is to get you up and running IPFS as quickly as possible so you can see what’s involved.

Learn Crystal with Practice Problems - Part 1: Variables Math and Strings

Are you interested in learning #Crystal-Lang but having difficulty because you are a tactile learner ? The purpose of this tutorial is to provide you practice problems you can try out at your leisure.

Docker Learning Resources for Absolute Beginners Programming With Golang

Recently I was working on an open-source project which I wanted to dockerize - problem is I had no idea experience. In this post I’ll list all the resources I used to learn docker .

How to Build a gRPC Server over tstorage to create tstorage-server

Did you just finish reading the gRPC Basics tutorial and you don’t know where to begin with using it? In this post I’ll explain how to take a fast time-series database called tstorage and write a gRPC server and client with it.

How to Build a gRPC Server for a SparkFun Weather Shield

We will take what we learned in the previous post and rewrite it to support interprocess communication of our SparkFun Weather Shield from other applications using the gRPC .

How to Read Data From a SparkFun Weather Shield (DEV-13956) in Golang

SparkFun Weather Shield monitoring dutifully a red mulberry seedling, the code is powered by what you will learn in this blog post. The purpose of blog post is to explain how to write a Golang application which can poll time-series data from a SparkFun Weather Shield (DEV-13956) .

Red Mulberry Growlog #2

How are the mulberries growing? In this growlog I show you the growth from seed to seedling and detail some of my challenges.

How to do Dynamic Filtering in Golang using only the Database SQL Package like in Django

Recently I had to do some advanced filtering using the database/sql package found in the Golang standard library. In this article I share how I handled advanced filtering. If you are a beginner in Golang wanting to learn how to improve your understanding of querying the database, this article is for you.

How to Get Go2TV Working With Your Samsung Smart TV

A recent reddit post on /r/golang titled Go2TV - cast videos to UPnP/DLNA MediaRenderers caught my interest. In this blog post I’ll try to get it working with my Samsung TV.

Useful Resources that Helped me Learn Golang over the Years

The purpose of this post is to share my catalogue of useful links I’ve gathered in my quest to better understand Golang. If I’ve used a webpage to solve a problem, or if I used a link to learn something, then you’ll find a link of it here.

How to Setup Wordpress for Ubuntu 20 LTS on a Digitalocean Droplet

Do you setup WordPress sites often and you want instructions you can repeat quickly? The purpose of this HOWTO is to provide a series of copy and paste commands you can use over and over to setup WordPress on an Ubuntu 20 LTS server using DigitalOcean for your future clients.

Example of Writing a Simple gRPC Server in Golang from Scratch

How do you write a Golang server using gRPC from scratch? Heres how to do it.

How to Import Datetime Columns from a PgAdmin5 CSV export file in Golang

If you’ve exported from PgAdmin a CSV file and tried to import that CSV into your Golang app, you may have noticed there is a challenge with importing the datatime. The purpose of this article contains the code I wrote to help me with this problem.

Red Mulberry Growlog #1

Red Mulberry ( Morus rubra ). (By: Famartin CC BY-SA 3.0 ) It is with great excitement and joy, I’d like to introduce to you the first post in a series of growlogs detailing my adventures with growing rare and beautiful Red Mulberry Trees . The first post will discuss what is mulberry tree , why I decide to focus on a red mulberry and how I am growing them.

Winter Sown Seeds Growlog #1

It’s February and I am already planting my tree seeds for spring! The gardening technique I will be using is called “Winter-Sowing” . This is my first blog post pertaining to growing trees from winter sown seeds. I plan on logging and documenting my growing experience in this series of weblogs titled as Winter Sown Seeds Weblog .

How to Build an API Server in Go - Part 4: Access Control

Learn how to protect API endpoints with access and refresh tokens using the third-party jwt-go library.

How to Build an API Server in Go - Part 3: Postgres Database

The purpose of this article is to provide instructions on how to setup postgres database with our application.

How to Build an API Server in Go - Part 2: Simple Database

The purpose of this post is to learn how our basic API server can read the body of a request . In addition, we will learn how to use an easy-to-use simple database for beginners called scribble .

How to Build an API Server in Go - Part 1: Basic Server

The purpose of this post is to provide instructions on how to setup a simple RESTful API server, in Golang, using only the net/http package and not any other third-party web framework. You will learn how to create REST endpoints within your project that can handle POST , GET , PUT and DELETE HTTP requests. This is the first post in a multi-post series.

About

Salutations! Welcome to my personal blog. My name is Bartlomiej Mika, I am a technical consultant at Mika Software Corporation. This blog began in 2020 primarily as an outlet for technical, programming-related posts. I want to a place to document some of the things I am learning and release it to the public in hopes to save someone else the time. What sort of topics should you expect? Programming…

Example of using JavaScript AJAX XmlHttpRequest with Django JsonResponse view

Forget Axios or any other third-party JavaScript library pertaining to API calling, the purpose of this article is to explain how to utilize the basic XmlHttpRequest with your Django project.

How to Install Hugo From Git Bash for Window Users

The purpose of this article is to help beginners understand how to do the advanced install of hugo static site generator (SSG).

How to Start a Personal Blog With Hugo a Static Site Generator Written in Go (Part 2)

The purpose of this article is to help you deploy your website to the internet.

How to Start a Personal Blog With Hugo a Static Site Generator Written in Go (Part 1)

The purpose of this article is to help you setup a personal blog as quickly as possible. These are the instructions and notes I’ve written down when setting up my site that I’d like to share.

How to Structure a React Project

In the article you will get the boilerplate structure I use for #React projects.

How to Write a Unit Test for a Remote Procedural Call in Golang

Recently I have been learning about remote procedural calls (RPCs) in * Golang and realized I was unable to find an easy example on how to write a unit test for RPCs. In this post, I’ll explain how I figured out a solution.

How to Setup Peercoin on Raspberry Pi for Headless Minting

Would you believe you can participate in cryptocurrency production using a simple Raspberry Pi computer? No need for powerful ASIC miners! Peercoin is an interesting altcoin that has minting capability built-in, and minting is the ability to create new coins from the ones you already have. In this tutorial, you’ll learn how to set up a dedicated Raspberry Pi computer to mint the Peercoins in…

Hello World

Welcome to my first blog post, I’ll explain the purpose of this site, why I started it, and what I hope to accomplish.