Posts tagged with bash

  • How to create self-signed certificates

    Mar 7, 2020

    If you need a certificate for development purposes, you can generate one by yourself. This post shows how to do it step by step.

  • Emoji in bash prompt

    Feb 23, 2020

    I saw this in a colleague’s laptop the other day. He had his bash prompt configured to show a black arrow when things are okay and a red arrow when the last command failed. I fiddled around with my bash prompt to achieve something similar.

  • GW-Basic in Docker

    Feb 22, 2020

    This is one of those just for fun projects, doing it to see if it can be done. Can I put GWBASIC.EXE inside a Docker image?

  • Goodbye bash

    Feb 11, 2019

    Having written my fair share of bash scripts last year, I decided to replace it with something else. This is how I decided to replace it with Python.

  • Publishing git tags for Maven projects in Bitbucket Pipelines

    Oct 30, 2018

    Update 2018-11-24: I’ve put together a maven plugin that can also publish git tags in Bitbucket Cloud, plus it checks there are no gaps in a semver sequence. It’s available here.

  • Terraform secrets

    Oct 6, 2018

    Since the beginning of this year, I’ve been using Terraform to manage infrastructure. I use it with both AWS and Azure and so far I haven’t encountered any problems. The documentation is quite good and you get that happy feeling when things just work as expected.

  • Bash case insensitive auto completion

    Aug 30, 2017

    I added these two lines in my .bashrc:

  • Thinning ZFS snapshots

    Sep 3, 2016

    I have a small mini PC at home that is always turned on. It runs Ubuntu 14.04 (I plan to upgrade to 16.04). It sits at the living room and it doesn’t make any noise, so it acts as a media server. I watch movies and TV series from there. I used 3 external disks, 2TB each, to make a ZFS raidz1 pool of 4TB. What is ZFS you ask?

  • git tip: Delete merged branches

    Jan 26, 2016

    If you want to delete your local branches that have already been merged to master remotely, run this in a bash shell:

  • Recording animated gifs in ubuntu

    Sep 7, 2015

    Last week I wanted to do a small screen recording on my Ubuntu desktop and save it as an animated gif. I tried ScreenToGif but that didn’t work in Ubuntu, it threw an exception when I pressed the record button. I found a good solution in this askubuntu question and I’m building on top of it to make it as easy as right clicking on a video file.

  • Synchronizing App_Data with git

    Aug 26, 2012

    When you have a web application that stores data in it’s App_Data folder, at some point you’ll want to synchronize the development environment(s) with the live environment. This way your development machine will have the latest live data. This is a task that can be achieved with git.

This site uses third party cookies from Google Analytics and Google AdSense Accept and close popup