VirtualTam's bookmarks
71 bookmarks found
-
Tuning PHP-FPM for high traffic
2019-03-29 - https://haydenjames.io/php-fpm-tuning-using-pm-static-max-performance/
- https://www.if-not-true-then-false.com/2011/nginx-and-php-fpm-configuration-and-optimizing-tips-and-tricks/
- http://www.softwareprojects.com/resources/programming/t-optimizing-nginx-and-php-fpm-for-high-traffic-sites-2081.html
- https://www.php.net/manual/en/install.fpm.configuration.php
- https://serverfault.com/questions/773216/php-error-pool-www-seems-busy-you-may-need-to-increase-pm-start-servers-or-p
- https://serverfault.com/questions/874642/configuring-nginx-php-fpm-for-high-traffic-load
-
Cross-Origin Resource Sharing (CORS) | MDN
2019-01-23 - https://developer.mozilla.org/en-US/docs/Web/HTTP/Headers/Access-Control-Allow-Credentials
- https://developer.mozilla.org/en-US/docs/Web/HTTP/Headers/Access-Control-Allow-Headers
- https://developer.mozilla.org/en-US/docs/Web/HTTP/Headers/Access-Control-Allow-Methods
- https://developer.mozilla.org/en-US/docs/Web/HTTP/Headers/Access-Control-Allow-Origin
-
Software disenchantment @ tonsky.me
2018-09-29 -
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
-
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!
-
Validating Atom and RSS feeds
2018-04-02 Specifications:
- Atom:
- RSS 2.0:
- http://www.intertwingly.net/wiki/pie/Rss20AndAtom10Compared
W3C Validation services:
- https://validator.w3.org/feed/
- https://validator.w3.org/feed/docs/
- http://www.feedvalidator.org/
- https://github.com/rubys/feedvalidator
- https://lists.w3.org/Archives/Public/www-validator/
- https://groups.google.com/group/feedvalidator-users
Literature:
- https://feeder.co/knowledge-base/rss-feed-creation/how-to-validate-a-rss-feed/
- http://www.rss-specifications.com/feed-validators.htm
Threads:
-
Administration
- https://docs.djangoproject.com/en/2.0/ref/contrib/admin/
- https://docs.djangoproject.com/en/2.0/ref/contrib/admin/admindocs/
Models and Querysets
- https://docs.djangoproject.com/en/2.0/topics/db/models/
- https://docs.djangoproject.com/en/2.0/ref/models/instances/
- https://docs.djangoproject.com/en/2.0/ref/models/fields/
- https://docs.djangoproject.com/en/2.0/topics/db/aggregation/
Static files
User management
- https://docs.djangoproject.com/en/2.0/topics/auth/default/
- https://docs.djangoproject.com/en/2.0/topics/auth/customizing/
- https://docs.djangoproject.com/en/2.0/ref/contrib/auth/
- https://docs.djangoproject.com/en/2.0/ref/settings/#login-redirect-url
URL dispatcher
-
DMARC reports analysis tools
2017-12-21 - https://dmarc.org/resources/code-and-libraries/
- https://blog.returnpath.com/how-to-read-your-first-dmarc-reports-part-1/
- https://domainaware.github.io/checkdmarc/
- https://github.com/domainaware/checkdmarc
- https://github.com/domainaware/parsedmarc
- https://github.com/trailofbits/dmarc
- https://github.com/beckspaced/Dmarc-Report-Viewer-Extended
- https://github.com/linkedin/lafayette/
- https://github.com/thinkingserious/sendgrid-python-dmarc-parser
- https://github.com/prbinu/dmarc-report-processor
- https://github.com/alan-hicks/django-dmarc
- https://github.com/martinhoefling/go-dmarc-report
- https://github.com/cheatas/DMARCate