Skip to content

Instantly share code, notes, and snippets.


Trey Piepmeier trey

View GitHub Profile
biosmanager / userChrome.css
Last active Jan 16, 2023
Firefox Proton macOS Close Tab Left
View userChrome.css
@namespace url("");
.tabbrowser-tab .tab-close-button {
opacity: 0;
margin-left: -4.5px !important;
margin-right: 2px !important;
.tabbrowser-tab:not(:hover) .tab-close-button {
shauninman / custom.css
Created Dec 14, 2020
white out promoted tweets on
View custom.css
/* bye-bye brands */
div[aria-label~="Timeline"] div[role="group"]+div{background-color:white;position:absolute !important;top:-24px !important;left:-64px !important;margin-top:0 !important;width:calc(100% + 64px);height:calc(100% + 24px);}
div[aria-label~="Timeline"] div[role="group"]+div *{display:none !important;}
scottjehl / whichones.js
Created Aug 21, 2020
which elements are wider than the viewport?
View whichones.js
var list = [];
document.querySelectorAll("body *")
if(elem.getBoundingClientRect().width > document.body.getBoundingClientRect().width){
list.push(elem.outerHTML.split('>')[0] + '>');
confirm( "these elements are wider than the viewport:\n\n " + list.join("\n") )
tatianamac /
Last active Nov 23, 2022
Tatiana Mac's Speaker Rider

Speaker Rider

by Tatiana Mac

Last updated 14 April 2021

What is a speaker rider?

As speaking comes with immense privilege, I have crafted a speaker rider to set expectations and boundaries around my engagement. I am grateful to all the conference organisers who have brilliantly hosted me. I would love to continue to exercise this privilege to speak at conferences, and use this privilege to make the landscape more accessible and beneficial to tech's most historically excluded and marginalised communities.


😫 I provide a lot of explanations for those of you who never had to consider these things. Most thoughtful conferences I've attended check most of these boxes intrinsically, particularly when conference runners are experienced speakers. They get it.

liamfiddler / style.11ty.js
Last active Apr 7, 2022
Simple SCSS pipeline for 11ty
View style.11ty.js
const util = require('util');
const sass = require('sass'); // `npm i -D sass`
const renderSass = util.promisify(sass.render);
const inputFile = '_includes/style.scss'; // the path to your main SCSS file
const outputFile = 'style.css'; // the filename you want this template to be saved as
module.exports = class {
data() {
return {
permalink: outputFile,
beep / ublock-twitterneue.txt
Last active Aug 11, 2021
uBlock Origin rules for new twitter website
View ublock-twitterneue.txt
# Block Twitter’s new web font
# hides engage-y modules from the rightmost sidebar[data-testid="sidebarColumn"] div[aria-label][data-testid="sidebarColumn"] div:has(> aside[aria-label])
# hides promoted tweets
bradtraversy /
Last active Jan 29, 2023
Docker Compose FIle For Wordpress, MySQL & phpmyadmin

Wordpress & Docker

This file will setup Wordpress, MySQL & PHPMyAdmin with a single command. Add the code below to a file called "docker-compose.yaml" and run the command

$ docker-compose up -d

# To Tear Down
$ docker-compose down --volumes
timvisee /
Last active Feb 1, 2023
Falsehoods programmers believe about time, in a single list

Falsehoods programmers believe about time

This is a compiled list of falsehoods programmers tend to believe about working with time.

Don't re-invent a date time library yourself. If you think you understand everything about time, you're probably doing it wrong.


  • There are always 24 hours in a day.
  • February is always 28 days long.
  • Any 24-hour period will always begin and end in the same day (or week, or month).
pierrejoubert73 /
Last active Feb 1, 2023
How to add a collapsible section in markdown.

How to

  <summary>Click me</summary>
  ### Heading
  1. Foo
  2. Bar
     * Baz
 * Qux