Skip to content

Instantly share code, notes, and snippets.

View tarekrached's full-sized avatar

Tarek Rached tarekrached

View GitHub Profile
@tarekrached
tarekrached / index.html
Last active April 4, 2018 21:35
walkme-bug-repro
This file has been truncated, but you can view the full file.
<!DOCTYPE html>
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta charset="utf-8">
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<meta name="generator" content="pandoc" />
@tarekrached
tarekrached / migrate-redis.py
Created September 5, 2017 21:01 — forked from thomasst/migrate-redis.py
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.
@tarekrached
tarekrached / .block
Created July 31, 2017 21:54 — forked from mbostock/.block
Circle Wave
license: gpl-3.0
border: no
@tarekrached
tarekrached / .block
Last active September 10, 2016 02:22 — forked from mbostock/.block
Projection Transitions
license: gpl-3.0
@tarekrached
tarekrached / .block
Created September 9, 2016 17:55 — forked from mbostock/.block
Choropleth
license: gpl-3.0
height: 600
border: no

Keybase proof

I hereby claim:

  • I am tarekrached on github.
  • I am tarekrached (https://keybase.io/tarekrached) on keybase.
  • I have a public key ASBH1dxS-qobyJpXVDPjYdHT-asQ8izLqpl3cTAe_CXdPAo

To claim this, I am signing this object:

@tarekrached
tarekrached / d3.json
Created October 14, 2015 05:37 — forked from emeeks/d3.json
Orbital Layout of D3.js API
{
"name": "d3",
"children": [
{"name": "version"},
{"name": "ascending"},
{"name": "descending"},
{"name": "min"},
{"name": "max"},
{"name": "extent"},
{"name": "sum"},
body {
font-family: sans-serif;
}
.segments polygon {
shape-rendering: geometricPrecision;
}
.segments path {
fill-opacity: 0.8;
}
@tarekrached
tarekrached / index.html
Last active August 29, 2015 14:20 — forked from kosamari/index.html
<!DOCTYPE html>
<html>
<head>
<script src="http://d3js.org/d3.v3.min.js"></script>
<style type="text/css">
path.overlay {
fill: orange;
}
path.base{
fill: #f3f3f3;
@tarekrached
tarekrached / README.md
Created November 30, 2012 17:40 — forked from mbostock/.block
Calendar View

This example demonstrates loading of CSV data, which is then quantized into a diverging color scale. The values are visualized as colored cells per day. Days are arranged into columns by week, then grouped by month and years. Colors by Cynthia Brewer. Layout inspired by Rick Wicklin and Robert Allison. Dow Jones historical data copyright Yahoo! Finance or independent data provider; fair use for educational purposes.