You type fast. One more function, one more docstring, one more test. You run ‘make test’. You see all tests green. You are ready to commit, push and finally start the weekend (yes, it’s late Friday afternoon and your colleagues are about to start production deployment). Oh, you suddenly realise that you named the git branch incorrectly! What’s more, you pushed the branch to the remote repository! Continue reading “How to Rename Git Branches”
Meet Joe. From time to time he works from home. He needs to connect to his linux machine in the office. Also, from time to time he connects from home to his office linux box, and from there to the Jenkins CI server provisioned in company’s development AWS cloud environment. Continue reading “How to Forward SSH Connection”
How to use CURL to post a JSON payload to a REST API endpoint? Continue reading “POST JSON Data with CURL”
From time to time I need to create a dictionary from the given list. The easiest and pythonic way to do it is to use
enumerate() function and dictionary comprehensions.