Home ¦ Posts ¦ Books ¦ Articles ¦ Talks ¦ Notes > Category: software ¦ Atom
My task at hand was simple. Build a Docker image of a ASP.NET application (full framework) hosted in IIS on a build host (host1) and move it to a deployment host (host2) and run it. This is a story of how I spent close to two full working days …
If you are trying to introduce flyway to an existing database with the schemas and tables already created, you may find flyway baseline command useful.
Let's say you already have the migration scripts written, or perhaps dumped out of your existing DB setup, and they are:
V1__foo.sql
V2__foo_new.sql …
Let's say you have made a few changes to a file and only want to stage only some of those changes for commit. You may want to do so either to create a nice commit history or may be you just want to discard some of the changes. Either way …
While attempting to use flyway for SQL server schema migrations, I was consistently getting
an error of the form Found non-empty schema xxx ithout metadata table! Use init() or set initOnMigrate to true to
initialize the metadata table.
. Okay, so easy - let me just delete the tables, drop the schema …
I wanted to download the prometheus binary using curl
. My first attempt:
$ curl https://github.com/prometheus/prometheus/releases/download/v2.4.0/prometheus-2.4.0.linux-amd64.tar.gz
<html><body>
You are being <a href="https://github-production-release-asset-2e65be.s3.amazonaws.com/6838921/5c87dc00-b5d1-11e8-8a3a-fd29b54e0c60?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=AKIAIWNJYAX4CSVEH53A%2F20180914%2Fus-east-1 …
I have been working with PowerShell for three months now, and my approach to using it has been pretty much google and trial - copying things, modifying things till they work and learning new things on the way. This post talks about a discovery which I made today.
I had a …
Introduction
The ping
program is one of the most common programs which is used to check the "aliveness" of a host and
a typical execution looks as follows:
$ ping 127.0.0.1 -c 1 -4
PING 127.0.0.1 (127.0.0.1) 56(84) bytes of data …
In this post, we will see a demo of sorted sets in redis. I just learned about them and I think they are really cool! This post shows how we can play with sorted sets first via the redis-cli
, then from Python and Golang.
┌────────────┐
.───────────────. │ │ .─────────────.
( Redis CLI ) ───▶ │ Redis │ ◀───── ( Golang )
`───────────────' │ │ `─────────────'
└────────────┘
▲
│
│
.─────────────.
( Python )
`─────────────'
We …
The Freelancer.com REST API is powered by a number of backend services. The API itself is powered by a Python HTTP server which communicates with the other services (Python, Golang and PHP) via RPC calls implemented using Apache Thrift. It is only during the past 2.5 years that …
© Amit Saha. Built using Pelican. Customised theme based on the one by Giulio Fidente on github.