Skip to content

Instantly share code, notes, and snippets.

View scottzach1's full-sized avatar
💭
🐧

Zac Scott scottzach1

💭
🐧
View GitHub Profile
@scottzach1
scottzach1 / d3v7-mouse-over-line.ts
Last active September 11, 2021 23:20 — forked from martinnormark/d3-mouse-over-line.js
Adding a vertical line to a D3v7 chart, that follows the mouse pointer.
const vertical = d3.select(".chart")
.append("div")
.attr("class", "remove")
.style("position", "absolute")
.style("z-index", "19")
.style("width", "1px")
.style("height", "100%")
.style("top", "0px")
.style("left", "0px")
.style("background", "#000000");
@scottzach1
scottzach1 / config.rasi
Last active July 28, 2020 00:46 — forked from EgZvor/config.rasi
Dracula theme for rofi (put in ~/.config/rasi)
// Dracula colors Credit: https://gist.github.com/EgZvor
* {
background: rgba ( 40, 42, 54, 100 % );
current-line: rgba ( 68, 71, 90, 100 % );
selection: rgba ( 68, 71, 90, 100 % );
foreground: rgba ( 248, 248, 242, 100 % );
comment: rgba ( 98, 114, 164, 100 % );
cyan: rgba ( 139, 233, 253, 100 % );
green: rgba ( 80, 250, 123, 100 % );
orange: rgba ( 255, 184, 108, 100 % );