This is an OpenPGP proof that connects my OpenPGP key to this Github account.
[Verifying my OpenPGP key: openpgp4fpr:8b2364cd24036dcb753101d0052dda8e0506cbce]
| Review the current unit test coverage report at `build/coverage.xml` and use it to write new Behave based unit tests to improve code coverage. Specifically, write Behave style unit tests that are descriptively named and specifically improve coverage on file `$$FILE_PATH$$` by writing tests that will target the uncovered lines in the report. |
This is an OpenPGP proof that connects my OpenPGP key to this Github account.
[Verifying my OpenPGP key: openpgp4fpr:8b2364cd24036dcb753101d0052dda8e0506cbce]
| class ImmutableMeta(ElementMeta): | |
| def __new__(cls, name, bases, namespace, **kwargs): | |
| def my_setattr(self, name, value): | |
| if hasattr(self, "_immutable") and self._immutable and not name.startswith("__"): | |
| raise AttributeError("this class was set immutable can not set %s, %s" % (name, self)) | |
| return object.__setattr__(self, name, value) | |
| namespace["__setattr__"] = my_setattr | |
| def my_freeze(self): | |
| self._immutable = True |
| git clean -xdf && cp -r ../include/ . && mkdir -p m4 && aclocal --force && libtoolize --force --copy && automake --foreign --add-missing --copy --force && autoconf --force && CC=clang ./configure --target=windows-shared-x64 && CC=clang make && ls .libs | |
| git clean -xdf && cp -r ../include/ . && mkdir -p m4 && aclocal --force && libtoolize --force --copy && automake --foreign --add-missing --copy --force && autoconf --force && docker run --rm aparapi/aparapi-toolchain-win64 > dockcross && chmod +x dockcross && ./dockcross ./configure --host=x86_64 --target=windows-shared-x64 && ./dockcross make && ls .libs |
| #!/bin/bash | |
| TIMESTAMP=$(date +%F_%R) | |
| OLD_TIMESTAMP="$1" | |
| echo "new timestamp is $TIMESTAMP" | |
| echo "old time is $OLD_TIMESTAMP" | |
| if [ -z "$OLD_TIMESTAMP" ] | |
| then |
| btrfs property set -ts /path/to/snapshot ro false | |
| btrfs property set -ts /path/to/snapshot ro true |
| #list all boot-id | |
| journalctl --list-boots | |
| #display dmesg for specific boot-id | |
| journalctl -b <boot-id> |
| sudo mount /mnt/backup #this should be a btrfs volume | |
| sudo btrfs subvolume snapshot -r / /mnt/backups/root-backup-$(date +%F_%R) | |
| #list all other subvolumes | |
| sudo btrfs subvolume list -p / | |
| #repeat for all subvolumes | |
| sudo btrfs subvolume snapshot -r /home /mnt/backups/home-backup-$(date +%F_%R) | |
| sudo btrfs subvolume snapshot -r /etc /mnt/backups/etc-backup-$(date +%F_%R) | |
| sudo btrfs subvolume snapshot -r /var /mnt/backups/var-backup-$(date +%F_%R) |
| lsof -Pn -i -sTCP:LISTEN |
| aws ecs register-task-definition --family load-balancer --network-mode bridge --container-definitions "$(cat container-def.json)" --volumes "$(cat volumes-def.json)" | |
| # Launch ECS task, when above command ran once X == 1, for every update X increases by one. | |
| # will have too double check docs how to get latest | |
| aws ecs run-task --cluster default --task-definition load-balancer:X --count 1 |