Skip to content

Instantly share code, notes, and snippets.

View philipefarias's full-sized avatar

Philipe Farias philipefarias

  • Belo Horizonte, MG, Brazil
  • 08:13 (UTC -03:00)
View GitHub Profile
@philipefarias
philipefarias / redis_migrate.py
Last active August 5, 2022 20:32 — forked from josegonzalez/redis_migrate.py
A simple script to migrate all keys from one Redis to another
#!/usr/bin/env python
import argparse
import redis
def connect_redis(conn_string):
conn = redis.StrictRedis(conn_string)
return conn
@philipefarias
philipefarias / 0_reuse_code.js
Created December 16, 2015 16:57
Here are some things you can do with Gists in GistBox.
// Use Gists to store code you would like to remember later on
console.log(window); // log the "window" object to the console