There are 75 articles categorized as "Software"
on November 12, 2020. in Legacy, Software, Programming. A 4 minute read.
Working on a legacy project can be a chore. Fighting the same old problems over and over again, adding new features takes ages, seems like every time we fix one bug, we uncover three others. Sounds like wishful thinking, but I know it can be better.
Continue reading Turn a new leaf on a legacy project...
on January 17, 2020. in Software, Development. A 1 minute read.
I’ve been using screen a lot more recently, but not enough to have all the commands in muscle memory. Writing down a quick cheat-sheet for working with split panes/windows.
Continue reading Split screen panes...
on January 09, 2020. in Software, Development. A 1 minute read.
Today I ran into a strange error with screen. I was working on a remote server, executing commands in screen
when my connection got dropped. I reconnected, wanted to reattach to my screen session with the usual -r
option:
Continue reading Attach to an already attached screen...
on January 08, 2020. in Software, Development. A 1 minute read.
Today I had to delete all lines from a CSV file where the last column has a 1
:
Continue reading Delete lines containing a pattern in vim...
on January 02, 2020. in Development, Software. A 1 minute read.
Yesterday I was looking at a rather large diff, but for the type of change I was after, I wanted to look only at the newly added files. Turns out, git diff has a filtering option with --diff-filter
.
Continue reading Filter git diff by type of change...
on March 29, 2019. in Software, Development. A 1 minute read.
PhpStorm 2019.1 was released yesterday. During the first run after the upgrade PhpStorm usually asks from what previous version would I like to import the settings from, but this time it didn’t ask that. It rather imported some of my old settings, but not the latest ones I had for 2018.3.
Continue reading PhpStorm previous version settings not imported...
on February 08, 2019. in Development, Software. A 3 minute read.
Today I was using interactive git rebase to squash some commits together to clean up the commit history of a git branch. At one point I went a bit overboard with it and squashed together two commits by mistake.
Continue reading Use git reflog to split two squashed commits...
on March 27, 2018. in Programming, Development, Software. A 3 minute read.
This past weekend I was playing around on some pet projects and wanted to get up and running quickly. My initial reaction was to reach for a Vagrant box provisioned with Ansible. After all, that’s what I’ve been using for a really long time now.
Continue reading Docker containers for PHP with PHPDocker.io...
on March 24, 2018. in Software, Development. A 1 minute read.
I’ve used recently PHPDocker.io to generate a set of Docker files for a pet project and it had the option to use MySQL 8 and of course I went with that. The problem was when I wanted to connect to the database that was on this MySQL 8 server.
Continue reading Connecting to MySQL 8...
on February 21, 2018. in Software, Blablabla. A 2 minute read.
Last year I started recording my contributions to open source. I wasn’t really regular, so today I published only the 9th episode: OSS Contribution 9.
Continue reading My OBS setup for recording screencasts...