Înapoi la articole →

Cel mai recent articol

Ultima verificare

Urmăritori 0 urmăritori
Articole: 127
  1. Ephemeral source port ranges and docker build

    TLDR; If you are having trouble with docker build and ephemeral port ranges, we can use iptables to solve the issue: $ sudo iptables -t nat -I POSTROUTING -p tcp -m tcp --sport 32768:61000 -j MASQUERADE --to-ports 49152-61000 I have written previously abo…

  2. When we create an AWS Code Deploy deployment group via Terraform or CloudFormation and integrate with an Auto Scaling Group, it also by default creates an initial lifecycle hook which ensuresthat a new code deployment gets triggered when a scale-out event…

  3. Hard Links and Soft/Symbolic Links on Linux

    Much has been written (and asked) on the topic of hard links and soft links (a.k.a symbolic links) on Linux.

  4. Let's Encrypt, GoDadday DNS and IIS server

    I wanted to create a new SSL certificate for IIS hosted ASP.NET framework application.

  5. Fedora Scientific Vagrant boxes are here!

    Fedora Scientific brings together the most useful open source scientific and numerical tools atop the goodness of the KDE desktop environment.

  6. On sane defaults in sofware tools

    My task at hand was simple.

  7. AWS VPC subnets and Internet connectivity over IPv4

    Welcome to this new blog post!

  8. 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.

  9. Git Staging partial changes in a file

    Let’s say you have made a few changes to a file and only want to stage only some of those changes for commit.

  10. Building Fedora Vagrant boxes for VirtualBox using Packer

    In a previous post, I shared that we are going to have Fedora Scientific Vagrant boxes with the upcoming Fedora 29 release.

  11. flyway, SQL server and non-empty schema?

    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!

  12. Examples of consuming data in Go templates

    While working on creating a template file for a Go project, I wanted to better understand how to work with data in Go templates as available via the html/template package.

  13. Download a file using `curl` - How hard can it get?

    I wanted to download the prometheus binary using curl.

  14. Docker userns-remap and system users on Linux

    In this post, we learn how we can make use of docker’s user namespacing feature on Linux in a CI/build environment to avoid running into permission issues.

  15. AWS Private Route53 DNS and Docker containers

    AWS Route 53 private hosted zones enable you to have private DNS names which only resolve from your VPC.

  16. AWS Network ACLs and ephemeral port ranges

    In this post, I discuss a problem (and its solution) I encountered while working with AWS (Amazon Web Services) Network ACLs, docker containers and ephemeral port ranges.

  17. Managing AWS lambda functions from start to finish with Terraform

    AWS lambda functions look deceptively simple.

  18. On running Windows Docker containers

    I went into working with Windows docker containers after having been worked with docker on Linux exclusively.

  19. Powershell Measuring seconds elapsed

    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.

  20. Using Terraform with consul remote backend

    In my new post on the CodeShip blog, I discuss configuring terraform with a consul remote backend.

  21. Pre-release Fedora Scientific Vagrant Boxes

    I am very excited to share that sometime back the Fedora project gave the go ahead on my idea of making Fedora Scientific available as Vagrant boxes starting with Fedora 29.

  22. Video PYCON US 2018 Talk - Counter, Gauge, Oh my!

    The video for my PyCon talk - “Counter, Gauge, Oh My!”

  23. A demo plugin based Python code analyser

    A few weeks back I wrote a analyser for Apache Thrift IDL in Python.

  24. PYCON US 2018 talk Counter, Gauge, Upper 90 - Oh my!

    In a couple of days, on Saturday, I will be delivering my PYCON US talk titled Counter, Gauge, Upper 90 - Oh my!.

  25. Fedora Scientific 28 is here!

    Fedora 28 is out and I am happy to share that after a few releases of no Fedora Scientific, we are back.

  26. How does ping roughly work over IPv4 on Linux?

    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. 64 bytes from 127.0.0.1:…

  27. Notes on using Cloudflare DNS over HTTPS

    Introduction I recently learned about Cloudflare’s 1.1.1.1 DNS service.

  28. Fedora Scientific 28 Beta

    Fedora 28 beta was announced recently and I am happy to say Fedora Scientific is back.

  29. Setting up AWS EC2 Assume Role with Terraform

    In this post, we will see how we can implement the AWS assume role functionality which allows an IAM role to be able to obtain temporary credentials to access a resource otherwise only accessible by another IAM role.

  30. Automatic building and publishing DEB packages for Go applications

    In my earlier post, Quick and dirty debian packages for your Go application I shared a recipe building DEB packages for Go applications.

  31. Sorted Sets in Redis from CLI, Python and Golang

    In this post, we will see a demo of sorted sets in redis.

  32. Detecting RLO character in Python

    At work, I learned about how Right-to-Left Override was being used to make actually malicious files to look harmless.

  33. Python Using specific git commits of third party packages

    After a fair number of furious impatient attempts to try and use specific git commits of third party packages in my Python software, I finally have been able to make it work.

  34. Why RPC in Microservices instead of HTTP?

    The Freelancer.com REST API is powered by a number of backend services.

  35. Resource Acquisition Is Initialization (RAII) in C

    GCC's C compiler allows you to define various variable attributes.

  36. Data in CPython

    When writing programs in Python (CPython), you have access to data types such as a int, str, tuple, list and a dict.

  37. Data in C and CPython

    In the last two articles (Data in CPython and Data in C), as it turned out, I discussed two fundamental points in each language: What happens in an assignment operation (such as a=2)?

  38. Data in C

    In C, the data you use in your programs will usually fall into one of the three basic categories: int, char and float.

  39. C/C++ Scientific Programming Libraries and Tools

    math.h provides basic mathematical functions as part of the C standard library and are also usable from C++.

  40. Quick and dirty debian packages for your Go application

    In this post, we will learn about a quick and easy workflow for building and deploying your golang applications as Debian packages.

  41. In an earlier article, Monitoring Your Synchronous Python Web Applications Using Prometheus, I discussed a limitation of using the Python client for prometheus.

  42. Linux System Mining with Python

    In this article, we will explore the Python programming language as a tool to retrieve various information about a system running Linux.

  43. Setting up OpenVPN client with systemd template unit files

    First, I installed openvpn: $ sudo dnf -y install openvpn Then, I used the following systemd unit file from here to create a systemd service for creating a new VPN connection on Fedora 27: $ cat /etc/systemd/system/openvpn@.service [Unit] Description=Open…

  44. Doing something before systemd shuts your supervisord down

    If you are running your server applications via supervisord on a Linux distro running systemd, you may find this post useful.

  45. Tip Terraform and AWS Security Group rules in EC2 classic

    When using Terraform’s aws_security_group_rule with EC2 classic, you may get an error saying that the source security group doesn’t exist, even though it does.

  46. Notes on Vim

    I use vim as my occasional text editor, especially when I am working on small projects or just editing a text document.

  47. Compilation and Interpretation in C and CPython

    It is common knowledge that programs written in high level languages have to be translated into a low level language using programs referred to as translators.

  48. Tip MySQL - Too many connections

    If you are getting the “Too many connections” error, couple of things worth checking on the MySQL server: mysql> show processlist; ..

  49. Using Travis CI to publish to GitHub pages with custom domain

    As of yesterday, this blog is automatically being published via Travis CI.

  50. Tip Rotating video frames using iMovie

    I had to rotate a few video frames using iMovie.