VirtualTam's bookmarks
22 bookmarks found
-
jackc/pgx - PostgreSQL Driver and Toolkit
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
-
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:
-
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
-
Cycle error when trying to create AWS VPC security groups using Terraform - Stack Overflow
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
-
- 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/
-
Building a DLL in Cygwin
2017-04-25 error: relocation truncated to fit: R_X86_64_PC32 against undefined symbol `len'
- https://cygwin.com/ml/cygwin/2014-04/msg00058.html
- https://stackoverflow.com/questions/10486116/what-does-this-gcc-error-relocation-truncated-to-fit-mean
- https://www.technovelty.org/c/relocation-truncated-to-fit-wtf.html
error: undefined symbols not allowed
- http://www.gnu.org/software/libtool/manual/html_node/LT_005fINIT.html
- http://stackoverflow.com/questions/17487891/libtool-undefined-symbols-not-allowedin-i686-pc-mingw32-shared#22884787
error: undefined reference to winmain
- http://stackoverflow.com/questions/33734016/undefined-reference-to-winmain-with-cygwin-and-cmake
- http://stackoverflow.com/questions/13871617/winmain-and-main-in-c-extended
Autotools:
- https://www.sourceware.org/autobook/autobook/autobook_135.html
- https://www.sourceware.org/autobook/autobook/autobook_136.html
- https://sourceware.org/autobook/autobook/autobook_137.html
- http://stackoverflow.com/questions/26151995/autotools-make-doesnt-create-dll-under-cygwin
- https://autotools.io/libtool/windows.html
Cygwin:
General:
-
Introduction to Literate Programming
2016-03-29 "Instead of imagining that our main task is to instruct a computer what to do, let us concentrate rather on explaining to human beings what we want a computer to do."
- Donald Knuth