Skip to content

Instantly share code, notes, and snippets.

View 03balogun's full-sized avatar

Balogun Wahab 03balogun

View GitHub Profile
@03balogun
03balogun / copy_redis_key.sh
Created June 3, 2022 18:09 — forked from ZwodahS/copy_redis_key.sh
copy a redis db key to another place (use MIGRATE COPY for v3.0<= redis)
#!/bin/bash
# source http://stackoverflow.com/questions/23222616/copy-all-keys-from-one-db-to-another-in-redis
#set connection data accordingly
source_host=localhost
source_port=6379
source_db=1
target_host=localhost
target_port=6379
target_db=2
@03balogun
03balogun / increase_root_fedora.md
Created September 26, 2019 16:54 — forked from 181192/increase_root_fedora.md
How to increase the root partition size on Fedora

How to increase the root partition size on Fedora

Boot up with an Fedora Live USB stick.

  1. Run vgs to check if there's any space:
$ sudo vgs
  VG     #PV #LV #SN Attr   VSize    VFree
  fedora   1   3   0 wz--n- <237.28g    0