Skip to content

Instantly share code, notes, and snippets.

View tankred's full-sized avatar
💭
#gitmerge

Tankred tankred

💭
#gitmerge
View GitHub Profile
@tankred
tankred / table-01.json
Last active March 5, 2024 15:52
vega-bar
{
"$schema": "https://vega.github.io/schema/vega/v5.json",
"width": 400,
"height": 200,
"padding": 5,
"data": [
{
"name": "table",
"values": [
@tankred
tankred / Nine-Colors.markdown
Last active February 13, 2024 08:05
Nine-Colors
@tankred
tankred / The-perfect-hyperlink.markdown
Last active February 13, 2024 08:05
The-perfect-hyperlink
@tankred
tankred / gEdab.markdown
Last active February 13, 2024 08:05
Two Black Lines
@tankred
tankred / browserleaks.markdown
Created November 28, 2014 21:23
browserleaks
@tankred
tankred / Untitled - Alexander Calder.markdown
Last active February 13, 2024 08:04
Alexander Calder
@tankred
tankred / pre-commit
Last active February 13, 2024 08:04
Standard JS validation git hook
#!/bin/sh
STAGED_FILES=$(git diff --cached --name-only --diff-filter=ACM | grep ".js\{0,1\}$")
ESLINT="standard"
if [[ "$STAGED_FILES" = "" ]]; then
exit 0
fi
PASS=true
@tankred
tankred / details-summary.html
Created May 7, 2019 20:17
details and summary
<!DOCTYPE html>
<html>
<body>
<details>
<summary>Head or summary</summary>
<p>details in detail p1.</p>
<p>details in detail p2.</p>
</details>
how to turn off all at once ?
Go to https://twitter.com/following, and keep scrolling down until you’ve loaded everyone you follow. (If you follow over a thousand people, this will take a few minutes.)
https://lifehacker.com/how-to-disable-all-retweets-on-twitter-1823550038
run this in dev console!
a=Array.prototype.slice.call(document.querySelectorAll("div.ProfileCard-content div.dropdown"));a.forEach(function(e) {e.querySelector("button").click(); e.querySelector("li.retweet-off-text button").click(); })
https://www.techwalla.com/articles/how-to-send-a-dm-blast-on-twitter
@tankred
tankred / index.html
Last active February 13, 2024 08:03
html skeleton
<!DOCTYPE html>
<html>
<head>
<meta charset="utf-8">
<meta name="viewport" content="width=device-width">
<title>JS Bin</title>
</head>
<body>
hello world!
JS Bin// source https://jsbin.com/lejagev