- Space Mono (my favorite one)
- Fira Code (my second favorite one π)
- MonoLisa
- Inconsolata
- Apercu Mono
- Input Mono
- Gintronic
- Operator Mono
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 { Client } from 'pg'; | |
import { PineconeClient } from '@pinecone-database/pinecone'; | |
import Replicate from 'replicate'; | |
// Initialize clients | |
const neonClient = new Client({ | |
connectionString: 'your_neon_connection_string' | |
}); | |
const pinecone = new PineconeClient(); |
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 { useEffect } from "react"; | |
import { Detail, open } from "@raycast/api"; | |
import { useExec } from "@raycast/utils"; | |
import Papa from "papaparse"; | |
type Row = { | |
// "On my way!" | |
ZPHRASE: string; | |
// omw | |
ZSHORTCUT: string; |
Apple's iCloud isn't able to sync the Finder preferences. However, you can copy/paste the following two plist files to your new Mac.
Copy the following two files to your other Mac computer
~/Library/Preferences/com.apple.dock.plist
~/Library/Preferences/com.apple.finder.plist
TL;DR: require
breaks one of the fundamental rules of robust software systems, fail early.
In a nutshell, this is because, when using require
, your code might yield different, erroneous results without signalling an error. This is rare, but not hypothetical! Note that require
returns the boolean TRUE
if the package is successfully loaded, and FALSE
if it is not.
On the other hand, require
does install the package if it hasnβt been installed (whereas library
doesnβt).
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
echo "\n# Allow unmatched wildcard expressions in zsh\nsetopt NO_NOMATCH" >> ~/.zshrc |
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
# create a data frame | |
user_df <- data.frame( | |
name = c("Alice", "Bob", "Charlie", "Dave"), | |
age = c(25, 32, 47, 19), | |
city = c("New York", "San Francisco", "Los Angeles", "Chicago"), | |
stringsAsFactors = FALSE | |
) | |
# view the data frame | |
user_df |
NewerOlder