Skip to content

Instantly share code, notes, and snippets.

Git Crib Sheet

Transfer files to another repo, keeping history

  1. Clone new version of repo, on required branch.
git clone --branch <branch> --origin origin --progress -v <git repository A url>
  1. Remove origin to prevent accidentally pushing
@zxchris
zxchris / rgl_test_plan_exe.md
Last active November 6, 2023 17:18
RGL Test planning and execution - process proposal

Understand Agile Testing in 10 Minutes

What testing should look or feel like

At a high level, these are the characteristics you should see in a testing strategy.

  • There should be formal test planning.
  • Each round of testing should have a clear objective or define what is in and out of scope (set out by test plan).
  • Each test must explicitly define pre-conditions, execution steps and expected outcomes.
  • Tests (regression) should have pre-defined priority levels of test.
@zxchris
zxchris / debian-zoom-remove-ibus.md
Last active September 17, 2024 12:05
Zoom for Debian - Removing ibus dependency

Patching zoom_amd64.deb to remove ibus dependency

Installing ibus on Debian has a tendency to stop the keyboard working, particularly in KDE system dialogue boxes and search feilds. ibus is not really required, so patching the deb to prevent the install from also installing ibus as a required dependecy solves the problem:

S=$(mktemp -d)
dpkg -x zoom_amd64.deb $S
dpkg -e zoom_amd64.deb $S/DEBIAN
sed -i -E 's/(ibus, |, ibus)//' $S/DEBIAN/control 
dpkg -b $S zoom_amd64-no-ibus.deb 
@zxchris
zxchris / mongo3.6-debian-buster.md
Last active February 13, 2021 11:47
Installing Mongodb 3.6 on Debian Buster
echo "deb http://repo.mongodb.org/apt/debian stretch/mongodb-org/3.6 main" | sudo tee /etc/apt/sources.list.d/mongodb-org-3.6.list

apt update
apt install mongodb-org-server=3.6.22 -V