View starship.toml
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# https://starship.rs/config/ | |
# I live in `~/.config/starship.toml`. | |
[docker_context] | |
disabled = true | |
[package] | |
disabled = true | |
[nodejs] |
View alpine.html
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<!-- | |
https://alpinejs.dev/directives/on#prevent | |
https://github.com/alpinejs/alpine/issues/150#issuecomment-580452229 | |
--> | |
<form x-data action="/something" @submit.prevent="if (confirm('Are you sure?')) $el.submit()" method="post"> | |
<button aria-label="Delete this">[some icon]</button> | |
</form> |
View starship.toml
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# https://starship.rs/config/ | |
# I live in `~/.config/starship.toml`. | |
add_newline = false | |
[line_break] | |
disabled = true | |
[git_branch] | |
# Remove the default `on` before the branch name. |
View markdown-autocomplete.js
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
const $textarea = $('textarea'); | |
const ulRegex = /^- .+/; | |
const olRegex = /^\d+\. .+/; | |
const olNumberRegex = /^\d+/; | |
const emptyLiRegex = /^(-|(\d+\.)) $/; | |
const emptyOlLiRegex = /^\d+\. $/; | |
$textarea.on('keyup', e => { | |
const $this = $(e.target); |
View Safari.css
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
/* bye-bye brands */ | |
/* https://twitter.com/shauninman/status/1338535791643996160 */ | |
div[aria-label~="Timeline"] div[role="group"] + div { | |
background-color: black; | |
position: absolute !important; | |
top: -24px !important; | |
left: -64px !important; | |
margin-top: 0 !important; | |
width: calc(100% + 64px); | |
height: calc(100% + 24px); |
View remove-tumblr-cruft.css
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
.tmblr-iframe—app-cta-button { | |
display: none !important; | |
} |
View LICENSE
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
ANTI-CAPITALIST SOFTWARE LICENSE (v 1.4) | |
Copyright © 2020 Arthur L. Piepmeier III @trey | |
This is anti-capitalist software, released for free use by individuals and | |
organizations that do not operate by capitalist principles. | |
Permission is hereby granted, free of charge, to any person or organization | |
(the "User") obtaining a copy of this software and associated documentation | |
files (the "Software"), to use, copy, modify, merge, distribute, and/or sell |
View .eleventy.js
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
const responsiveImage = require('./src/_includes/shortcodes/responsive-image'); | |
const exifData = require('./src/_includes/shortcodes/exif-data'); | |
// … | |
module.exports = function(eleventyConfig) { | |
// … | |
eleventyConfig.addShortcode('responsiveImage', responsiveImage); |
View atcq-samples.md
A Tribe Called Quest Samples
All of ATCQ samples that I could gather on Spotify (the majority of The Love Movement was missing with the exception of a few obscure drums, but decided to skip over it all together).
See this Gist for how to generate a list like this.
NewerOlder