source-file [-Fnqv] [-t target-pane] path ...
(alias: source)
Execute commands from one or more files specified by path
(which may be glob(7) patterns). If -F is present, then
path is expanded as a format. If -q is given, no error
will be returned if path does not exist. With -n, the
file is parsed but no commands are executed. -v shows
the parsed commands and line numbers if possible.
VirtualTam's bookmarks
-
2025-01-17 -
2023-07-04 - Getting started with
pgx
- https://donchev.is/post/working-with-postgresql-in-go-using-pgx/
- jackc/pgx/v5/pgtype - Map between all common base types directly between Go and PostgreSQL
- jackc/pgx/v5/pgxpool - Concurrency-safe connection pool for
pgx
- scany/v2/pgxscan - Scan data into Go structs and other composite types
- Bulk INSERT in Postgres in GO using pgx
- Postgres table batch updates using golang pgxpool not reflected in database
- pgx.Conn can see uncommitted changes made from a pgx.Tx - TL;DR use
pgxpool
for concurrency-safe transactions - Not clear if caller is required to close in case of QueryRow or if QueryRow properly closes in case of error
- Getting started with
-
2023-02-18 -
Paravirtual (PV) to Hardware Virtual Machine (HVM):
ENA support:
- https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/enhanced-networking-ena.html
- https://forums.aws.amazon.com/thread.jspa?threadID=166135
- https://aws.amazon.com/premiumsupport/knowledge-center/boot-error-linux-m5-c5/
- https://bugs.centos.org/view.php?id=14107
- https://ygrene.tech/how-to-enable-ena-support-for-aws-amis-in-5-steps-and-make-your-bamboo-remote-jobs-really-fast-f2a4254a9955
Build Debian AMIs from scratch:
- https://bootstrap-vz.readthedocs.io/en/master/
- https://github.com/andsens/bootstrap-vz
- https://www.slideshare.net/JamesBromberger/debian-cloud-building-the-debian-amis
- https://blog.james.rcpt.to/2012/12/06/official-debian-images-on-amazon-web-services-ec2/
Squeeze:
Wheezy:
- https://lists.debian.org/debian-cloud/2014/10/msg00009.html
- https://lists.debian.org/debian-cloud/2014/11/msg00000.html
Boot to chroot:
-
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
-
2019-02-20 TL;DR: break the dependency cycle by declaring rules between two of the groups from the dependency chain with
aws_security_group_rule
-
2018-10-30 -
- https://github.com/docker-library/redis/issues/159
- https://gist.github.com/kapkaev/4619127
- https://stackoverflow.com/questions/19581059/misconf-redis-is-configured-to-save-rdb-snapshots
- https://stackoverflow.com/questions/42502636/unable-to-save-in-background-redis-server
- https://people.redhat.com/nhorman/papers/rhel4_vm.pdf
-
- https://www.elastic.co/guide/en/logstash/master/config-examples.html
- https://github.com/logstash-plugins/logstash-patterns-core/blob/master/patterns/httpd
- https://discuss.elastic.co/t/apache-error-logs-timestamp/82010/9
- https://discuss.elastic.co/t/parsing-apache-logs-combinedapachelog-commonapachelog-not-working/82007
- http://www.thegeekstuff.com/2014/12/logstash-setup/