Skip to content

Instantly share code, notes, and snippets.


Yaser Alraddadi gam-phon

View GitHub Profile
gam-phon /
Created Apr 11, 2021 — forked from hmartiro/
Comparison of ZeroMQ and Redis for a robot control platform

ZeroMQ vs Redis

This document is research for the selection of a communication platform for robot-net.


The purpose of this component is to enable rapid, reliable, and elegant communication between the various nodes of the network, including controllers, sensors, and actuators (robot drivers). It will act as the core of robot-net to create a standardized infrastructure for robot control.


#!/usr/bin/env bash
curl -#s "${url}" | \
base64 --decode | \
sed '/^ *\/\// d' | \
sed '/^\s*$/d' > hsts.json;
gam-phon / pgplaybook.yml
Created Mar 14, 2020 — forked from internetuser2008/pgplaybook.yml
custom Ansible Playbook to deploy PostgerSql or PostgreSql BDR + Pgbackrest + Pgbouncer
View pgplaybook.yml
# Usage
# host supply IP
# -t(tags) run specific tasks ie. db=master, dbslave=slave1/2, promote=update slave to master, remove= remove host
# ansible-playbook pg.yml -e "host= -t db ##Build Master
# ansible-playbook pg.yml -e "host=" -t dbslave ##Build Slave
# ansible-playbook pg.yml -e "host=" -t promote ##Promoe slave to master
# ansible-playbook pg.yml -e "host=" -t remove ##Remove node from cluster
# ansible-playbook /var/lib/pgsql/pg.yml -e "host=" -s -t db --user=user1 --ask-sudo-pass ##Ubuntu
# Created Bimal Patel
gam-phon /
Created Jul 14, 2019 — forked from maxidorius/
Notes on privacy and data collection of

Notes on privacy and data collection of

This work is licensed under CC BY-NC-SA 4.0. See Editorial Notes for Attribution details.

DISCLAIMER: This research and investigation work is based on several years of experience within the Matrix ecosystem and validation of facts via public and private communication. Reverse engineering was used to ensure some of the statements presented as facts regarding implementations are accurate. >

gam-phon / .gitignore
Last active Oct 15, 2018 — forked from x3rAx/.gitignore
Gitignore with .gitkeep
View .gitignore
# +----------------------------+
# | IDE files |
# +----------------------------+
# +----------------------------+
# | Vagrant |
# +----------------------------+
gam-phon /
Created Jul 17, 2018 — forked from herpiko/
Kubernetes notes for CKA exam preparation 💪

This notes applied to Kubernetes version 1.9.1-00 on Ubuntu Xenial.

Basic concept


Installation and starting up 🏁


  • Swap should be disabled (see /etc/fstab)
gam-phon /
Created Mar 20, 2017 — forked from virtualstaticvoid/
25 Most Frequently Used Linux IPTables Rules Examples
# Modify this file accordingly for your specific requirement.
# 1. Delete all existing rules
iptables -F
# 2. Set default chain policies
iptables -P INPUT DROP
iptables -P FORWARD DROP
iptables -P OUTPUT DROP