Skip to content

Instantly share code, notes, and snippets.

View musaubrian's full-sized avatar
:shipit:

Ernest musaubrian

:shipit:
View GitHub Profile
// install nodemailer and its type definitions
import { z } from 'zod'
import nodemailer from 'nodemailer'
const emailPayload = z.object({
to: z.string(),
subject: z.string(),
message: z.string(),
})
<template>
<div class="space-y-4">
<BasePageHeader page-title="My Trips" />
<h1>Trip page</h1>
<div id="tripMap" class="w-full h-[90dvh] rounded" />
</div>
</template>
<script setup lang="ts">
import type {
@musaubrian
musaubrian / install_spotify_adblock.sh
Last active February 14, 2023 16:08
bash script to install spotify adblocker by [github.com/abba23]
#!/usr/bin/env bash
# this script makes use of flatpak, ensure that is installed
# Or to not use flatpacks, check out the instructions from the repo just below
git clone https://github.com/abba23/spotify-adblock.git
cd spotify-adblock
make