Skip to content
tennant.io
  • Home
  • Projects

linux

  • Home
  • linux

Stop Git from Tracking a File or Directory Added to Gitignore

Posted by By Callum November 28, 2022Posted inUncategorizedNo Comments
This article will explain how to fix files still being tracked by Git after it has been added to the .gitignore file. Rules added to the .gitignore file only applies…
Read More

Run a Terminal Command after n Seconds Has Passed

Posted by By Callum November 22, 2022Posted inUncategorizedNo Comments
It is sometimes desirable to run a command after n seconds has passed e.g. to run a command after the approximate time taken for deploy pipeline to complete. Scheduling the…
Read More

Scrolling on MacOS Terminal Does Not Work/Scrolls Commands instead of Text

Posted by By Callum November 15, 2022Posted inUncategorizedNo Comments
This happens when the terminal is in 'Alternative Screen Mode'. The problem might also be combined with characters looking like ^[OB^[OB. What is Alternative Screen Mode? Many user-interactive terminal application…
Read More

Benchmarking a webpage response time (for web developers)

Posted by By Callum October 17, 2022Posted inUncategorizedNo Comments
It is good practice to benchmark your webpages and API endpoints before pushing them live to production. This can help identify areas of improvement which can be used to inform…
Read More

Run a shell script in the background on Linux

Posted by By Callum August 22, 2022Posted inUncategorizedNo Comments
Typically, I will need to run a shell script on a Linux server which I know will take a while to execute. I will sometimes also need to check up…
Read More

How to Export Amazon RDS MySQL Results to CSV

Posted by By Callum March 17, 2022Posted inUncategorizedNo Comments
Over the past couple of months, I have been tasked with moving our server stack over from Digital Ocean VPS hosting to AWS. What used to be just one single…
Read More

Timing Linux Script Execution

Posted by By Callum September 7, 2021Posted inUncategorizedNo Comments
I am in the process of improving the speed of a MySQL remote connection which connects to an external server on the internet. In order to test the speed of…
Read More

How to Kill an Unresponsive SSH Session

Posted by By Callum September 3, 2021Posted inUncategorizedNo Comments
SSH sessions can become unresponsive or hang for a number of reasons; one reason being network issues which I experience frequently when working from an unstable Wi-Fi network. The following…
Read More

AWS CSS Databases Git JavaScript linux MacOS MongoDB MySQL Programming Shell Scripts

Popular Posts

Quick MongoDB Naming Conventions

How to Export Amazon RDS MySQL Results to CSV

Copyright 2025 — tennant.io. All rights reserved. Sinatra WordPress Theme
Scroll to Top