Skip to content

Instantly share code, notes, and snippets.

@tdnvl
tdnvl / mastodon-chrome-style-override.css
Created November 22, 2022 21:12
A browser override to style notifications ("direct" messages, follows, etc.)
.status-direct {
background-color: #fbfbd2;
}
.notification-follow {
background-color: #eeffee;
}
@tdnvl
tdnvl / thread.json
Created October 31, 2020 11:24
Example JSON file for Twitter Thread Scheduler
{
"start": "2019-09-14T20:00:00",
"tweets": [{
"text": "Something"
},
{
"text": "Something",
"offset": 60
},
{

(No sugar added) Strawberry Almond cake

Ingredients

  • 3 eggs
  • 2/3 cup of apple sauce
  • 2 cups of flour
  • 1 cup of almond flour
  • 1/3 cup of milk (coul be almond, soy, oats, etc.)
  • 2 tsp of baking powder
  • 1 tsp of baking soda
  • 1 pich of salt
@tdnvl
tdnvl / vegan-zucchini-fritters.md
Last active July 5, 2020 02:05
A vegan zucchini fritters recipe that I modified a bit.

Vegan zucchini fritters

The recipe that I started with is here: https://lovingitvegan.com/vegan-zucchini-fritters/

Here's my version:

Ingredients

  • 2 green zucchini, peeled, shredded
  • 1 teaspoon of salt
  • 3/4 cup of all-purpose flour
  • 1 1/2 teaspoon of baking powder
  • 1/4 cup of nutritional yeast
@tdnvl
tdnvl / iron-maiden-gpt-2.txt
Created January 14, 2020 20:46
Iron Maiden lyrics, by GTP-2
Hi there 'til you see the prey for what it is!
The Old World's Finest
The New World's Finest
The Black Plague Dead End
'Cause you were young when you lived through the
Screams of evil spirits all around you
In the streets you would see bloody 'til you bleed
The smell of doom and phantasm waves
Excitement shakes me a little bit when I see the undead laughing
@tdnvl
tdnvl / keybase.md
Created September 13, 2019 17:33
Verifying my GitHub identity for Keybase

Keybase proof

I hereby claim:

  • I am tdnvl on github.
  • I am tdnvl (https://keybase.io/tdnvl) on keybase.
  • I have a public key whose fingerprint is A043 3A2F CA74 0624 2C35 3507 1367 C601 9E8B 731F

To claim this, I am signing this object:

/*
* Project: IoT Plant
* Description: A moisture sensor reads the moisture in the flower pot. If it's too dry, it tweets.
* Author: @tdnvl
* Date: 2017-05-20
*/
int moisturePin = A0;
int led1 = D7;
@tdnvl
tdnvl / moisture-sensor-with-low-power
Created May 16, 2017 03:40
Code for the Phantom YoYo High Sensitivity Moisture Sensor with Low Power library (Arduino)
// Low Power library
#include "LowPower.h"
int moisturePin = A0;
void setup() {
// initialize serial communication at 9600 bits per second:
Serial.begin(9600);
}
<meta property="og:url" content="http://mysite.com/blog/first-post.html" />
<meta property="og:type" content="article" />
<meta property="og:title" content="This is my first post's title" />
<meta property="og:description" content="I just started a blog! This is my first post and I can't wait to share it with you" />
<meta property="og:image" content="http://mysite.com/example.jpg" />
<meta name="description" content="This website is about stuff.">
<meta name="keywords" content="stuff,music,kittens">
<meta name="author" content="Charles Bukowski">