| Type | Emoji | code |
|---|---|---|
| feat | ✨ | :sparkles: |
| fix | 🐛 | :bug: |
| docs | 📚 | :books: |
| style | 💎 | :gem: |
| refactor | 🔨 | :hammer: |
| perf | 🚀 | :rocket: |
| test | 🚨 | :rotating_light: |
| build | 📦 | :package: |
This file contains hidden or 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
| import type { Prisma } from "@prisma/client" | |
| import { redis } from "../redis" | |
| type CacheMiddlewareOptions = { | |
| model: Prisma.ModelName | |
| action: Prisma.PrismaAction | |
| keys?: string[] | |
| defaultValues?: Record<string, unknown> | |
| ttlInSeconds: number | |
| } |
This file contains hidden or 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 text = css({ | |
| color: '$gray12', | |
| variants: { | |
| size: { | |
| // corrective letter-spacing and text-indent styles | |
| // should go here too, because they're determined by font-size. | |
| // You could also put line-height here too, if your devs prefer | |
| // a default line-height that works in some cases. But understand | |
| // that line-height is also a function of line-length, so the |
This file contains hidden or 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
| import { styled } from "@stitches/react" | |
| const Stack = styled("div", { | |
| display: "flex", | |
| variants: { | |
| dir: { | |
| col: { flexDirection: "column" }, | |
| row: { flexDirection: "row" }, | |
| }, |
This file contains hidden or 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
| { | |
| "align-content": { | |
| "moz": false, | |
| "webkit": true, | |
| "syntax": "(stretch)|(center)|(flex-start)|(flex-end)|(space-between)|(space-around)|(initial)|(inherit)", | |
| "initial": "stretch", | |
| "values": [ | |
| "stretch", | |
| "center", | |
| "flex-start", |
This file contains hidden or 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
| // @ts-check | |
| "use strict" | |
| /** | |
| * Set up datadog tracing. This should be called first, so Datadog can hook | |
| * all the other dependencies like `http`. | |
| */ | |
| function setUpDatadogTracing() { | |
| const { tracer: Tracer } = require('dd-trace') | |
| const tracer = Tracer.init({ |
- Open Automator.app
- Create new Quick Action
- Select Run AppleScript
- Add this:
set inputVolume to input volume of (get volume settings)
if inputVolume = 0 then
set inputVolume to 100
display notification "Volume set to 100" with title "✅ Microphone is on"
OlderNewer