Skip to content

Instantly share code, notes, and snippets.

View robscott's full-sized avatar
🌴
On parental leave - back around the end of July

Rob Scott robscott

🌴
On parental leave - back around the end of July
View GitHub Profile
@aojea
aojea / README.md
Created August 17, 2020 20:47
Emulate network connection on KIND clusters

KIND network emulation

Configuration parameters

  • Network bandwidth rate
  • Network latency
  • Packet loss rate

Requirements

@robertpainsi
robertpainsi / commit-message-guidelines.md
Last active July 1, 2026 11:03
Commit message guidelines

Commit Message Guidelines

Short (72 chars or less) summary

More detailed explanatory text. Wrap it to 72 characters. The blank
line separating the summary from the body is critical (unless you omit
the body entirely).

Write your commit message in the imperative: "Fix bug" and not "Fixed
bug" or "Fixes bug." This convention matches up with commit messages
@thomasst
thomasst / migrate-redis.py
Created May 14, 2015 18:26
Migrate Redis data on Amazon ElastiCache
"""
Copies all keys from the source Redis host to the destination Redis host.
Useful to migrate Redis instances where commands like SLAVEOF and MIGRATE are
restricted (e.g. on Amazon ElastiCache).
The script scans through the keyspace of the given database number and uses
a pipeline of DUMP and RESTORE commands to migrate the keys.
Requires Redis 2.8.0 or higher.