# https://yurisk.info/2023/03/28/mdfind-macos-examples-cheat-sheet
# Find files where filename includes string (case-insensitive)
mdfind -name ...
# Find folders where name includes string (case-insensitive)
mdfind -name ... kind:folder
# See where an alias was defined
This file contains 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
export default [ | |
"Reticulating splines...", | |
"Generating witty dialog...", | |
"Swapping time and space...", | |
"Spinning violently around the y-axis...", | |
"Tokenizing real life...", | |
"Bending the spoon...", | |
"Filtering morale...", | |
"Don't think of purple hippos...", | |
"We need a new fuse...", |
This file contains 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
function prettyFormat(str) { | |
return str.split(/(?=[A-Z])/) | |
.map(function(word) { | |
return word.charAt(0).toUpperCase() + word.slice(1); | |
}) | |
.join(' '); | |
} |
This file contains 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 { cache } from 'react'; | |
export const getBaseUrl = cache(() => | |
process.env.VERCEL_URL | |
? `https://app-dir.vercel.app` | |
: `http://localhost:${process.env.PORT ?? 3000}`, | |
); |
This file contains 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 { cache } from 'react'; | |
export const getBaseUrl = cache(() => | |
process.env.VERCEL_URL | |
? `https://app-dir.vercel.app` | |
: `http://localhost:${process.env.PORT ?? 3000}`, | |
); |
This file contains 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
Windows 10 | |
Select the Start button and scroll to find the app you want to run at startup. | |
Right-click the app, select More, and then select Open file location. This opens the location where the shortcut to the app is saved. If there isn't an option for Open file location, it means the app can't run at startup. | |
With the file location open, press the Windows logo key + R, type shell:startup, then select OK. This opens the Startup folder. | |
Copy and paste the shortcut to the app from the file location to the Startup folder. |
This file contains 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
<?php | |
// Copyright (c) 2005, Lacy Morrow | |
// All rights reserved. | |
// ******************Text-Image PHP Script*********************** | |
// Uses an uploaded font to change text into an image. Multiple options. | |
// USE: | |
// ONLY SUPPORTS .ttf fonts | |
// Use the format "http://www.yourdomain.com/text.php?s=11&text=hello&font=TIMES" |
This file contains 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
{ | |
"$schema": "https://raw.githubusercontent.com/jsonresume/resume-schema/v1.0.0/schema.json", | |
"meta": { | |
"theme": "kendall", | |
"version": "v1.0.0", | |
"canonical": "https://github.com/jsonresume/resume-schema/blob/v1.0.0/schema.json" | |
}, | |
"basics": { | |
"name": "Lacy Morrow", | |
"label": "Senior Web Engineer", |
This file contains 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
// Run `openssl rand -base64 32` or https://generate-secret.vercel.app/32 to generate a secret |
NewerOlder