Skip to content

Instantly share code, notes, and snippets.

View antoniopicone's full-sized avatar

Antonio Picone antoniopicone

View GitHub Profile
@gisaba
gisaba / cluster_params.yaml
Created May 3, 2021 16:16
ansible-playbook-cluster-postgres10-repmgr
repplication_user: repmgr
replication_db: repmgr
primary_host: 192.168.1.181
mount_point_tbs : /pgsql_tsds/pgsql
wal_level_value : replica
network_segment: 192.168.0.0
packages:
- name: https://download.postgresql.org/pub/repos/yum/reporpms/EL-7-x86_64/pgdg-redhat-repo-latest.noarch.rpm
required: True
- name: postgresql10-server
@LeZuse
LeZuse / 00_README.md
Last active October 29, 2025 12:26
Install node on Apple Silicon M1 both ARM and x86 (Rosetta)

Node.js on Apple Silicon

Node Version Manager (https://github.com/nvm-sh/nvm) works perfectly across native node installations as well as emulated Rosetta installations. The trick I am using here is to install one LTS version of node under Rosetta and another stable version as native binary.

TODO

  • find a way how to run the same node version on both platforms