Tag Archives: programming

BASH: using loops – for, while, until, with examples
0 (0)

15 January 2023

This a translation of a post from 2013 with some edits, but still relevant for learning BASH. Brief description of the difference in the Bash loop types: for– will perform an action as long as there are objects to perform (for example, reading a stream from a stdin, file, or function); while– will perform an… Read More: BASH: using loops – for, while, until, with examples0 (0) »

Loading

Golang: pointers – detailed overview
0 (0)

20 April 2019

What is the pointer? Shortly, the pointer is a variable which stores an address of another variable, where some data is stored. A pointer example Let’s take the simplest example where a pointer is used: package main import “fmt” func main() { a := 1 b := &a fmt.Println(“A: “, a) fmt.Println(“B: “, b) fmt.Println(“B:… Read More: Golang: pointers – detailed overview0 (0) »

Loading

Go: checking public repositories list in Github. Go slices comparison. The first Golang experience.
0 (0)

13 April 2019

The task is to write a tool which will be started from a Jenkin’s job by a cron and will check an organization’s public repositories list in the Github. A Docker-image build and a Jenkins job are described in the Jenkins: a job to check a Github organization’s public repositories list post. Then it has… Read More: Go: checking public repositories list in Github. Go slices comparison.… »

Loading

Atom: useful plugins
0 (0)

8 April 2019

Usually, I’m using vim almost for everything excepting big Python projects (which happen rarely last time). In such cases, I have PyCharm, which is also used for AWS CloudFormation templates with the aws-cloudformation plugin. For the  Go lang programmes I have used vim with the vim-go plugin but on last weekend I tried the Atom… Read More: Atom: useful plugins0 (0) »

Loading

Redis: replication, part 3 – redis-py and work with Redis Sentinel from Python
0 (0)

1 April 2019

Still on the subject about Redis replication and Redis Sentinel – a couple of examples using the redis-py library for Python. Previous series posts: Redis: replication, part 1 – an overview. Replication vs Sharding. Sentinel vs Cluster. Redis topology Redis: replication, part 2 – Master-Slave replication, and Redis Sentinel All Redis clients for Python can be… Read More: Redis: replication, part 3 – redis-py and work with Redis… »

Loading