Skip to content

Instantly share code, notes, and snippets.

@nickdirienzo
nickdirienzo / bridge.py
Created February 15, 2026 22:02
Slack @-mention to ntfy.sh
import logging
import os
import threading
import time
import requests
from slack_bolt import App
from slack_bolt.adapter.socket_mode import SocketModeHandler
logging.basicConfig(
import { drizzle } from "drizzle-orm/postgres-js";
import postgres from "postgres";
import * as schema from "./schema";
/** Internally create the Drizzle client. **/
const makeDB = (databaseUrl: string) => {
const db = postgres(databaseUrl);
const client = drizzle(db, { schema });
return { client, db };
};
@nickdirienzo
nickdirienzo / keybase.md
Created October 12, 2016 18:30
keybase.md

Keybase proof

I hereby claim:

  • I am nickdirienzo on github.
  • I am nvd (https://keybase.io/nvd) on keybase.
  • I have a public key whose fingerprint is 4694 2F17 A381 78A7 8AFB 9200 F3B3 B5A0 751C C43B

To claim this, I am signing this object:

@nickdirienzo
nickdirienzo / findingnemo.py
Last active December 12, 2015 07:28
The #NEMO snowstorm is a-brewin'!
import tweepy
import time
import random
import config
auth = tweepy.auth.OAuthHandler(config.consumer_key, config.consumer_secret)
auth.set_access_token(config.access_token, config.access_secret)
api = tweepy.API(auth)