Skip to content

Instantly share code, notes, and snippets.

@pkerpedjiev
pkerpedjiev / list.md
Last active May 25, 2018 15:30 — forked from notwaldorf/list.md
Meownica's packing list

Pete's packing list

Forked from: Meownica's packing list

I travel a lot so I'm down to like 30 minutes of packing per any kind of trip. I always bring one carry-on suitcase for any trips up to 2 weeks (that I never check in unless forced) -- I have an Away suitcase because it's got a built-in (removable) battery, and amazing wheels.

🚨

  • 🆔Wallet & Passport
  • 💧Travel water bottle
  • 💳Travel credit cards (don't pay foreign currency fees!)
@pkerpedjiev
pkerpedjiev / .block
Last active May 3, 2017 16:02 — forked from mbostock/.block
SVG Geometric Zooming
license: gpl-3.0
@pkerpedjiev
pkerpedjiev / .block
Last active May 3, 2017 16:03 — forked from mbostock/.block
Canvas Geometric Zooming
license: gpl-3.0
[
{
"url": "http://higlass.io/app/?config=L4nKi6eGSzWOpi-rU2DAMA",
"title": "Epilogos",
"description": "The epilogos track type (https://epilogos.altiusinstitute.org/) shows an overview of the epigenetic states found along the genome.",
"category": "Useful view configurations",
"image": "https://user-images.githubusercontent.com/2143629/42416058-b698b002-8232-11e8-9952-b43108cfdbd2.png",
"columns": 2,
"locations": ["chr3:180,376,342-180,443,561 & chr3:180,405,434-180,415,676 [offset 0,0:0,0]"]
},
@pkerpedjiev
pkerpedjiev / d3.svg.circularbrush.js
Last active August 29, 2015 14:27 — forked from emeeks/d3.svg.circularbrush.js
Circular Brush 2
d3.svg.circularbrush = function() {
var _extent = [0,Math.PI * 2];
var _circularbrushDispatch = d3.dispatch('brushstart', 'brushend', 'brush');
var _arc = d3.svg.arc().innerRadius(50).outerRadius(100);
var _brushData = [
{startAngle: _extent[0], endAngle: _extent[1], class: "extent"},
{startAngle: _extent[0] - .2, endAngle: _extent[0], class: "resize e"},
{startAngle: _extent[1], endAngle: _extent[1] + .2, class: "resize w"}
];
var _newBrushData = [];