DevLog - MarkHlavac.com

Competitive Programming - Calculating the Binomial Coefficient using Modular Arithmetic and Fermat's Little Theorem

Combinatorics problems are very often used in programming contests. Fundamental knowledge for some of the harder problems is how to quickly and properly count combinations with the help of modular arithmetic to avoid calculations with big numbers.

Laravel Envoy - Deploy application via SSH and Git

Deploying applications is a crucial part of the whole development process and sometimes I just need to quickly push a few updates to the server. This is where Laravel Envoy comes in handy. It's a simple tool that lets you execute shell commands on a remote server. In this article, I will write a simple Envoy script for updating the application via SSH and Git.