VirtualTam's bookmarks
30 bookmarks found
-
- Check project import paths and compare with architechure rules defined in a configuration file
- Useful for hexagonal / onion / DDD / MVC and other architectural patterns
-
- https://stackoverflow.com/questions/10622179/how-to-find-identify-large-commits-in-git-history
- https://stackoverflow.com/questions/223678/which-commit-has-this-blob
1git rev-list --objects --all \ 2| git cat-file --batch-check='%(objecttype) %(objectname) %(objectsize) %(rest)' \ 3| sed -n 's/^blob //p' \ 4| sort --numeric-sort --key=2 --reverse \ 5| head -n 150 \ 6| cut -c 1-12,41- \ 7| $(command -v gnumfmt || echo numfmt) --field=2 --to=iec-i --suffix=B --padding=7 --round=nearest
-
Property-based testing
2020-01-06 - https://github.com/leanovate/gopter
- https://itnext.io/gopter-property-based-testing-in-golang-b36728c7c6d7
- https://hypothesis.works/articles/what-is-property-based-testing/
- https://hypothesis.works/articles/integrated-shrinking/
- https://hackage.haskell.org/package/QuickCheck
- https://github.com/emil-e/rapidcheck
- https://labs.spotify.com/2015/06/25/rapid-check/
- https://andrealeopardi.com/posts/the-guts-of-a-property-testing-library/
-
Kubernetes Best Practices - GCP Blog
2018-09-28 - https://cloudplatform.googleblog.com/2018/04/Kubernetes-best-practices-how-and-why-to-build-small-container-images.html
- https://cloudplatform.googleblog.com/2018/04/Kubernetes-best-practices-Organizing-with-Namespaces.html
- https://cloudplatform.googleblog.com/2018/05/Kubernetes-best-practices-Setting-up-health-checks-with-readiness-and-liveness-probes.html
- https://cloudplatform.googleblog.com/2018/05/Kubernetes-best-practices-Resource-requests-and-limits.html
- https://cloudplatform.googleblog.com/2018/05/Kubernetes-best-practices-terminating-with-grace.html
- https://cloudplatform.googleblog.com/2018/05/Kubernetes-best-practices-mapping-external-services.html
- https://cloudplatform.googleblog.com/2018/06/Kubernetes-best-practices-upgrading-your-clusters-with-zero-downtime.html
-
- https://github.com/dfd-tud/deda
- https://github.com/dfd-tud/mihbs
- https://www.ihmmsec.org/cms/front_content.php?idcat=69&lang=2
- https://tu-dresden.de/ing/informatik/sya/ps/die-professur/news/geheime-daten-auf-dem-druckpapier-diplominformatiker-der-tu-dresden-entwickeln-verfahren-gegen-druckerueberwachung
-
Here are the steps I used to migrate a CentOS 7 VM from (presumably?) an ESXi server, to a local VirtualBox environment.
The LVM volumes were not detected at boot, and after the boot timeout, the OS fell back to the Dracut emergency shell.
- get a CentOS minimal installation CD
- check the VM's resources and peripherals:
- ensure there are no floppy drives (!)
- setup CPU and RAM resources
- check virtual drives
- add an SCSI optical drive if needed
- optional: convert the virtual drive images from VMDK to VDI
- mount the CentOS installation disc
- boot on the installation disc:
- select "Troubleshooting", then "Rescue"
- let the rescue utility detect filesystems and mountpoints
$ chroot
to the detected environment- backup files:
/etc/fstab
/boot/grub/grub.cfg
- under /boot, backup the initrd and initramfs for the current configuration (these will be overwritten)
- compare the current
/etc/fstab
with the output of$ lsblk
and$ blkid
- if needed, manually edit /etc/fstab to use the appropriate block device UUIDs, identifiers and mountpoints
- regenerate GRUB configuration:
$ grub2-mkconfig -o /boot/grub2/grub.cfg
- if needed, reinstall GRUB:
$ grub-install /dev/sda
- rebuild initrd:
$ mkinitrd --force /boot/<initrd_image> <kernel_version>
- rebuild initramfs:
$ dracut --force <kernel_version>
- exit the chroot
- unmount the installation disc
- reboot
- optional but highly recommended: cross your fingers
- ...
- profit!
-
Beamer - Accessibility
2017-06-27 - https://tex.stackexchange.com/questions/374123/how-to-check-if-your-slides-are-understandable-for-colourblind-people
- https://tex.stackexchange.com/questions/122621/is-there-a-way-to-show-the-version-of-a-document-as-seen-by-a-colour-blind-reade
- https://tex.stackexchange.com/questions/366480/how-to-make-the-resulting-pdf-file-web-accessible-for-screen-readers-when-figur
- https://tex.stackexchange.com/questions/261537/a-guide-on-how-to-produce-accessible-pdf-files
-
And more generally, "emacs as a <language> IDE":
- code completion
- snippet / templates
- project view
- syntax checking
- test harness utilities
See also: